I have followed steps below
Downloaded opencv 3.1.0 source from github
cd opencv-3.1.0
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_OPENGL=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 …
cmake was successful.
make -j 4
/tmp/ccLpHues.s: Assembler messages:
/tmp/ccLpHues.s:715: Error: thumb conditional instruction should be in IT block – strexeq r1,r2,[r4]' /tmp/ccLpHues.s:1316: Error: thumb conditional instruction should be in IT block --
strexeq r1,r2,[r4]’
/tmp/ccLpHues.s:5706: Error: thumb conditional instruction should be in IT block – strexeq r1,r2,[r4]' /tmp/ccLpHues.s:6001: Error: thumb conditional instruction should be in IT block --
strexeq r6,r5,[r4]’
/tmp/ccLpHues.s:6636: Error: thumb conditional instruction should be in IT block – `strexeq r1,r3,[r7]’
make[2]: *** [modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
make: *** [all] Error 2
Please help me install the opencv with python with cpp and CUDA…