Closed xiaomi2077 closed 2 years ago
How did you install boost library?
I tried two methods. One is through the brew commandbrew install boost
, and the other is compiled from source
Perhaps there is something wrong with the installation of boost. I don't know which method is better because I'm not familiar with the recent macOS environment.
The option to directly specify the location of boost library file can be found by running ccmake ..
in the build directory.
Please try this, then cmake ..
again.
I successfully built the rcssserver. I searched the CmakeList.txt
files in the project,and replace SHARED
with STATIC
I want to build rcssserve on macos.
Runing
g++ -v
,I get:and I run
cmake ..
,I get:Runing
make
I get:I found the same issue https://github.com/rcsoccersim/rcssserver/issues/93#issuecomment-1203903713 . The solution is to upgrade bison's version. And I run
bison -V
,I get:It seems that upgrading the bison's version does not solve the problem. I suppose the issue here may be
ld: symbol(s) not found for architecture arm64
. If so, how can I resolve it?I tried different versions of boost and rcssserver.