Ask Your Question

A's profile - activity

2014-03-13 16:29:08 -0600 answered a question OpenCV 2.4.8 with CUDA 5.5.22 Compilation Error on Ubuntu

Although I configured the gcc alternatives and set gcc-4.6 instead of gcc-4.8, cmake was only detecting the 4.6 version for C compiler while using 4.8 for C++. After explicitly setting C++ to 4.6 and running cmake and make again, the problem seems to have been resolved!

2014-02-28 15:34:42 -0600 commented question OpenCV 2.4.8 with CUDA 5.5.22 Compilation Error on Ubuntu

Although I bumped into a "Disk Full" issue earlier, this was not the cause this time since the disk already had 1.7 GB available. It seems however that this problem is caused by an incorrect C++ compiler version. Although I configured the gcc alternatives and set gcc-4.6 instead of gcc-4.8, cmake was only detecting the 4.6 version for C compiler while using 4.8 for C++. After explicitly setting C++ to 4.6 and running cmake and make again, the problem seems to have been resolved!

2014-02-28 14:24:49 -0600 received badge  Supporter (source)
2014-02-28 00:08:05 -0600 asked a question 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