-
Notifications
You must be signed in to change notification settings - Fork 84
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
undefined Symbol #2
Comments
Hello, From the error message it looks like the cv::Exception is undefined. Please make sure that all opencv packages are installed on your system. (libopencv-dev, python-opencv) |
Hello, same issue here on Ubuntu 15.10. OpenCV 2.4.9 and all Python bindings are installed. Here the output of
Surely enough, OpenCV is correctly found. So I'm not sure why There are also other issues here (beyond
|
Hello, The libraries you are missing are inside the binaries package in the "libs" folder. You need to set the MBV_LIBS environment variable as explained in the Readme.md. Alternatively you can set the LD_LIBRARY_PATH and PYTHONPATH manually. Check the runme.sh for details. |
Well, if I got the error with the missing symbol in |
Hum, I see, you manipulate the |
Could you tell us which version of OpenCV you have been using to compile the library? |
The libraries where compiled with Ubuntu 14.04 which comes with OpenCV 2.4.8 |
Alright, I think I've figured out the reason: on Ubuntu 15.10, the default compiler is GCC 5, which effectively changes the ABI of One option is to recompile a local OpenCV with gcc < 5, or to recompile OpenCV with gcc 5 and the additional flag You may or may not want to provide binaries compiled (well, linked) on a system using gcc 5 as default compiler to avoid the issue (or alternatively, ship the required opencv libraries as well). |
Thanks for the find Severin, To keep things simple we decided to only offer binaries for the LTS release of Ubuntu and tried to avoid packaging libs that are provided by the system. Obviously this leads to issues. Maybe in the next binaries update we will also include the OpenCV libs. |
Thank you for the update. Maybe it is easier to have several ubuntu versions for the compiled libs? At least for the LTS and for the current version? Would keep the libs shipped with the tracker to a minimum. Thanks Markus Am 17. November 2015 23:18:06 GMT+10:00, schrieb Panteleris Paschalis notifications@github.com:
|
Confirmed the work around for the issue. After downloading OpenCV 2.4 and compiling it using export CC=/usr/bin/gcc-4.9 The tracker runs smoothly under Ubuntu 15.10, CUDA 7.5 Thnx guys |
Thanks for the confirmation Markus. I am closing this issue. |
Running the script results in and error
Traceback (most recent call last):
File "src/SingleHandTracking.py", line 8, in
import PyMBVCore as Core
ImportError: /home/eich/devel/MBV_PythonAPI_Linux_1.1/libs/libCore.so: undefined symbol: ZN2cv9ExceptionC1EiRKSsS2_S2
System: CUDA 7.5, NVIDIA 352, Ubuntu 15.10
The text was updated successfully, but these errors were encountered: