Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compiling OpenCV 2.4.3 on Ubuntu 12.10: libz.so error

Hi guys,

I'm compiling the opencv with this command line:

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_QT=ON -D WITH_OPENGL=ON ..

After a little, I got this error:

[ 3%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.cpp.o make[2]: * No rule to make target /usr/lib/libz.so', needed bylib/libopencv_core.so.2.4.3'. Stop. make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: ** [all] Error 2

Anyone could help?

Best!

Compiling OpenCV 2.4.3 on Ubuntu 12.10: libz.so error

Hi guys,

I'm compiling the opencv with this command line:

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_QT=ON -D WITH_OPENGL=ON ..

After a little, I got this error:

[ 3%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.cpp.o make[2]: * No rule to make target /usr/lib/libz.so', needed bylib/libopencv_core.so.2.4.3'. Stop. make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: ** [all] Error 2

I'm using Ubuntu 64Bits with AMD processor.

Anyone could help?

Best!