Open
Description
Hey,
I had trouble linking the SDSL library to one of my problems and got the following error message:
can not be used when making a shared object; recompile with -fPIC
I fixed it by changing the run cmake
command in install.sh
(here) to the following line with the additional -DCMAKE_POSITION_INDEPENDENT_CODE=ON
flag:
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX="${SDSL_INSTALL_PREFIX}" .. # run cmake
Metadata
Metadata
Assignees
Labels
No labels