-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
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
Adding python.h library #31
Comments
You will need link any external dependencies directly to your core submission library. The only library that NIST will link against is your core submission library (i.e. libfrvt11_xxx_xxx.so). Additionally, you will need to provide all Python dependencies in your submission package to us. |
Could you please guide me to link the dependencies to my core submission library? |
Looking for core implementation library in /home/akshirsagar/frvt-biocube/11/lib.[SUCCESS] Found core implementation library /home/akshirsagar/frvt-biocube/11/lib/libfrvt_11_biocube_001.so. I am getting this error, I have tried find_package(Python3 COMPONENTS Interpreter Development) from 11/CmakeLists.txt but still I am getting this error. Where shall I link the Python library to my submission library? |
You can't assume that python3 will be installed on our systems, because it is not. You will need to place all of your python dependencies (e.g., libpython3.6m.so) into your ./lib folder and link against them when you build YOUR shared library. You can use rpath=$ORIGIN, but you need to link your submission library against any 3rd party libraries that are required. For example, in your CMakeLists.txt: set (CMAKE_SHARED_LINKER_FLAGS "-Wl,-rpath,$ORIGIN") |
While compiling code using g++, one needs to specify the library as -lpython3.6m. When I was trying to build a submission package, I got errors of undefined reference to python header files, a solution to it is to add -lpython3.6m option. Where shall I make changes to solve this issue? I want to submit our code for FVT 1:1.
The text was updated successfully, but these errors were encountered: