Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 2.4.8 with CUDA 5.5.22 Compilation Error on Ubuntu

I'm having a problem building OpenCV 2.4.8 with GPU support on an Ubuntu machine with CUDA 5.5.22 installed. I'm stuck with the following error. I'm not sure what exactly is going wrong. Any help is much appreciated.

[ 43%] Built target pch_Generate_opencv_gpu 
[ 43%] Building CXX object modules/gpu/CMakeFiles/opencv_gpu.dir/src/pyramids.cpp.o
<command-line>:0:0: fatal error: can’t read PCH file: No such file or directory compilation terminated.
Preprocessed source stored into /tmp/cc9ygAM8.out file, please attach this to your bugreport. 
make[2]: ***[modules/gpu/CMakeFiles/opencv_gpu.dir/src/pyramids.cpp.o] Error 1 
make[1]: ***[modules/gpu/CMakeFiles/opencv_gpu.dir/all] Error 2 
make: *** [all] Error 2
click to hide/show revision 2
retagged

updated 2014-02-28 00:31:22 -0600

berak gravatar image

OpenCV 2.4.8 with CUDA 5.5.22 Compilation Error on Ubuntu

I'm having a problem building OpenCV 2.4.8 with GPU support on an Ubuntu machine with CUDA 5.5.22 installed. I'm stuck with the following error. I'm not sure what exactly is going wrong. Any help is much appreciated.

[ 43%] Built target pch_Generate_opencv_gpu 
[ 43%] Building CXX object modules/gpu/CMakeFiles/opencv_gpu.dir/src/pyramids.cpp.o
<command-line>:0:0: fatal error: can’t read PCH file: No such file or directory compilation terminated.
Preprocessed source stored into /tmp/cc9ygAM8.out file, please attach this to your bugreport. 
make[2]: ***[modules/gpu/CMakeFiles/opencv_gpu.dir/src/pyramids.cpp.o] Error 1 
make[1]: ***[modules/gpu/CMakeFiles/opencv_gpu.dir/all] Error 2 
make: *** [all] Error 2