raspberrypi / tools

1.89k stars 865 forks source link

Error while cross-compiling OpenCV #80

Closed abhisheksoni27 closed 5 years ago

abhisheksoni27 commented 7 years ago
[ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o
make[2]: *** No rule to make target '/media/abhishek/root/usr/lib/arm-linux-gnueabihf/libz.so', needed by 'lib/libopencv_core.so.3.3.0'.  Stop.
CMakeFiles/Makefile2:1266: 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