We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
run cmake
install.sh
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX="${SDSL_INSTALL_PREFIX}" .. # run cmake
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hey,
I had trouble linking the SDSL library to one of my problems and got the following error message:
I fixed it by changing the
run cmake
command ininstall.sh
(here) to the following line with the additional-DCMAKE_POSITION_INDEPENDENT_CODE=ON
flag:The text was updated successfully, but these errors were encountered: