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
[ 36%] Building CXX object src/rl/sg/CMakeFiles/sg.dir/solid/Scene.cpp.o
[ 36%] Building CXX object src/rl/sg/CMakeFiles/sg.dir/solid/Shape.cpp.o
[ 36%] Linking CXX shared library ../../../lib/librlsg.so
/usr/bin/ld: /usr/local/lib/libBulletCollision.a(btDbvtBroadphase.o): relocation R_X86_64_32S against `_ZTV16btDbvtBroadphase' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libBulletCollision.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/rl/sg/CMakeFiles/sg.dir/build.make:686: recipe for target 'lib/librlsg.so.0.7.0' failed
make[2]: *** [lib/librlsg.so.0.7.0] Error 1
CMakeFiles/Makefile2:1478: recipe for target 'src/rl/sg/CMakeFiles/sg.dir/all' failed
make[1]: *** [src/rl/sg/CMakeFiles/sg.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
OS:ubuntu 16.04
The text was updated successfully, but these errors were encountered:
It seems you're linking against a static version of the Bullet library that is missing the -fPIC option. You can recompile Bullet with this option or build a shared version of Bullet instead. On Ubuntu, you can also install Bullet via the libbullet-dev package.
There was an error when comiling rl-master:
[ 36%] Building CXX object src/rl/sg/CMakeFiles/sg.dir/solid/Scene.cpp.o
[ 36%] Building CXX object src/rl/sg/CMakeFiles/sg.dir/solid/Shape.cpp.o
[ 36%] Linking CXX shared library ../../../lib/librlsg.so
/usr/bin/ld: /usr/local/lib/libBulletCollision.a(btDbvtBroadphase.o): relocation R_X86_64_32S against `_ZTV16btDbvtBroadphase' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libBulletCollision.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/rl/sg/CMakeFiles/sg.dir/build.make:686: recipe for target 'lib/librlsg.so.0.7.0' failed
make[2]: *** [lib/librlsg.so.0.7.0] Error 1
CMakeFiles/Makefile2:1478: recipe for target 'src/rl/sg/CMakeFiles/sg.dir/all' failed
make[1]: *** [src/rl/sg/CMakeFiles/sg.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
OS:ubuntu 16.04
The text was updated successfully, but these errors were encountered: