Open QinZiwen opened 6 years ago
It seems you have built OpenCV with CUDA dependency. Make sure libopencv_dep_cudart.so is in a path of LD_LIBRARY_PATH.
After opencv compile and install, there is no libopencv_dep_cudart.so in /usr/local/lib
Fix this problem https://github.com/opencv/opencv/issues/6542
cmake -D CUDA_USE_STATIC_CUDA_RUNTIME=OFF ..
No error occurred during compilation, But there was an invalid pointer error during the test.
rtabmap/bin$ ./rtabmap
*** Error in `./rtabmap': realloc(): invalid pointer: 0x00007f1e8d3aa840 ***
Aborted (core dumped)
rtabmap/bin$ ./rtabmap-databaseViewer
*** Error in `./rtabmap-databaseViewer': realloc(): invalid pointer: 0x00007f3fc0660840 ***
Aborted (core dumped)
when cmake it has a warning of qt5, but when make , the terminal show "/usr/bin/ld: cannot find -lopencv_dep_cudart"