2014-07-11 09:29:26 -0600 | commented question | Opencv static link error I have this exact same error and have no idea how to fix it. I run the cmake command: sudo cmake -DENABLE_NEON=ON -DBUILD_PACKAGE=ON -DBUILD_SHARED_LIBS=ON -DWITH_FFMPEG=ON -DOPENCV_BUILD_3RDPARTY_LIBS=ON -DBUILD_NEW_PYTHON_SUPPORT=OFF -DWITH_V4L=ON -DBUILD_TBB=ON -DWITH_TBB=ON -DINSTALL_C_EXAMPLES=ON -DBUILD_EXAMPLES=ON -DBUILD_ZLIB=ON -DWITH_JPEG=ON -DWITH_PNG=ON -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake ../../.. This error occurs not only with zlib, but with the other libraries as well. Help!! |
2014-07-11 07:27:31 -0600 | asked a question | What makes ARM cross compilation faster on the ARM? Hi Everyone, Normally, cross compilation just makes the compile time dramatically less but keeps the program performance the same. Is using the arm-gnueabi toolchain making the performance difference on the ARM, or is it the flags used like -DENABLE_NEON=ON and other optimizing flags? Thanks PS: I'm using an ARM Cortex A9 and OpenCV 2.4.9 |
2014-07-08 13:09:04 -0600 | received badge | ● Editor (source) |
2014-07-08 13:08:14 -0600 | asked a question | Linking C Static Library problem Hey Guys, I am trying to compile OpenCV 2.4.9 on the ARM cortex a9. I used the following cmake command: cmake -DENABLE_NEON=ON -DWITH_V4L=ON -DINSTALL_C_EXAMPLES=ON -DBUILD_EXAMPLES=ON -DBUILD_ZLIB=ON -DBUILD_JASPER=ON -DBUILD_JPEG=ON -DBUILD_PNG=ON -DBUILD_TIFF=ON -DWITH_WEBP=ON -DBUILD_OPENEXR=on -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake ../../.. The reason why I specified all the folders in the 3rdparty folder in the cmake command is because I tried the solution from this link: http://answers.opencv.org/question/35311/opencv-static-link-error/ Still, after I tried make, it would start building zlib and when it began linking C static Library ../lib/libzlib.a, it came out with an error saying it doesn't exist. I checked and libzlib.a really doesn't exist. Also, my 3rdparty/lib folder is completely empty. How do I fix this? Thanks |