-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
[Compile Error] cannot find -llibwebp #18984
Copy link
Copy link
Closed
Milestone
Description
System information (version)
- OpenCV => 4.5
- Operating System / Platform => Ubuntu 18.04
- Compiler => g++ 7.5.0
Detailed description
Building errors:
[ 9%] Built target IlmImf
[ 11%] Built target libprotobuf
[ 11%] Linking CXX shared library ../../lib/libopencv_world.so
/usr/bin/ld: cannot find -llibwebp
collect2: error: ld returned 1 exit status
modules/world/CMakeFiles/opencv_world.dir/build.make:70131: recipe for target 'lib/libopencv_world.so.4.5.1' failed
make[2]: *** [lib/libopencv_world.so.4.5.1] Error 1
CMakeFiles/Makefile2:7497: recipe for target 'modules/world/CMakeFiles/opencv_world.dir/all' failed
make[1]: *** [modules/world/CMakeFiles/opencv_world.dir/all] Error 2
Makefile:181: recipe for target 'all' failed
make: *** [all] Error 2Steps to reproduce
Just install OpenCV and OpenCV-Contrib with CUDA.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable