I build OpenCV 2.4.13 on TX1, but failed with following error.
According to bellow site, it might be caused by memory shortage.
So, I rebuild with "cmake -D BUILD_opencv_gpu=OFF -D WITH_CUDA=OFF ".
Then I succeded to build it.
cmake - Compile OpenCV without GPU? - Stack Overflow
If I want to make GPU enable, should I add memory device on the TX1 ?
[Environment]
Target : Jetson TX1
OS : Ubuntu 14.04 64bit
[Error log]
[ 55%] Building NVCC (Device) object modules/gpu/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_element_operations.cu.o
gcc-4.8: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
CMake Error at cuda_compile_generated_element_operations.cu.o.cmake:266 (message):
Error generating file
/home/ubuntu/Downloads/opencv-2.4.13/release/modules/gpu/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_element_operations.cu.o
make[2]: *** [modules/gpu/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_element_operations.cu.o] Error 1
make[1]: *** [modules/gpu/CMakeFiles/opencv_gpu.dir/all] Error 2
make: *** [all] Error 2
Thanks in advance,
makotoqnb