Robotics StackExchange | Archived questions

Opencv4tegra installed, but ros can't compile and GPU functions

I've installed CUDA toolkit and libopencv4tegra, but when compiling a simple test program which just changes a frame to black and white using gpu I get:

undefined reference to cv::gpu::Stream::Null() and undefined reference to cv::gpu::cvtcolor(cv::gpu::gpumat......);

The weird thing is the cv::gpu::gpumat.upload(cv::Mat) function and download functions are compiling but not any others.

I really will need gpu acceleration for my project. How can I have ros compile these functions?

I assume it is some modifications in cmakelists.txt.

Also I have not installed cv_bridge yet just ros bare bones, so the only opencv installation should be libopencv4tegra

Asked by Trexter101 on 2015-05-23 13:53:18 UTC

Comments

Have you looked at this: ROS on Jetson

Asked by corb on 2015-05-24 18:27:02 UTC

Answers