-
Notifications
You must be signed in to change notification settings - Fork 114
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
Errors while compiling validation package 1:1 #72
Comments
As a sanity check, do you get the same error when you build the null implementation by running ./scripts/build_null_impl.sh and then running ./run_validate_11.sh? |
I am facing same problem. Can anyone give me the solution of this two error in the new FRVT? |
As a sanity check, do you get the same error when you build the null implementation by running ./scripts/build_null_impl.sh and then running ./run_validate_morph.sh? |
I do not get any error in null implementation (./scripts/build_null_impl.sh). |
Can you confirm that your implementation library was compiled and built on Ubuntu? Can you also confirm that you DO NOT have "-DNIST_EXTERN_FRVT_STRUCTS_VERSION -DNIST_EXTERN_API_VERSION" included in the CMakeLists.txt/Makefile that you built your library with? |
I have implemented into Ubuntu 20.04.3. I do not have "-DNIST_EXTERN_FRVT_STRUCTS_VERSION -DNIST_EXTERN_API_VERSION" those flags. |
After building the null implementation, did you run ./run_validate_morph.sh to confirm there were no errors with linking against the validation testdriver? |
After Null implementation I have run ./run_validate_morph.sh but there have no issue and no error. |
sms@sms: I have not change any code of frvt into Ubuntu 20.04.3 . I just want to build test driver and got same error. That is sms@sms:~/Downloads/frvt-master_23March/morph/src/testdriver/build$ make Can I try to packaging the FRVT (old version) into CentOS because of Ubuntu 20.04.3 provide that issue.Please, Solve this issue,it is very urgent because we (WVU team) will submit the new FRVT encrypted package to NIST. |
Ok, I think I see what your issue is. You can't just go into the ./src/testdriver directory and build the testdriver directly. There is a variable called FRVT_IMPL_LIB that needs to be set in order to know what implementation library to link to. Please follow the instructions from the ./README.md file. You need to place your implementation library in ./lib and then run run_validate_morph.sh, which will set up all necessary variables and paths. |
I will follow the steps that you say and ./README.md file depicts. Thanks for your kind reply. |
I am able to run run_validate_morph.sh (with this: libfrvt_morph_wvu_001.so in library) into CentOS . But new FRVT with Ubuntu causes 2 error for running run_validate_morph.sh . |
Can you confirm that your libfrvt_morph_wvu_001.so file was compiled and built on Ubuntu? What are the errors that you're encountering when running on Ubuntu? |
Yes. |
Can you please provide the exact error messages that you are seeing when you run ./run_validate_morph.sh on Ubuntu? |
Thanks for your kind reply. |
Your errors appear to be related to the version of libtorch that you're linking to may have been compiled with an older compiler - pytorch/pytorch#13541. Have you tried installing a new version of libtorch that's compatible with g++ 9.x or tried re-compiling torch with -D_GLIBCXX_USE_CXX11_ABI=0? |
I have changed Libtorch also opencv (new version) but there are 2 errors
|
Could you please solve the above error? |
@ShoaibMerajSami this looks like an error on your side. It is missing symbols from OpenCV DNN lib |
Thanks @xsacha . I have tried to solve this issue, so, I have install opencv 4.5.3 from source then I have added the opencv path into the cmake. But there remain 2 error. How can I solve this error. Could you give me yours valuable suggestion for solve OpenCV DNN lib issue?
|
Is there an OpenCV library with the word 'dnn' in it that you have forgotten to link? |
/usr/bin/ld: validate11.cpp:(.text.startup+0x35): undefined reference to
FRVT::FRVT_STRUCTS_MINOR_VERSION' /usr/bin/ld: validate11.cpp:(.text.startup+0x5b): undefined reference to
FRVT::FRVT_STRUCTS_MAJOR_VERSION'/usr/bin/ld: validate11.cpp:(.text.startup+0x85): undefined reference to
FRVT::FRVT_STRUCTS_MINOR_VERSION' /usr/bin/ld: validate11.cpp:(.text.startup+0x12d): undefined reference to
FRVT_11::API_MAJOR_VERSION'/usr/bin/ld: validate11.cpp:(.text.startup+0x13b): undefined reference to
FRVT_11::API_MINOR_VERSION' /usr/bin/ld: validate11.cpp:(.text.startup+0x375): undefined reference to
FRVT_11::API_MAJOR_VERSION'/usr/bin/ld: validate11.cpp:(.text.startup+0x39f): undefined reference to
FRVT_11::API_MINOR_VERSION' /usr/bin/ld: validate11.cpp:(.text.startup+0x538): undefined reference to
FRVT_11::Interface::getImplementation()'collect2: error: ld returned 1 exit status
make[2]: *** [src/testdriver/CMakeFiles/validate11.dir/build.make:100:../bin/v
alidate11] Error 1
make[1]: *** [CMakeFiles/Makefilez:94:src/testdriver/CMakeFiles/validate11.dir
/all] Error 2
make: *** [Makefile:84: all] Error 2
I am facing the above issue when I placed my .so file in libs folder
Please suggest as to what changes needs to be done in my .so file or any other file to solve the issue
The text was updated successfully, but these errors were encountered: