Skip to content
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

Error when build to link np_opencv_converter.so #13

Open
xuantengh opened this issue Apr 14, 2020 · 0 comments
Open

Error when build to link np_opencv_converter.so #13

xuantengh opened this issue Apr 14, 2020 · 0 comments

Comments

@xuantengh
Copy link

[ 60%] Linking CXX executable test_cvmatio                                   
/usr/bin/ld: cannot find -lopencv_dep_cudart                                 
collect2: error: ld returned 1 exit status                                   
CMakeFiles/test_cvmatio.dir/build.make:146: recipe for target 'test_cvmatio' 
failed                                                                       
make[2]: *** [test_cvmatio] Error 1                                          
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/test_cvmatio.dir/all' 
failed                                                                       
make[1]: *** [CMakeFiles/test_cvmatio.dir/all] Error 2                       
Makefile:127: recipe for target 'all' failed                                 
make: *** [all] Error 2 

It seems that the reason is -lopencv_dep_cudart, so how can I remove this compile option? Or is there any method that I could seccussfully build this project?
Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant