how to install extra modules for openCV 3.2.0?
Hi,I downloaded the openCV-contrib repo and this is my cmake command cmake -DOPENCV_EXTRA_MODULES_PATH=/home/nihar/Desktop/opencv_contrib-master/modules .. the path is correct(I have cross checked 1000 times :)).I am in my build directory.
and the problem is ?
I get an error while make command.I only need lopen_face,but it's not showing up when I type pkg-config --libs opencv
the error occcurs at 96% due to wrong building of a python file.
/usr/bin/ld: CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o: relocation R_X86_64_PC32 against undefined symbol `_Z13pyopencv_fromIN2cv4MatxIdLi4ELi4EEEEP7_objectRKT_' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status modules/python2/CMakeFiles/opencv_python2.dir/build.make:358: recipe for target 'lib/cv2.so' failed
this is a error
@berak,I only need lopencv_face,is there a way where I can add it manually?
your opencv main version does not match the opencv_contrib one
see that you got latest github master version of both , clean your build folder, and try again.