AastaNV / JEP

247 stars 162 forks source link

CMake Error at cuda_compile_1_generated_pyrlk.cu.o.RELEASE.cmake:281 (message): Error generating file #8

Open DennisFaucher opened 5 years ago

DennisFaucher commented 5 years ago

Thanks for the script. Any ideas? TIA.

[ 97%] Linking CXX shared library ../../lib/libopencv_stitching.so [ 97%] Built target opencv_stitching Killed CMake Error at cuda_compile_1_generated_pyrlk.cu.o.RELEASE.cmake:281 (message): Error generating file /home/dennis/opencv40/opencv-4.0.0/release/modules/cudaoptflow/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_pyrlk.cu.o

modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/build.make:70: recipe for target 'modules/cudaoptflow/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_pyrlk.cu.o' failed make[2]: [modules/cudaoptflow/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_pyrlk.cu.o] Error 1 CMakeFiles/Makefile2:9839: recipe for target 'modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/all' failed make[1]: [modules/cudaoptflow/CMakeFiles/opencv_cudaoptflow.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2

philipNoonan commented 5 years ago

You need to allocate some swap sapce as the nano is running out of memory.

https://devtalk.nvidia.com/default/topic/1049296/jetson-nano/how-to-install-opencv-python-for-python3-6/2