Errors on compile Ubuntu 16.04
Try to install OpenCV 3.2.0 on ubuntu 16.04 Follow instructions in //docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html and in //help.ubuntu.com/community/OpenCV
All dependencies were installed in the latest version, but whe using make got the following error:
[ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o [ 12%] Linking CXX shared library ../../lib/libopencv_core.so /home/jorge/anaconda2/lib/libz.so: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status modules/core/CMakeFiles/opencv_core.dir/build.make:1425: recipe for target 'lib/libopencv_core.so.3.2.0' failed make[2]: * [lib/libopencv_core.so.3.2.0] Error 1 CMakeFiles/Makefile2:1140: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: ** [all] Error 2
Some help will be appreciated.
try to build and use the 3rdparty zlib, that comes with opencv, not the one from anaconda (why on earth is it even trying to use that ?)
ohh, and please NEVER AGAIN look at the shoddy outdated ubuntu page !
so what should be a better guide to install.
http://docs.opencv.org/master/d7/d9f/...