You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building opencv from source on Ubuntu 22.04.4 to get the SFM module running for this project, following the instructions here exactly, except replacing "4.x" with "4.10.0"
After running the configuration step: cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-4.10.0/modules ../opencv-4.10.0
I'm running into these errors:
CMake Error at cmake/OpenCVUtils.cmake:1582 (add_library):
Target "opencv_sfm" links to target "absl::log" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
cmake/OpenCVModule.cmake:989 (ocv_add_library)
cmake/OpenCVModule.cmake:905 (_ocv_create_module)
/home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/CMakeLists.txt:150 (ocv_create_module)
CMake Error at cmake/OpenCVUtils.cmake:1582 (add_library):
Target "opencv_sfm" links to target "absl::check" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
cmake/OpenCVModule.cmake:989 (ocv_add_library)
cmake/OpenCVModule.cmake:905 (_ocv_create_module)
/home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/CMakeLists.txt:150 (ocv_create_module)
CMake Error at cmake/OpenCVUtils.cmake:1582 (add_library):
Target "opencv_sfm" links to target "absl::fixed_array" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
cmake/OpenCVModule.cmake:989 (ocv_add_library)
cmake/OpenCVModule.cmake:905 (_ocv_create_module)
/home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/CMakeLists.txt:150 (ocv_create_module)
CMake Error at /home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/src/libmv_light/libmv/correspondence/CMakeLists.txt:9 (ADD_LIBRARY):
Target "opencv.sfm.correspondence" links to target "absl::log" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at /home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/src/libmv_light/libmv/correspondence/CMakeLists.txt:9 (ADD_LIBRARY):
Target "opencv.sfm.correspondence" links to target "absl::check" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at /home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/src/libmv_light/libmv/correspondence/CMakeLists.txt:9 (ADD_LIBRARY):
Target "opencv.sfm.correspondence" links to target "absl::fixed_array" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at /home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/src/libmv_light/libmv/multiview/CMakeLists.txt:19 (ADD_LIBRARY):
Target "opencv.sfm.multiview" links to target "absl::log" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at /home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/src/libmv_light/libmv/multiview/CMakeLists.txt:19 (ADD_LIBRARY):
Target "opencv.sfm.multiview" links to target "absl::check" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at /home/zabsy/opencv_build/opencv_contrib-4.10.0/modules/sfm/src/libmv_light/libmv/multiview/CMakeLists.txt:19 (ADD_LIBRARY):
Target "opencv.sfm.multiview" links to target "absl::fixed_array" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
I tried to fix it by installing sudo apt-get install libabsl-dev but I still end up with the same errors.
Did you encounter any similar issues, or do you have any ideas for how to fix this? Any suggestions would be greatly appreciated.
Also,
This project is amazing, thank you for making this open source!
The text was updated successfully, but these errors were encountered:
zabsy
changed the title
Error while building OpenCV
Error while building OpenCV with CMake on configuration step
Aug 8, 2024
zabsy
changed the title
Error while building OpenCV with CMake on configuration step
Error while building OpenCV with contrib modules with CMake on configuration step
Aug 8, 2024
zabsy
changed the title
Error while building OpenCV with contrib modules with CMake on configuration step
Error while building OpenCV with contrib modules on configuration step (CMake)
Aug 8, 2024
Hey Joshua Bird,
I'm building opencv from source on Ubuntu 22.04.4 to get the SFM module running for this project, following the instructions here exactly, except replacing "4.x" with "4.10.0"
After running the configuration step:
cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-4.10.0/modules ../opencv-4.10.0
I'm running into these errors:
I tried to fix it by installing
sudo apt-get install libabsl-dev
but I still end up with the same errors.Did you encounter any similar issues, or do you have any ideas for how to fix this? Any suggestions would be greatly appreciated.
Also,
This project is amazing, thank you for making this open source!
The text was updated successfully, but these errors were encountered: