undefined reference to `cv::cuda::ORB::create(...)

313 views
Skip to first unread message

C Chien

unread,
Apr 11, 2017, 1:41:51 PM4/11/17
to opendetection
I am trying to build opendetection on Unbuntu 16.04-64 bit, with OpenCV 3.2, and get a linking error.

[ 71%] Linking CXX executable od_hog_train
../../common/libod_common.so.1.0: undefined reference to `cv::cuda::ORB::create(int, float, int, int, int, int, int, int, int, bool)'
collect2: error: ld returned 1 exit status

Any suggestion and help will be appreciated.  Let me know if additional information is needed.  Thanks.

Shyam Nandan Rai

unread,
Apr 12, 2017, 12:02:06 PM4/12/17
to opendetection
Hi Chien ,

I think the error may be due to missing cuda files of features2D (present in opencv). So , I think you should reinstall opencv with cuda dependency .
Message has been deleted

Anuj Rathore

unread,
Apr 22, 2017, 2:06:25 PM4/22/17
to opendetection
This is typical error, which is generally encountered when you try installing opencv 3.1 and opencv 3.2 with cuda.
What you can do is, fix all libraries by going through the error messages or could try any other version!
Reply all
Reply to author
Forward
0 new messages