Closed jaunruh closed 5 years ago
The error can be found in the ~/Library/Logs/Homebrew/rl/02.make
log file:
[ 33%] Linking CXX shared library librlsg.dylib
Undefined symbols for architecture x86_64:
"_ccdFirstDirDefault", referenced from:
ccdCollide(dxGeom*, dxGeom*, int, dContactGeom*, int, void*, void (*)(void const*, _ccd_vec3_t const*, _ccd_vec3_t*), void (*)(void const*, _ccd_vec3_t*), void*, void (*)(void const*, _ccd_vec3_t const*, _ccd_vec3_t*), void (*)(void const*, _ccd_vec3_t*)) in libode.a(collision_libccd.o)
"_ccdMPRIntersect", referenced from:
ccdCollide(dxGeom*, dxGeom*, int, dContactGeom*, int, void*, void (*)(void const*, _ccd_vec3_t const*, _ccd_vec3_t*), void (*)(void const*, _ccd_vec3_t*), void*, void (*)(void const*, _ccd_vec3_t const*, _ccd_vec3_t*), void (*)(void const*, _ccd_vec3_t*)) in libode.a(collision_libccd.o)
"_ccdMPRPenetration", referenced from:
ccdCollide(dxGeom*, dxGeom*, int, dContactGeom*, int, void*, void (*)(void const*, _ccd_vec3_t const*, _ccd_vec3_t*), void (*)(void const*, _ccd_vec3_t*), void*, void (*)(void const*, _ccd_vec3_t const*, _ccd_vec3_t*), void (*)(void const*, _ccd_vec3_t*)) in libode.a(collision_libccd.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/rl/sg/librlsg.0.7.0.dylib] Error 1
make[1]: *** [src/rl/sg/CMakeFiles/sg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Due to commit https://github.com/Homebrew/homebrew-core/commit/04962912b0445b1c4af4f99126aa01aef36f6ce0 (see https://github.com/Homebrew/homebrew-core/pull/24751), ODE is now built with libccd. Version 0.7.0 however only links libccd for FCL. Commit https://github.com/roboticslibrary/rl/commit/2398cea996dce6c54330d6562fa1079daa1a9d4a fixes this.
You can try version 0.7.0 without ODE or use the upstream version:
brew install --HEAD rl
With commit 84485634e53c4f0d4c3f90c1ceba4d977e7a91a4 the default installation should now also work with the ODE package.
When I am trying to install Roboticslibrary via Homebrew on MacOS I get the following console output:
On multiple runs i get similiar but different results:
I also tried to the same on a different Macbook but i am getting the same error. Both Macbooks are running 10.14.2 Mojave.
Anyone able to help?