pyyolo icon indicating copy to clipboard operation
pyyolo copied to clipboard

Undefined symbol: cvWaitKey when import pyyolo

Open TuanHAnhVN opened this issue 7 years ago • 9 comments

Hi Mr. Park. When running your example.py file, i met this error "Undefined symbol: cvWaitKey" (because of pyyolo import) As i know, pyyolo source uses function incorrect. How to repair it? Thank so much!

TuanHAnhVN avatar Aug 22 '17 04:08 TuanHAnhVN

Install OpenCV for python. sudo apt-get install python-opencv

digitalbrain79 avatar Aug 22 '17 06:08 digitalbrain79

Oh no. I had installed before i posted this issue. My OpenCV version: 3.3.0. waitKey instead of cvWaitKey?

TuanHAnhVN avatar Aug 22 '17 06:08 TuanHAnhVN

I'm sorry. It only tested with OpenCV 2.4.

digitalbrain79 avatar Aug 22 '17 06:08 digitalbrain79

How do I repair it? Can you support for me? Thanks1

TuanHAnhVN avatar Aug 22 '17 06:08 TuanHAnhVN

I am also stuck with this problem. How do i proceed?

christian-ek avatar Sep 08 '17 05:09 christian-ek

@christian-ek I think you should change version of OpenCV or @thomaspark-pkj update code! ^^

TuanHAnhVN avatar Sep 08 '17 06:09 TuanHAnhVN

Trying to do this but still get the same error..

Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'2.4.13'
>>>
python example.py
Traceback (most recent call last):
  File "example.py", line 1, in <module>
    import pyyolo
ImportError: /usr/local/lib/python2.7/dist-packages/pyyolo.so: undefined symbol: cvWaitKey

christian-ek avatar Sep 08 '17 11:09 christian-ek

Any ideas?

christian-ek avatar Sep 10 '17 18:09 christian-ek

I have tried with any possible opencv version =(

christian-ek avatar Sep 13 '17 05:09 christian-ek