Ask Your Question

Thor's profile - activity

2013-04-06 15:06:48 -0600 received badge  Self-Learner (source)
2013-04-06 13:30:57 -0600 answered a question Compiling OpenCV 2.4.3 on Ubuntu 12.10: libz.so error

I don't know why, ubuntu 12.10 has the /usr/lib files broken (libz.so for example) I deleted the symbolic link and did it again pointing to the correct file path and voilá!

Thanks to Alexander to give me the clue to solve this!

2013-04-06 10:36:46 -0600 commented question Compiling OpenCV 2.4.3 on Ubuntu 12.10: libz.so error

HI Alexander,

You can check here the cmake output: https://gist.github.com/lalves/5326502

2013-04-03 12:46:03 -0600 received badge  Student (source)
2013-04-02 12:00:51 -0600 received badge  Editor (source)
2013-04-02 11:24:20 -0600 asked a question 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!