-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Inspireface Compilation Failure #2594
Comments
It seems like the linked third-party libraries (MNN or OpenCV) do not support your system. Could you please provide your system environment and version details? |
The basic system specifications are as follows: If there are any specific library versions that need to be confirmed, please let me know. |
When trying again with version 1.1.2, the compilation was successful. However, during the linking of the .so file and the import process in Python, the following error occurred: ImportError: Could not load libInspireFace.so. I have tried linking the .so file, copying it directly, recompiling, and even attempting on a different PC, but the issue persists. If you have any other methods or suggestions to resolve this, please let me know. |
Hello, the reasons for the .so file failing to load successfully are:
In the new version(#2607), we have added error messages for when the inspireface.so library fails to load. You can find these messages in the console and follow the prompts to resolve the issues, for example: python sample_face_detection.py ../test_res/pack/Pikachu ../test_res/data/bulk/face_sample.png
/home/tunm/work/InspireFace/python/inspireface/modules/core/liblibInspireFace.so.so: cannot open shared object file: No such file or directory
/home/tunm/work/InspireFace/python/inspireface/modules/core/libInspireFace.so.so: cannot open shared object file: No such file or directory
/lib/x86_64-linux-gnu/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
..... Additionally, we used GitHub Actions in the development repository to deploy and test Python calls to native code, and it ran successfully. You can refer to the script for details: CI Script |
Hello,
I am currently attempting to test Inspireface. I followed the instructions in the README file, but I encountered an error during the compilation process when executing the bash command/build.sh.
The error occurs when I set the ISF_BUILD_WITH_SAMPLE build option to ON. The compilation proceeds normally when this option is set to OFF, but when I try to import the compiled files afterward, I encounter an error. Specifically, the Inspireface.so file fails to load. The error encountered during the import stage is the same type as the one occurring during the build stage, and the error message is as follows:
I would appreciate any guidance or solutions you could provide to resolve this issue.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: