geek-ai / MAgent

A Platform for Many-Agent Reinforcement Learning
MIT License
1.68k stars 332 forks source link

ld: library not found for -lSystem #95

Open LuckyLeeLL opened 1 year ago

LuckyLeeLL commented 1 year ago

when i run bash build.sh on MAC, i getting this error :

[ 6%] Linking CXX shared library libmagent.dylib [ 6%] Linking CXX executable testlib [ 9%] Linking CXX executable render/render ld: library not found for -lSystem ld: library not found for -lSystem ld: library not found for -lSystem clang-14clang-14: clang-14: : error: error: error: linker command failed with exit code 1 (use -v to see invocation) linker command failed with exit code 1 (use -v to see invocation)linker command failed with exit code 1 (use -v to see invocation)

What can I do to solve this problem?

-Version list cmake version 3.23.2 llvm version 14.0.6_1 boost version 1.79.0_1 jsoncpp version 1.9.5 websocketpp version 0.8.2