You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to compile on macOS (M2 chip). ./autogen.sh and ./configure commands go well. But when I run make -j2 command, it returns error with these logs:
Making all in .
CXX src/bitsequence/libhdt_la-BitSequence375.lo
CXX src/dictionary/libhdt_la-KyotoDictionary.lo
src/bitsequence/BitSequence375.cpp:160:3: error: no matching function for call to 'bitset'
bitset(&array[0], i);
^~~~~~
src/bitsequence/../util/bitutil.h:74:13: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'uint64_t *' (aka 'unsigned long long *') for 1st argument
inline void bitset(uint64_t * e, size_t p) {
^
src/bitsequence/../util/bitutil.h:91:13: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'uint32_t *' (aka 'unsigned int *') for 1st argument
inline void bitset(uint32_t * e, size_t p) {
^
src/bitsequence/BitSequence375.cpp:162:3: error: no matching function for call to 'bitclean'
bitclean(&array[0], i);
^~~~~~~~
src/bitsequence/../util/bitutil.h:79:13: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'uint64_t *' (aka 'unsigned long long *') for 1st argument
inline void bitclean(uint64_t * e, size_t p) {
^
src/bitsequence/../util/bitutil.h:96:13: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned long *') to 'uint32_t *' (aka 'unsigned int *') for 1st argument
inline void bitclean(uint32_t * e, size_t p) {
^
src/bitsequence/BitSequence375.cpp:176:9: error: no matching function for call to 'bitget'
return bitget(array, i);
^~~~~~
src/bitsequence/../util/bitutil.h:69:13: note: candidate function not viable: no known conversion from 'size_t *const' (aka 'unsigned long *const') to 'uint64_t *' (aka 'unsigned long long *') for 1st argument
inline bool bitget(uint64_t *e, size_t p) {
^
src/bitsequence/../util/bitutil.h:86:13: note: candidate function not viable: no known conversion from 'size_t *const' (aka 'unsigned long *const') to 'uint32_t *' (aka 'unsigned int *') for 1st argument
inline bool bitget(uint32_t *e, size_t p) {
^
3 errors generated.
make[2]: *** [src/bitsequence/libhdt_la-BitSequence375.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Could you help me with this issue?
The text was updated successfully, but these errors were encountered:
I try to compile on macOS (M2 chip).
./autogen.sh
and./configure
commands go well. But when I runmake -j2
command, it returns error with these logs:Could you help me with this issue?
The text was updated successfully, but these errors were encountered: