Comments (4)
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.
from frvt.
Could you please guide me to link the dependencies to my core submission library?
from frvt.
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.
Attempting to compile and link /home/akshirsagar/frvt-biocube/11/lib/libfrvt_11_biocube_001.so against test harness.
Scanning dependencies of target validate11
[ 50%] Building CXX object src/testdriver/CMakeFiles/validate11.dir/home/akshirsagar/frvt-biocube/common/src/util/util.cpp.o
[100%] Building CXX object src/testdriver/CMakeFiles/validate11.dir/validate11.cpp.o
Linking CXX executable ../../../bin/validate11
../../../lib/libfrvt_11_biocube_001.so: undefined reference to PyImport_Import' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
PyList_GetItem'
../../../lib/libfrvt_11_biocube_001.so: undefined reference to PyUnicode_DecodeFSDefault' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
PySys_SetPath'
../../../lib/libfrvt_11_biocube_001.so: undefined reference to PyFloat_FromDouble' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
Py_FinalizeEx'
../../../lib/libfrvt_11_biocube_001.so: undefined reference to PyList_Size' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
PyObject_CallObject'
../../../lib/libfrvt_11_biocube_001.so: undefined reference to Py_Initialize' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
PyFloat_AsDouble'
../../../lib/libfrvt_11_biocube_001.so: undefined reference to Py_BuildValue' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
PyObject_GetAttrString'
../../../lib/libfrvt_11_biocube_001.so: undefined reference to PyLong_FromLong' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
PyList_SetItem'
../../../lib/libfrvt_11_biocube_001.so: undefined reference to PyList_New' ../../../lib/libfrvt_11_biocube_001.so: undefined reference to
PyCallable_Check'
collect2: error: ld returned 1 exit status
make[2]: *** [../bin/validate11] Error 1
make[1]: *** [src/testdriver/CMakeFiles/validate11.dir/all] Error 2
make: *** [all] Error 2
[ERROR] There were errors during compilation of your library with the validation test harness. Please investigate and re-compile.
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?
from frvt.
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")
add_library (libfrvt_11_biocube_001 SHARED yourSourceCode.cpp)
target_link_libraries(libfrvt_11_biocube_001 libpython3.6m.so thirdpartylib1.so thirdpartylib2.so thirdpartylib3.so)
from frvt.
Related Issues (20)
- Time Limits clarification for creation of M Templates from a single image HOT 6
- What is include in the 1:N finalization time limited? HOT 2
- [FRVT 1:1] Can I edit the header file? HOT 4
- why is Finalization function's time limited 40000 sec ? HOT 3
- Segmentation fault when submit
- Error when runnung the run_validate_11.sh. [ERROR] Match validation failed HOT 1
- CMake version
- Conversion of uint8_t to float for template HOT 2
- Submission of Dynamically linked library(.so file) to NIST. HOT 1
- Error in compiling with libtorch HOT 1
- ONNX Runtime Multithreading Issue Preventing NIST FRVT 11 Submission HOT 2
- free(): invalid pointer after trying to link torch library
- Can we build a library in the target environment? HOT 8
- FRTE Latest Report Query HOT 2
- Linking external so libraries using CMAKE_INSTALL_RPATH. HOT 3
- Matching templates ends with signal 11
- Failure-to-enroll/-to-extract HOT 3
- Doubt regarding NIST Public Key HOT 2
- Stuck at warming up FE Model
- Suggest to split and zip "common/images/face" to release files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frvt.