You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error in the generated so file, why?
Traceback (most recent call last):
File "run.py", line 4, in
import cfar
ImportError: /usr/local/lib/python3.5/dist-packages/cfar.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZN2cv6dilateERKNS_11_InputArrayERKNS_12_OutputArrayES2_NS_6Point_IiEEiiRKNS_7Scalar_IdEE
The text was updated successfully, but these errors were encountered:
@mantou22 I also meet the same problem, which is caused by lacking two opencv libraties, i.e., opencv_imgproc and opencv_imgcodecs in my situation. The solution is adding them in the dependent libraries. Specifically, change the line 16 of setup.py as "libraries = ['opencv_core', 'opencv_imgproc', 'opencv_imgcodecs', 'opencv_highgui','opencv_video','opencv_videoio', 'gsl', 'gslcblas'],", and then recompile the code. Note the old generated folder "build" must be first deleted before the recompiling.
There is an error in the generated so file, why?
Traceback (most recent call last):
File "run.py", line 4, in
import cfar
ImportError: /usr/local/lib/python3.5/dist-packages/cfar.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZN2cv6dilateERKNS_11_InputArrayERKNS_12_OutputArrayES2_NS_6Point_IiEEiiRKNS_7Scalar_IdEE
The text was updated successfully, but these errors were encountered: