Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 16145] New: opencv4 4.7.0 linking issue against OpenEXR 3.1.5

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 16145] New: opencv4 4.7.0 linking issue against OpenEXR 3.1.5
  • Date: Wed, 22 Feb 2023 09:55:15 +0000

Bug ID 16145
Summary opencv4 4.7.0 linking issue against OpenEXR 3.1.5
Product Codex
Version test grimoire
Hardware x86-64
OS Linux
Status NEW
Severity normal
Priority P2
Component graphics-libs
Assignee sm-grimoire-bugs AT lists.ibiblio.org
Reporter ismael AT iodev.co.uk
Classification Unclassified

Build log:
[349/803] Building CXX object
modules/dnn/CMakeFiles/opencv_dnn.dir/opencl_kernels_dnn.cpp.o
[350/803] Building CXX object
apps/model-diagnostics/CMakeFiles/opencv_model_diagnostics.dir/model_diagnostics.cpp.o
samu: job failed: : && /var/lib/sorcery/build/c++ -fPIC
-D__STDC_CONSTANT_MACROS   -fsigned-char -W -Wall -Wreturn-type
-Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security
-Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow
-Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor
-Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow
-fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer
-ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden
-fvisibility-inlines-hidden -Wno-deprecated-declarations
-D__STDC_CONSTANT_MACROS  -DNDEBUG  -s -Wl,-znoseparate-code -Wl,--as-needed 
-Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined -shared
-Wl,-soname,libopencv_imgcodecs.so.407 -o lib/libopencv_imgcodecs.so.4.7.0
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/utils.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_base.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_bmp.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdal.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdcm.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_hdr.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000_openjpeg.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pam.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pfm.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_png.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pxm.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_spng.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_sunras.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_webp.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/bitstrm.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/rgbe.cpp.o
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o 
-Wl,-rpath,/usr/src/opencv-4.7.0/build/lib:  lib/libopencv_imgproc.so.4.7.0 
-ldl  -lm  -lpthread  -lrt  /usr/lib/libjpeg.so  /usr/lib/libwebp.so 
/usr/lib/libpng.so  /lib/libz.so  /usr/lib/libtiff.so 
/usr/lib/libopenjp2.so.2.5.0  /usr/lib/libOpenEXR-3_1.so.30.5.1  /lib/libz.so 
lib/libopencv_core.so.4.7.0  /usr/lib/libtiff.so 
/usr/lib/libImath-3_1.so.29.4.0  -lm  /usr/lib/libIlmThread-3_1.so.30.5.1 
/usr/lib/libIex-3_1.so.30.5.1  /lib/libz.so && :
/usr/bin/ld:
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o: in
function `cv::ExrDecoder::ExrDecoder()':
grfmt_exr.cpp:(.text._ZN2cv10ExrDecoderC2Ev+0xef): undefined reference to
`Imf_3_1::Chromaticities::Chromaticities(Imath_2_2::Vec2<float> const&,
Imath_2_2::Vec2<float> const&, Imath_2_2::Vec2<float> const&,
Imath_2_2::Vec2<float> const&)'
/usr/bin/ld:
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o: in
function `cv::ExrEncoder::write(cv::Mat const&, std::vector<int,
std::allocator<int> > const&)':
grfmt_exr.cpp:(.text._ZN2cv10ExrEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x137):
undefined reference to `Imf_3_1::Header::Header(int, int, float,
Imath_2_2::Vec2<float> const&, float, Imf_3_1::LineOrder,
Imf_3_1::Compression)'
collect2: error: ld returned 1 exit status
samu: subcommand failed
! Problem Detected !


You are receiving this mail because:
  • You are the assignee for the bug.


  • [SM-Grimoire-Bugs] [Bug 16145] New: opencv4 4.7.0 linking issue against OpenEXR 3.1.5, bugzilla-daemon, 02/22/2023

Archive powered by MHonArc 2.6.24.

Top of Page