recipe for target 'bin/opencv_annotation' failed [closed]

asked 2018-12-05 14:45:33 -0600

I am attempting to build OpenCV on the nvidia jetson TX platform following these instructions:
How to Install OpenCV (3.4.0) on Jetson TX2

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local \
        -D WITH_CUDA=OFF -D CUDA_ARCH_BIN="6.2" -D CUDA_ARCH_PTX="" \
        -D WITH_CUBLAS=ON -D ENABLE_FAST_MATH=ON -D CUDA_FAST_MATH=ON \
        -D ENABLE_NEON=ON -D WITH_LIBV4L=ON -D BUILD_TESTS=OFF \
        -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF \
        -D WITH_QT=ON -D WITH_OPENGL=ON ..

I'm getting this error

make -j4

collect2: error: ld returned 1 exit status
apps/annotation/CMakeFiles/opencv_annotation.dir/build.make:101: recipe for target 'bin/opencv_annotation' failed
make[2]: *** [bin/opencv_annotation] Error 1
CMakeFiles/Makefile2:4063: recipe for target 'apps/annotation/CMakeFiles/opencv_annotation.dir/all' failed
make[1]: *** [apps/annotation/CMakeFiles/opencv_annotation.dir/all] Error 2

any suggestions?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by icumara
close date 2018-12-05 16:34:52.880104

Comments

the actual error msg must be a few lines above of what you show, can you look again ?

berak gravatar imageberak ( 2018-12-05 16:35:28 -0600 )edit