OpenCV SVN trunk Rev. 6947 compile error. (Bug #1465)


Added by Alireza Norouzzadeh over 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:
Priority:High Due date:
Assignee:Vladislav Vinogradov % Done:

0%

Category:gpu (cuda)
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I'm compiling OpenCV Rev. 6947 on Ubuntu 11.04 64bit and the following error arises:

[ 98%] Built target example_gpu_cascadeclassifier_nvidia_api
Linking CXX executable ../../bin/driver_api_multi_gpu
CMakeFiles/example_gpu_driver_api_multi.dir/driver_api_multi.cpp.o: In function @destroyContexts()':
driver_api_multi.cpp:(.text._Z15destroyContextsv+0x9): undefined reference to @cuCtxDestroy_v2'
driver_api_multi.cpp:(.text._Z15destroyContextsv+0x1b): undefined reference to @cuCtxDestroy_v2'
CMakeFiles/example_gpu_driver_api_multi.dir/driver_api_multi.cpp.o: In function @Worker::operator()(int) const':
driver_api_multi.cpp:(.text._ZNK6WorkerclEi+0x19): undefined reference to @cuCtxPushCurrent_v2'
driver_api_multi.cpp:(.text._ZNK6WorkerclEi+0x76d): undefined reference to @cuCtxPopCurrent_v2'
CMakeFiles/example_gpu_driver_api_multi.dir/driver_api_multi.cpp.o: In function @main':
driver_api_multi.cpp:(.text.main+0xa6): undefined reference to @cuInit'
driver_api_multi.cpp:(.text.main+0xbc): undefined reference to @cuDeviceGet'
driver_api_multi.cpp:(.text.main+0xd6): undefined reference to @cuCtxCreate_v2'
driver_api_multi.cpp:(.text.main+0xea): undefined reference to @cuCtxPopCurrent_v2'
driver_api_multi.cpp:(.text.main+0x103): undefined reference to @cuDeviceGet'
driver_api_multi.cpp:(.text.main+0x11d): undefined reference to @cuCtxCreate_v2'
driver_api_multi.cpp:(.text.main+0x131): undefined reference to @cuCtxPopCurrent_v2'
driver_api_multi.cpp:(.text.main+0x198): undefined reference to @cuCtxDestroy_v2'
driver_api_multi.cpp:(.text.main+0x1ae): undefined reference to @cuCtxDestroy_v2'
collect2: ld returned 1 exit status
maker2: * [bin/driver_api_multi_gpu] Error 1
maker1:
[samples/gpu/CMakeFiles/example_gpu_driver_api_multi.dir/all] Error 2
make: *
* [all] Error 2


Associated revisions

Revision 99a43257
Added by Alexander Smorkalov over 11 years ago

Merge pull request #1465 from jet47:cudev-old-cc

History

Updated by Anton Obukhov over 13 years ago

  • Status deleted (Open)

Updated by Vadim Pisarevsky about 13 years ago

probably, the CUDA SDK should be updated.

Updated by Alexander Shishkov about 13 years ago

  • Description changed from I'm compiling [[OpenCV]] Rev. 6947 on Ubuntu 11.04 64bit and the followin... to I'm compiling OpenCV Rev. 6947 on Ubuntu 11.04 64bit and the following er... More

Updated by Vladislav Vinogradov about 13 years ago

Probably, the CUDA SDK or drivers should be updated.

  • Status set to Cancelled
  • Assignee changed from Anatoly Baksheev to Vladislav Vinogradov

Updated by Andrey Kamaev almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF