← Back to team overview

hugin-devs team mailing list archive

[Bug 2002559] Re: build error with flann 1.9.2

 

Thanks for the patch. Committed to repository (default branch)

** Changed in: hugin
       Status: New => Fix Committed

** Changed in: hugin
    Milestone: None => 2023.0beta1

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/2002559

Title:
   build error with flann 1.9.2

Status in Hugin:
  Fix Committed

Bug description:
  Hello,

  this was originally reported in https://bugs.debian.org/1027934 hugin
  2022.0.0 fails to build against flann 1.9.2 since it does not use
  FLANN_LIBRARY_DIRS as set by CMakeModules/FindFLANN.cmake

  ~~~
  [ 50%] Linking CXX executable cpfind
  cd /dev/shm/HUGIN/hugin-2022.0.0/obj-x86_64-linux-gnu/src/hugin_cpfind/cpfind && /usr/bin/cmake -E cmake_link_script CMakeFiles/cpfind.dir/link.txt --verbose=1
  /usr/lib/ccache/c++ -g -O2 -ffile-prefix-map=/dev/shm/HUGIN/hugin-2022.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,defs -fopenmp CMakeFiles/cpfind.dir/PanoDetector.cpp.o CMakeFiles/cpfind.dir/PanoDetectorLogic.cpp.o CMakeFiles/cpfind.dir/TestCode.cpp.o CMakeFiles/cpfind.dir/Utils.cpp.o CMakeFiles/cpfind.dir/main.cpp.o -o cpfind  -Wl,-rpath,/dev/shm/HUGIN/hugin-2022.0.0/obj-x86_64-linux-gnu/src/hugin_cpfind/localfeatures:/dev/shm/HUGIN/hugin-2022.0.0/obj-x86_64-linux-gnu/src/celeste:/dev/shm/HUGIN/hugin-2022.0.0/obj-x86_64-linux-gnu/src/hugin_base: ../localfeatures/liblocalfeatures.so.0.0 /usr/lib/x86_64-linux-gnu/libvigraimpex.so /usr/lib/x86_64-linux-gnu/libOpenEXR.so /usr/lib/x86_64-linux-gnu/libImath-3_1.so /usr/lib/x86_64-linux-gnu/libIex-3_1.so /usr/lib/x86_64-linux-gnu/libIlmThread-3_1.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libexiv2.so /usr/lib/x86_64-linux-gnu/libpano13.so ../../foreign/levmar/libhuginlevmar.a /usr/lib/x86_64-linux-gnu/libGLEW.so /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libvigraimpex.so /usr/lib/x86_64-linux-gnu/libOpenEXR.so /usr/lib/x86_64-linux-gnu/libImath-3_1.so /usr/lib/x86_64-linux-gnu/libIex-3_1.so /usr/lib/x86_64-linux-gnu/libIlmThread-3_1.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libexiv2.so /usr/lib/x86_64-linux-gnu/liblcms2.so ../../celeste/libceleste.so.0.0 -lflann -lflann_cpp -lhdf5 -lmpi -llz4 ../../hugin_base/libhuginbase.so.0.0 /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libpano13.so ../../foreign/levmar/libhuginlevmar.a /usr/lib/x86_64-linux-gnu/libGLEW.so /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.74.0 /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libvigraimpex.so /usr/lib/x86_64-linux-gnu/libOpenEXR.so /usr/lib/x86_64-linux-gnu/libImath-3_1.so /usr/lib/x86_64-linux-gnu/libIex-3_1.so /usr/lib/x86_64-linux-gnu/libIlmThread-3_1.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libexiv2.so /usr/lib/x86_64-linux-gnu/liblcms2.so 
  /usr/bin/ld: cannot find -lhdf5: No such file or directory
  collect2: error: ld returned 1 exit status
  ~~~

  Find attached the patch used in the Debian package patch to fix this.

  cu Andreas

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/2002559/+subscriptions



References