-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Description
System information (version)
- OpenCV => current master (f9cefc8)
- Operating System / Platform => Gentoo Linux
- Compiler => gcc-8.3.0
Detailed description
I am getting the compile error:
No rule to make target '/usr/lib/libglog.so', needed by 'lib/libopencv_sfm.so.4.1.1'. Stop.
The file is actually located in /usr/lib64/libglog.so, not /usr/lib/libglog.so. What's strange is when I check the value of GLOG_LIBRARIES here, it is set to /usr/lib64/libglog.so which is correct.
I have no idea where this incorrect path is coming from.
Steps to reproduce
mkdir opencv && cd opencv
git clone https://github.com/opencv/opencv
git clone https://github.com/opencv/opencv_contrib
mkdir build && cd build
cmake -DOPENCV_EXTRA_MODULES_PATH=$(pwd)/../opencv_contrib/modules -DBUILD_PACKAGE=OFF -DBUILD_TESTS=OFF -DWITH_CUDA=ON -DWITH_VULKAN=ON ../opencv
make -j