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
cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/takotakot/dlib_install/ -DBUILD_SHARED_LIBS=ON ..
make
make install
gazr with:
dlib_DIR=/home/takotakot/dlib_install/ cmake .. -DWITH_ROS=false
make
And get
/usr/bin/ld: /home/tako/dlib_install/lib/libdlib.a(base64_kernel_1.cpp.o): relocation R_X86_64_32S against `_ZTVN4dlib6base64E' can not be used when making a shared object; recompile with -fPIC
When I changed /home/takotakot/dlib_install/lib/libdlib.a to /home/takotakot/dlib_install/lib/libdlib.so manually, I could comiple libgazr.so .
Is this a gazr or cmake (or other tools) problem? If it could be fixed with changing some cmake configuration of gazr, I want to fix. But I'm sorry that I don't familiar with cmake.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I encountered a compilation (link) problem with x86_64 environment:
I built dlib with:
gazr with:
And get
The content of
CMakeFiles/gazr.dir/link.txt
isWhen I changed
/home/takotakot/dlib_install/lib/libdlib.a
to/home/takotakot/dlib_install/lib/libdlib.so
manually, I could comiple libgazr.so .Is this a gazr or cmake (or other tools) problem? If it could be fixed with changing some cmake configuration of gazr, I want to fix. But I'm sorry that I don't familiar with cmake.
Thanks
The text was updated successfully, but these errors were encountered: