facebookresearch / darkforestGo

DarkForest, the Facebook Go engine.
Other
2.1k stars 325 forks source link

Errors when trying to compile darkforestGo on MacOS 10.11.6 without CUDA but with torch installed. #14

Open shyamalschandra opened 7 years ago

shyamalschandra commented 7 years ago

ld: unknown option: -export-dynamic clang: error: linker command failed with exit code 1 (use -v to see invocation) ld: unknown option: -export-dynamic clang: error: linker command failed with exit code 1 (use -v to see invocation) ld: unknown option: -export-dynamic clang: error: linker command failed with exit code 1 (use -v to see invocation) ld: unknown option: -export-dynamic clang: error: linker command failed with exit code 1 (use -v to see invocation) ld: unknown option: -export-dynamic clang: error: linker command failed with exit code 1 (use -v to see invocation) ld: unknown option: -export-dynamic clang: error: linker command failed with exit code 1 (use -v to see invocation) Create libplayout_multithread.so clang: error: no such file or directory: 'event_count.o' Create liblocalexchanger.so Undefined symbols for architecture x86_64: "_error", referenced from: _Play in board.o IsSelfAtari in board.o CheckLadderUseSearch(Board, unsigned char, int_, int) in board.o EmptyGroup(Board*, unsigned short) in board.o _find_only_liberty in board.o _find_two_liberties in board.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Compile all test codes clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated clang: error: no such file or directory: 'event_count.o' clang: warning: -O4 is equivalent to -O3 Put all .so file into directory so that lua could load cp: libboard.so: No such file or directory cp: libownermap.so: No such file or directory cp: libpattern_v2.so: No such file or directory cp: libdefault_policy.so: No such file or directory cp: libcomm.so: No such file or directory cp: libcommon.so: No such file or directory cp: libplayout_multithread.so: No such file or directory cp: libmoggy.so: No such file or directory cp: liblocalexchanger.so: No such file or directory

What should I do?