spillai / numpy-opencv-converter

OpenCV <=> NumPy Converter using Boost::Python
BSD 2-Clause "Simplified" License
131 stars 52 forks source link

Getting strange TBB error #7

Open pythonanonuser opened 8 years ago

pythonanonuser commented 8 years ago

I compiled on Ubuntu 16.04 with GCC and received this strange error: undefined symbol: _ZTIN3tbb4taskE. I tried with boost 1.58 and boost 1.61.0 and got the same issue. I'm using OpenCV 3.1 in conjunction with pull request #4.


Python 2.7.12 (default, Jul  1 2016, 15:12:24) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import np_opencv_module as npcv
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/user/numpy-opencv-converter/build/np_opencv_converter.so: undefined symbol: _ZTIN3tbb4taskE
ziaulrehman40 commented 8 years ago

Have you solved this problem? i am facing same issue in rails-opencv, same symbol is missing but is LoadError (/home/**/.rvm/gems/ruby-2.3.0/gems/ruby-opencv-0.0.15/lib/opencv.so: undefined symbol: _ZTIN3tbb4taskE your experience might help me solve this issue.

pythonanonuser commented 8 years ago

I can't remember how exactly I solved it. I think I either rebuilt opencv, boost, or both.

ziaulrehman40 commented 8 years ago

I had left this comment and forgot. I was again trying to resolve this issue today and on googling i got here, next time please make sure to tag like @pythonanonuser this, so user gets notification about it. I will try your solution. Thanks for that.