alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.99k stars 826 forks source link

Build failure with Boost 1.81.0 #1332

Closed loqs closed 1 year ago

loqs commented 1 year ago

AliceVision 2.4.0 Boost 1.81.1

Build fails due to missing #include <list> in src/aliceVision/image/cache.hpp

$ cmake \
    -Bbuild \
    -GNinja \
    -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DCOINUTILS_INCLUDE_DIR_HINTS=/usr/include/coin \
    -DCLP_INCLUDE_DIR_HINTS=/usr/include/coin \
    -DOSI_INCLUDE_DIR_HINTS=/usr/include/coin \
    -DLEMON_INCLUDE_DIR_HINTS=/usr/include/lemon \
    -DPopSift_DIR=/usr \
    -DCCTag_DIR=/usr/lib/cmake/CCTag \
    -DUNCERTAINTYTE_DIR=/usr \
    -DMAGMA_ROOT=/usr \
    -DALICEVISION_BUILD_EXAMPLES=OFF \
    -DALICEVISION_USE_CUDA=OFF \
    -DALICEVISION_USE_CCTAG=ON \
    -DALICEVISION_USE_POPSIFT=ON \
    -DALICEVISION_USE_UNCERTAINTYTE=ON \
    -DALICEVISION_USE_ALEMBIC=ON \
    -DALICEVISION_USE_OPENGV=ON \
    -DALICEVISION_USE_OPENCV=ON
$ ninja -C build
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Force CMAKE_INSTALL_DO_STRIP in Release
-- ----------------------------------------
-- ALICEVISION_BUILD_DEPENDENCIES: OFF
-- ALICEVISION_BUILD_TESTS: OFF
-- 
-- AV_BUILD_CUDA: OFF
-- AV_BUILD_ZLIB: ON
-- AV_BUILD_TIFF: ON
-- AV_BUILD_JPEG: ON
-- AV_BUILD_PNG: ON
-- AV_BUILD_LIBRAW: ON
-- AV_BUILD_CCTAG: ON
-- AV_BUILD_POPSIFT: ON
-- AV_BUILD_OPENGV: ON
-- AV_BUILD_OPENCV: ON
-- AV_BUILD_LAPACK: ON
-- AV_BUILD_SUITESPARSE: ON
-- AV_BUILD_FFMPEG: ON
-- 
-- CMAKE_BUILD_TYPE: Release
-- DEPS_CMAKE_BUILD_TYPE: Release
-- CMAKE_INSTALL_LIBDIR: lib
-- CMAKE_INSTALL_PREFIX: /usr
-- CMAKE_INSTALL_RPATH: 
-- CMAKE_INSTALL_DO_STRIP: TRUE
-- ----------------------------------------
CMake version: 3.25
-- ** ALICEVISION_BUILD_DOC: 'AUTO'
-- ** ALICEVISION_USE_OPENMP: 'ON'
-- ** ALICEVISION_USE_CCTAG: 'ON'
-- ** ALICEVISION_USE_POPSIFT: 'ON'
-- ** ALICEVISION_USE_OPENGV: 'ON'
-- ** ALICEVISION_USE_ALEMBIC: 'ON'
-- ** ALICEVISION_USE_UNCERTAINTYTE: 'ON'
-- ** ALICEVISION_USE_CUDA: 'OFF'
-- ** ALICEVISION_USE_OPENCV: 'ON'
-- Force CMAKE_INSTALL_DO_STRIP in Release
-- target changed from "" to "auto"
-- Detected CPU: zen2
-- Performing Test check_c_compiler_flag__march_znver2
-- Performing Test check_c_compiler_flag__march_znver2 - Success
-- Performing Test check_cxx_compiler_flag__march_znver2
-- Performing Test check_cxx_compiler_flag__march_znver2 - Success
-- Performing Test check_c_compiler_flag__msse2
-- Performing Test check_c_compiler_flag__msse2 - Success
-- Performing Test check_cxx_compiler_flag__msse2
-- Performing Test check_cxx_compiler_flag__msse2 - Success
-- Performing Test check_c_compiler_flag__msse3
-- Performing Test check_c_compiler_flag__msse3 - Success
-- Performing Test check_cxx_compiler_flag__msse3
-- Performing Test check_cxx_compiler_flag__msse3 - Success
-- Looking for C++ include pmmintrin.h
-- Looking for C++ include pmmintrin.h - found
-- Performing Test check_c_compiler_flag__mssse3
-- Performing Test check_c_compiler_flag__mssse3 - Success
-- Performing Test check_cxx_compiler_flag__mssse3
-- Performing Test check_cxx_compiler_flag__mssse3 - Success
-- Looking for C++ include tmmintrin.h
-- Looking for C++ include tmmintrin.h - found
-- Performing Test check_c_compiler_flag__msse4_1
-- Performing Test check_c_compiler_flag__msse4_1 - Success
-- Performing Test check_cxx_compiler_flag__msse4_1
-- Performing Test check_cxx_compiler_flag__msse4_1 - Success
-- Looking for C++ include smmintrin.h
-- Looking for C++ include smmintrin.h - found
-- Performing Test check_c_compiler_flag__msse4_2
-- Performing Test check_c_compiler_flag__msse4_2 - Success
-- Performing Test check_cxx_compiler_flag__msse4_2
-- Performing Test check_cxx_compiler_flag__msse4_2 - Success
-- Performing Test check_c_compiler_flag__msse4a
-- Performing Test check_c_compiler_flag__msse4a - Success
-- Performing Test check_cxx_compiler_flag__msse4a
-- Performing Test check_cxx_compiler_flag__msse4a - Success
-- Looking for C++ include ammintrin.h
-- Looking for C++ include ammintrin.h - found
-- Performing Test check_c_compiler_flag__mavx
-- Performing Test check_c_compiler_flag__mavx - Success
-- Performing Test check_cxx_compiler_flag__mavx
-- Performing Test check_cxx_compiler_flag__mavx - Success
-- Looking for C++ include immintrin.h
-- Looking for C++ include immintrin.h - found
-- Performing Test check_c_compiler_flag__mfma
-- Performing Test check_c_compiler_flag__mfma - Success
-- Performing Test check_cxx_compiler_flag__mfma
-- Performing Test check_cxx_compiler_flag__mfma - Success
-- Performing Test check_c_compiler_flag__mbmi2
-- Performing Test check_c_compiler_flag__mbmi2 - Success
-- Performing Test check_cxx_compiler_flag__mbmi2
-- Performing Test check_cxx_compiler_flag__mbmi2 - Success
-- Performing Test check_c_compiler_flag__mavx2
-- Performing Test check_c_compiler_flag__mavx2 - Success
-- Performing Test check_cxx_compiler_flag__mavx2
-- Performing Test check_cxx_compiler_flag__mavx2 - Success
-- Performing Test check_c_compiler_flag__mno_xop
-- Performing Test check_c_compiler_flag__mno_xop - Success
-- Performing Test check_cxx_compiler_flag__mno_xop
-- Performing Test check_cxx_compiler_flag__mno_xop - Success
-- Performing Test check_c_compiler_flag__mno_fma4
-- Performing Test check_c_compiler_flag__mno_fma4 - Success
-- Performing Test check_cxx_compiler_flag__mno_fma4
-- Performing Test check_cxx_compiler_flag__mno_fma4 - Success
-- Performing Test check_c_compiler_flag__mno_avx512f
-- Performing Test check_c_compiler_flag__mno_avx512f - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512f
-- Performing Test check_cxx_compiler_flag__mno_avx512f - Success
-- Performing Test check_c_compiler_flag__mno_avx512vl
-- Performing Test check_c_compiler_flag__mno_avx512vl - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512vl
-- Performing Test check_cxx_compiler_flag__mno_avx512vl - Success
-- Performing Test check_c_compiler_flag__mno_avx512pf
-- Performing Test check_c_compiler_flag__mno_avx512pf - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512pf
-- Performing Test check_cxx_compiler_flag__mno_avx512pf - Success
-- Performing Test check_c_compiler_flag__mno_avx512er
-- Performing Test check_c_compiler_flag__mno_avx512er - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512er
-- Performing Test check_cxx_compiler_flag__mno_avx512er - Success
-- Performing Test check_c_compiler_flag__mno_avx512cd
-- Performing Test check_c_compiler_flag__mno_avx512cd - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512cd
-- Performing Test check_cxx_compiler_flag__mno_avx512cd - Success
-- Performing Test check_c_compiler_flag__mno_avx512dq
-- Performing Test check_c_compiler_flag__mno_avx512dq - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512dq
-- Performing Test check_cxx_compiler_flag__mno_avx512dq - Success
-- Performing Test check_c_compiler_flag__mno_avx512bw
-- Performing Test check_c_compiler_flag__mno_avx512bw - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512bw
-- Performing Test check_cxx_compiler_flag__mno_avx512bw - Success
-- Performing Test check_c_compiler_flag__mno_avx512ifma
-- Performing Test check_c_compiler_flag__mno_avx512ifma - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512ifma
-- Performing Test check_cxx_compiler_flag__mno_avx512ifma - Success
-- Performing Test check_c_compiler_flag__mno_avx512vbmi
-- Performing Test check_c_compiler_flag__mno_avx512vbmi - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512vbmi
-- Performing Test check_cxx_compiler_flag__mno_avx512vbmi - Success
-- Performing Test check_c_compiler_flag__Werror_return_type
-- Performing Test check_c_compiler_flag__Werror_return_type - Success
-- Performing Test check_cxx_compiler_flag__Werror_return_type
-- Performing Test check_cxx_compiler_flag__Werror_return_type - Success
-- Performing Test check_c_compiler_flag__Werror_switch
-- Performing Test check_c_compiler_flag__Werror_switch - Success
-- Performing Test check_cxx_compiler_flag__Werror_switch
-- Performing Test check_cxx_compiler_flag__Werror_switch - Success
-- Performing Test check_c_compiler_flag__Werror_return_local_addr
-- Performing Test check_c_compiler_flag__Werror_return_local_addr - Success
-- Performing Test check_cxx_compiler_flag__Werror_return_local_addr
-- Performing Test check_cxx_compiler_flag__Werror_return_local_addr - Success
-- Checking for C++11 compiler
-- Checking for C++11 compiler - available
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- OpenMP found.
-- Boost  found.
-- Found Threads: TRUE  
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") 
-- OpenEXR found (without config). (Version )
-- OpenImageIO found.
-- Did not find MOSEK header
-- Did not find MOSEK library
-- Could not find mosek library on this machine.
-- Trying to find package Ceres for aliceVision: 
-- By default, Ceres required SuiteSparse to ensure best performances. if you explicitly need to build without it, you can use the option: -DALICEVISION_REQUIRE_CERES_WITH_SUITESPARSE=OFF
-- Found AMD headers in: /usr/include
-- Found AMD library: /usr/lib/libamd.so
-- Found CAMD headers in: /usr/include
-- Found CAMD library: /usr/lib/libcamd.so
-- Found CCOLAMD headers in: /usr/include
-- Found CCOLAMD library: /usr/lib/libccolamd.so
-- Found CHOLMOD headers in: /usr/include
-- Found CHOLMOD library: /usr/lib/libcholmod.so
-- Found COLAMD headers in: /usr/include
-- Found COLAMD library: /usr/lib/libcolamd.so
-- Found SPQR headers in: /usr/include
-- Found SPQR library: /usr/lib/libspqr.so
-- Found Config headers in: /usr/include
-- Found Config library: /usr/lib/libsuitesparseconfig.so
-- Found Intel Thread Building Blocks (TBB) library (2021.5 / ) include location: . Assuming SuiteSparseQR was compiled with TBB.
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- Adding librt to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Could NOT find METIS (missing: METIS_INCLUDE_DIR METIS_LIBRARY) 
-- Ceres include dirs 
-- Ceres libraries Ceres::ceres
-- Found AMD headers in: /usr/include
-- Found AMD library: /usr/lib/libamd.so
-- Found CAMD headers in: /usr/include
-- Found CAMD library: /usr/lib/libcamd.so
-- Found COLAMD headers in: /usr/include
-- Found COLAMD library: /usr/lib/libcolamd.so
-- Found CCOLAMD headers in: /usr/include
-- Found CCOLAMD library: /usr/lib/libccolamd.so
-- Found CHOLMOD headers in: /usr/include
-- Found CHOLMOD library: /usr/lib/libcholmod.so
-- Found SUITESPARSEQR headers in: /usr/include
-- Found SUITESPARSEQR library: /usr/lib/libspqr.so
-- Found TBB library: /usr/lib/libtbb.so
-- Found Intel Thread Building Blocks (TBB) library: /usr/lib/libtbb.so, assuming SuiteSparseQR was compiled with TBB.
-- Found TBB_MALLOC library: /usr/lib/libtbbmalloc.so
-- Found Intel Thread Building Blocks (TBB) Malloc library: /usr/lib/libtbbmalloc.so
-- Found SUITESPARSE_CONFIG headers in: /usr/include
-- Found SUITESPARSE_CONFIG library: /usr/lib/libsuitesparseconfig.so
-- Found LIBRT library: /usr/lib/librt.a
-- Adding librt: /usr/lib/librt.a to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Did not find METIS library (optional SuiteSparse dependency)
-- Found SuiteSparse: TRUE (found version "..") 
-- SUITESPARSE_LIBRARIES: /usr/lib/libspqr.so;/usr/lib/libtbb.so;/usr/lib/libtbbmalloc.so;/usr/lib/libcholmod.so;/usr/lib/libccolamd.so;/usr/lib/libcamd.so;/usr/lib/libcolamd.so;/usr/lib/libamd.so;blas;lapack;/usr/lib/libblas.so;/usr/lib/libsuitesparseconfig.so;/usr/lib/librt.a
-- CERES_LIBRARIES: Ceres::ceres;/usr/lib/libspqr.so;/usr/lib/libtbb.so;/usr/lib/libtbbmalloc.so;/usr/lib/libcholmod.so;/usr/lib/libccolamd.so;/usr/lib/libcamd.so;/usr/lib/libcolamd.so;/usr/lib/libamd.so;blas;lapack;/usr/lib/libblas.so;/usr/lib/libsuitesparseconfig.so;/usr/lib/librt.a
-- CERES_INCLUDE_DIRS: 
-- CoinUtils 2.11.6 found (include: /usr/include/coin)
-- Clp 1.17.7 found (include: /usr/include/coin)
-- Osi 0.108.7 found (include: /usr/include/coin)
-- Lemon 1.3.1 found (include: /usr/include/lemon)
-- Found OpenCV: /usr (found version "4.7.0") found components: core imgproc video imgcodecs videoio features2d xfeatures2d 
-- OpenCV found.
-- Alembic version 1.8.4 found.
-- Found OpenCV: /usr (found version "4.7.0") found components: opencv_calib3d opencv_core opencv_dnn opencv_features2d opencv_flann opencv_gapi opencv_highgui opencv_imgcodecs opencv_imgproc opencv_ml opencv_objdetect opencv_photo opencv_stitching opencv_video opencv_videoio opencv_alphamat opencv_aruco opencv_barcode opencv_bgsegm opencv_bioinspired opencv_ccalib opencv_cvv opencv_datasets opencv_dnn_objdetect opencv_dnn_superres opencv_dpm opencv_face opencv_freetype opencv_fuzzy opencv_hdf opencv_hfs opencv_img_hash opencv_intensity_transform opencv_line_descriptor opencv_mcc opencv_optflow opencv_phase_unwrapping opencv_plot opencv_quality opencv_rapid opencv_reg opencv_rgbd opencv_saliency opencv_shape opencv_stereo opencv_structured_light opencv_superres opencv_surface_matching opencv_text opencv_tracking opencv_videostab opencv_viz opencv_wechat_qrcode opencv_xfeatures2d opencv_ximgproc opencv_xobjdetect opencv_xphoto 
-- CCTAG 1.0.3 found.
-- PopSIFT found.
-- OpenGV 1.0 found.
-- Looking for UncertaintyTE.
-- UncertaintyTE headers found in /usr/include
-- Looking for MAGMA dependency...
CMake Warning (dev) at src/cmake/FindUncertaintyTE.cmake:38 (FIND_PACKAGE):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable MAGMA_ROOT is set to:

    /usr

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  src/CMakeLists.txt:643 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- UncertaintyTE include directory: /usr/include;/usr/include
-- UncertaintyTE libraries found: /usr/lib/libuncertaintyTE.so;/usr/lib/libmagma.so
-- UncertaintyTE libraries directories: /usr/lib/libuncertaintyTE.so;/usr/lib
-- Found UncertaintyTE: /usr/lib/libuncertaintyTE.so;/usr/lib/libmagma.so  
-- UncertaintyTE found.
-- Found Geogram: /usr/lib/libgeogram.so  
-- Geogram: /usr/lib/libgeogram.so, /usr/include/geogram1
GNU compiler found.
OpenMP found. OpenMP activated in release.
generatedDir: /build/alice-vision/src/AliceVision/build/src/generated
-- Found Sphinx: /usr/bin/sphinx-build  
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.6") found components: doxygen missing components: dot
-- Sphinx found.
-- Doxygen found.

** AliceVision version: 2.4.0
** Target architecture: zen2
** Build Shared libs: ON
** Build SfM part: ON
** Build MVS part: ON
** Build AliceVision tests: OFF
** Build AliceVision documentation: 1
** Build AliceVision samples programs: OFF
** Build AliceVision+OpenCV samples programs: 1
** Build UncertaintyTE: 1
** Build MeshSDFilter: 1
** Build Alembic exporter: 1
** Enable code coverage generation: OFF
** Enable OpenMP parallelization: 1
** Use CUDA: 0
** Use OpenCV SIFT features: 0
** Use PopSift feature extractor: 1
** Use CCTAG markers: 1
** Use OpenGV for rig localization: 1

-- EIGEN: 
-- CERES: 2.1.0
-- FLANN:  (internal)
-- CLP: 1.17.7 (external)
-- COINUTILS: 2.11.6 (external)
-- OSI: 0.108.7 (external)
-- LEMON: 1.3.1 (external)

CMake Deprecation Warning at src/dependencies/vectorGraphics/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Configuring done
-- Generating done
-- Build files have been written to: /build/alice-vision/src/AliceVision/build
ninja: Entering directory `build'
....
[78/502] Building CXX object src/aliceVision/image/CMakeFiles/aliceVision_image.dir/cache.cpp.o
FAILED: src/aliceVision/image/CMakeFiles/aliceVision_image.dir/cache.cpp.o 
/usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0 -DTHIS_SOURCE_DIR=\"/build/alice-vision/src/AliceVision/src/aliceVision/image\" -DaliceVision_image_EXPORTS -I/usr/include/opencv4 -I/build/alice-vision/src/AliceVision/src -I/build/alice-vision/src/AliceVision/build/src/generated -I/build/alice-vision/src/AliceVision/src/dependencies -I/build/alice-vision/src/AliceVision/src/dependencies/flann/src/cpp -I/usr/include/coin -isystem /usr/include/eigen3 -isystem /usr/include/Imath -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -march=znver2 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -Werror=return-type -Werror=switch -Werror=return-local-addr -fopenmp -O3 -fPIC -std=gnu++14 -MD -MT src/aliceVision/image/CMakeFiles/aliceVision_image.dir/cache.cpp.o -MF src/aliceVision/image/CMakeFiles/aliceVision_image.dir/cache.cpp.o.d -o src/aliceVision/image/CMakeFiles/aliceVision_image.dir/cache.cpp.o -c /build/alice-vision/src/AliceVision/src/aliceVision/image/cache.cpp
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/image/cache.cpp:2:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:23:1: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
   22 | #include <queue>
  +++ |+#include <list>
   23 | 
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 2 is invalid
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                                  ^~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 5 is invalid
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:251:3: error: ‘IndexedFreeBlocks’ does not name a type
  251 |   IndexedFreeBlocks _freeBlocks;
      |   ^~~~~~~~~~~~~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.cpp: In member function ‘size_t aliceVision::image::CacheManager::getFreeBlockId(size_t)’:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.cpp:191:44: error: ‘_freeBlocks’ was not declared in this scope
  191 |   std::list<size_t> & freeBlocksForCount = _freeBlocks[blockCount];
      |                                            ^~~~~~~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.cpp: In member function ‘void aliceVision::image::CacheManager::addFreeBlock(size_t, size_t)’:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.cpp:299:3: error: ‘_freeBlocks’ was not declared in this scope
  299 |   _freeBlocks[blockCount].push_back(blockId);
      |   ^~~~~~~~~~~
[79/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/FeaturesPerView.cpp.o
[80/502] Building CXX object src/aliceVision/colorHarmonization/CMakeFiles/aliceVision_colorHarmonization.dir/GainOffsetConstraintBuilder.cpp.o
[81/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/imageDescriberCommon.cpp.o
[82/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/gaussian.cpp.o
/build/alice-vision/src/AliceVision/src/aliceVision/panorama/gaussian.cpp: In member function ‘bool aliceVision::GaussianPyramidNoMask::process(const aliceVision::image::Image<aliceVision::image::Rgb<float> >&)’:
/build/alice-vision/src/AliceVision/src/aliceVision/panorama/gaussian.cpp:48:36: warning: ‘bool OpenImageIO_v2_4::ImageBufAlgo::make_kernel(OpenImageIO_v2_4::ImageBuf&, OpenImageIO_v2_4::string_view, float, float, float, bool)’ is deprecated: use version that returns ImageBuf (1.9) [-Wdeprecated-declarations]
   48 |     oiio::ImageBufAlgo::make_kernel(K, "gaussian", 5, 5);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/image/resampling.hpp:17,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/image/all.hpp:20,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/gaussian.hpp:3,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/gaussian.cpp:1:
/usr/include/OpenImageIO/imagebufalgo.h:1537:13: note: declared here
 1537 | inline bool make_kernel (ImageBuf &dst, string_view name,
      |             ^~~~~~~~~~~
[83/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/imageOps.cpp.o
FAILED: src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/imageOps.cpp.o 
/usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0 -DaliceVision_panorama_EXPORTS -I/usr/include/opencv4 -I/build/alice-vision/src/AliceVision/src -I/build/alice-vision/src/AliceVision/build/src/generated -I/build/alice-vision/src/AliceVision/src/dependencies -I/build/alice-vision/src/AliceVision/src/dependencies/flann/src/cpp -I/usr/include/coin -isystem /usr/include/eigen3 -isystem /usr/include/Imath -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -march=znver2 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -Werror=return-type -Werror=switch -Werror=return-local-addr -fopenmp -O3 -fPIC -std=gnu++14 -MD -MT src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/imageOps.cpp.o -MF src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/imageOps.cpp.o.d -o src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/imageOps.cpp.o -c /build/alice-vision/src/AliceVision/src/aliceVision/panorama/imageOps.cpp
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/cachedImage.hpp:4,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/imageOps.hpp:4,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/imageOps.cpp:1:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:23:1: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
   22 | #include <queue>
  +++ |+#include <list>
   23 | 
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 2 is invalid
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                                  ^~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 5 is invalid
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:251:3: error: ‘IndexedFreeBlocks’ does not name a type
  251 |   IndexedFreeBlocks _freeBlocks;
      |   ^~~~~~~~~~~~~~~~~
[84/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/feathering.cpp.o
FAILED: src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/feathering.cpp.o 
/usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0 -DaliceVision_panorama_EXPORTS -I/usr/include/opencv4 -I/build/alice-vision/src/AliceVision/src -I/build/alice-vision/src/AliceVision/build/src/generated -I/build/alice-vision/src/AliceVision/src/dependencies -I/build/alice-vision/src/AliceVision/src/dependencies/flann/src/cpp -I/usr/include/coin -isystem /usr/include/eigen3 -isystem /usr/include/Imath -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -march=znver2 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -Werror=return-type -Werror=switch -Werror=return-local-addr -fopenmp -O3 -fPIC -std=gnu++14 -MD -MT src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/feathering.cpp.o -MF src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/feathering.cpp.o.d -o src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/feathering.cpp.o -c /build/alice-vision/src/AliceVision/src/aliceVision/panorama/feathering.cpp
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/cachedImage.hpp:4,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/feathering.hpp:5,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/feathering.cpp:1:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:23:1: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
   22 | #include <queue>
  +++ |+#include <list>
   23 | 
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 2 is invalid
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                                  ^~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 5 is invalid
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:251:3: error: ‘IndexedFreeBlocks’ does not name a type
  251 |   IndexedFreeBlocks _freeBlocks;
      |   ^~~~~~~~~~~~~~~~~
[85/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/cachedImage.cpp.o
FAILED: src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/cachedImage.cpp.o 
/usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0 -DaliceVision_panorama_EXPORTS -I/usr/include/opencv4 -I/build/alice-vision/src/AliceVision/src -I/build/alice-vision/src/AliceVision/build/src/generated -I/build/alice-vision/src/AliceVision/src/dependencies -I/build/alice-vision/src/AliceVision/src/dependencies/flann/src/cpp -I/usr/include/coin -isystem /usr/include/eigen3 -isystem /usr/include/Imath -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -march=znver2 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -Werror=return-type -Werror=switch -Werror=return-local-addr -fopenmp -O3 -fPIC -std=gnu++14 -MD -MT src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/cachedImage.cpp.o -MF src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/cachedImage.cpp.o.d -o src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/cachedImage.cpp.o -c /build/alice-vision/src/AliceVision/src/aliceVision/panorama/cachedImage.cpp
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/cachedImage.hpp:4,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/cachedImage.cpp:1:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:23:1: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
   22 | #include <queue>
  +++ |+#include <list>
   23 | 
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 2 is invalid
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                                  ^~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 5 is invalid
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:251:3: error: ‘IndexedFreeBlocks’ does not name a type
  251 |   IndexedFreeBlocks _freeBlocks;
      |   ^~~~~~~~~~~~~~~~~
[86/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/akaze/descriptorLIOP.cpp.o
[87/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/sift/ImageDescriber_SIFT_popSIFT.cpp.o
[88/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/imageStats.cpp.o
[89/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/sift/ImageDescriber_DSPSIFT_vlfeat.cpp.o
[90/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/ImageDescriber.cpp.o
[91/502] Building CXX object src/dependencies/MeshSDFilter/CMakeFiles/OpenMesh.dir/external/OpenMesh/Core/IO/reader/PLYReader.cc.o
In file included from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Utils/Property.hh:57,
                 from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Utils/PropertyContainer.hh:57,
                 from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Mesh/BaseKernel.hh:71,
                 from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/importer/BaseImporter.hh:70,
                 from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/BaseReader.hh:75,
                 from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:72,
                 from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:57:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Mesh/Handles.hh:168:17: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  168 |   : public std::unary_function<OpenMesh::BaseHandle, std::size_t>
      |                 ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.0/string:48,
                 from /usr/include/c++/12.2.0/bits/locale_classes.h:40,
                 from /usr/include/c++/12.2.0/bits/ios_base.h:41,
                 from /usr/include/c++/12.2.0/ios:42,
                 from /usr/include/c++/12.2.0/istream:38,
                 from /usr/include/c++/12.2.0/fstream:38,
                 from /build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:1:
/usr/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Mesh/Handles.hh:179:17: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  179 |   : public std::unary_function<OpenMesh::VertexHandle, std::size_t>
      |                 ^~~~~~~~~~~~~~
/usr/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Mesh/Handles.hh:190:17: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  190 |   : public std::unary_function<OpenMesh::HalfedgeHandle, std::size_t>
      |                 ^~~~~~~~~~~~~~
/usr/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Mesh/Handles.hh:201:17: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  201 |   : public std::unary_function<OpenMesh::EdgeHandle, std::size_t>
      |                 ^~~~~~~~~~~~~~
/usr/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/Mesh/Handles.hh:212:17: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  212 |   : public std::unary_function<OpenMesh::FaceHandle, std::size_t>
      |                 ^~~~~~~~~~~~~~
/usr/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/BaseReader.hh: In function ‘std::string& OpenMesh::IO::left_trim(std::string&)’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/BaseReader.hh:160:111: warning: ‘std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]’ is deprecated: use 'std::function' instead [-Wdeprecated-declarations]
  160 |   _string.erase(_string.begin(), std::find_if(_string.begin(), _string.end(), std::not1(std::ptr_fun<int, int>(std::isspace))));
      |                                                                                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/c++/12.2.0/bits/stl_function.h:1126:5: note: declared here
 1126 |     ptr_fun(_Result (*__x)(_Arg))
      |     ^~~~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/BaseReader.hh: In function ‘std::string& OpenMesh::IO::right_trim(std::string&)’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/BaseReader.hh:172:96: warning: ‘std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]’ is deprecated: use 'std::function' instead [-Wdeprecated-declarations]
  172 |   _string.erase(std::find_if(_string.rbegin(), _string.rend(), std::not1(std::ptr_fun<int, int>(std::isspace))).base(), _string.end());
      |                                                                          ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/c++/12.2.0/bits/stl_function.h:1126:5: note: declared here
 1126 |     ptr_fun(_Result (*__x)(_Arg))
      |     ^~~~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = signed char; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:208:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = signed char; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:244:51:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
  203 |   inline void read(_PLYReader_::ValueType _type, std::istream& _in, T& _value, OpenMesh::GenProg::FalseType /*_binary*/) const
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = int; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:223:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = signed char; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:244:51:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = unsigned char; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:208:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = unsigned char; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:248:53:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = short int; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:208:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = short int; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:252:45:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = short unsigned int; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:208:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = short unsigned int; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:256:54:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = unsigned int; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:208:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = unsigned int; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:264:52:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = float; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:208:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = float; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:268:45:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh: In instantiation of ‘void OpenMesh::IO::_PLYReader_::read(ValueType, std::istream&, T&, OpenMesh::GenProg::FalseType) const [with T = double; std::istream = std::basic_istream<char>; OpenMesh::GenProg::FalseType = OpenMesh::GenProg::Bool2Type<false>]’:
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:208:9:   required from ‘void OpenMesh::IO::_PLYReader_::readCreateCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; T = double; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:272:46:   required from ‘void OpenMesh::IO::_PLYReader_::readCustomProperty(std::istream&, OpenMesh::IO::BaseImporter&, Handle, const std::string&, ValueType, ValueType) const [with bool binary = false; Handle = OpenMesh::VertexHandle; std::istream = std::basic_istream<char>; std::string = std::__cxx11::basic_string<char>]’
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.cc:393:44:   required from here
/build/alice-vision/src/AliceVision/src/dependencies/MeshSDFilter/external/OpenMesh/Core/IO/reader/PLYReader.hh:203:43: warning: unused parameter ‘_type’ [-Wunused-parameter]
[92/502] Building CXX object src/aliceVision/system/CMakeFiles/aliceVision_system.dir/Logger.cpp.o
[93/502] Building CXX object src/aliceVision/dataio/CMakeFiles/aliceVision_dataio.dir/FeedProvider.cpp.o
[94/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/akaze/ImageDescriber_AKAZE.cpp.o
[95/502] Building CXX object src/aliceVision/numeric/CMakeFiles/aliceVision_numeric.dir/projection.cpp.o
[96/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/akaze/AKAZE.cpp.o
[97/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/sift/SIFT.cpp.o
[98/502] Building CXX object src/aliceVision/dataio/CMakeFiles/aliceVision_dataio.dir/IFeed.cpp.o
[99/502] Building CXX object src/aliceVision/image/CMakeFiles/aliceVision_image.dir/io.cpp.o
/build/alice-vision/src/AliceVision/src/aliceVision/image/io.cpp: In function ‘bool aliceVision::image::containsHalfFloatOverflow(const OpenImageIO_v2_4::ImageBuf&)’:
/build/alice-vision/src/AliceVision/src/aliceVision/image/io.cpp:395:42: warning: ‘bool OpenImageIO_v2_4::ImageBufAlgo::computePixelStats(PixelStats&, const OpenImageIO_v2_4::ImageBuf&, OpenImageIO_v2_4::ROI, int)’ is deprecated: use version that returns PixelStats (1.9) [-Wdeprecated-declarations]
  395 |     oiio::ImageBufAlgo::computePixelStats(stats, image);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/image/resampling.hpp:17,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/image/all.hpp:20,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/image/io.cpp:9:
/usr/include/OpenImageIO/imagebufalgo.h:1281:15: note: declared here
 1281 | bool OIIO_API computePixelStats (PixelStats &stats, const ImageBuf &src,
      |               ^~~~~~~~~~~~~~~~~
[100/502] Building CXX object src/aliceVision/feature/CMakeFiles/aliceVision_feature.dir/openCV/ImageDescriber_AKAZE_OCV.cpp.o
[101/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/distance.cpp.o
[102/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/remapBbox.cpp.o
[103/502] Building CXX object src/aliceVision/dataio/CMakeFiles/aliceVision_dataio.dir/VideoFeed.cpp.o
[104/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/warper.cpp.o
[105/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/coordinatesMap.cpp.o
[106/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/seams.cpp.o
FAILED: src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/seams.cpp.o 
/usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0 -DaliceVision_panorama_EXPORTS -I/usr/include/opencv4 -I/build/alice-vision/src/AliceVision/src -I/build/alice-vision/src/AliceVision/build/src/generated -I/build/alice-vision/src/AliceVision/src/dependencies -I/build/alice-vision/src/AliceVision/src/dependencies/flann/src/cpp -I/usr/include/coin -isystem /usr/include/eigen3 -isystem /usr/include/Imath -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -march=znver2 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -Werror=return-type -Werror=switch -Werror=return-local-addr -fopenmp -O3 -fPIC -std=gnu++14 -MD -MT src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/seams.cpp.o -MF src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/seams.cpp.o.d -o src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/seams.cpp.o -c /build/alice-vision/src/AliceVision/src/aliceVision/panorama/seams.cpp
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/cachedImage.hpp:4,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/seams.hpp:6,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/seams.cpp:1:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:23:1: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
   22 | #include <queue>
  +++ |+#include <list>
   23 | 
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 2 is invalid
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                                  ^~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 5 is invalid
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:251:3: error: ‘IndexedFreeBlocks’ does not name a type
  251 |   IndexedFreeBlocks _freeBlocks;
      |   ^~~~~~~~~~~~~~~~~
[107/502] Building CXX object src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/laplacianPyramid.cpp.o
FAILED: src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/laplacianPyramid.cpp.o 
/usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0 -DaliceVision_panorama_EXPORTS -I/usr/include/opencv4 -I/build/alice-vision/src/AliceVision/src -I/build/alice-vision/src/AliceVision/build/src/generated -I/build/alice-vision/src/AliceVision/src/dependencies -I/build/alice-vision/src/AliceVision/src/dependencies/flann/src/cpp -I/usr/include/coin -isystem /usr/include/eigen3 -isystem /usr/include/Imath -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -march=znver2 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -Werror=return-type -Werror=switch -Werror=return-local-addr -fopenmp -O3 -fPIC -std=gnu++14 -MD -MT src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/laplacianPyramid.cpp.o -MF src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/laplacianPyramid.cpp.o.d -o src/aliceVision/panorama/CMakeFiles/aliceVision_panorama.dir/laplacianPyramid.cpp.o -c /build/alice-vision/src/AliceVision/src/aliceVision/panorama/laplacianPyramid.cpp
In file included from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/cachedImage.hpp:4,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/imageOps.hpp:4,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/laplacianPyramid.hpp:3,
                 from /build/alice-vision/src/AliceVision/src/aliceVision/panorama/laplacianPyramid.cpp:1:
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:23:1: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
   22 | #include <queue>
  +++ |+#include <list>
   23 | 
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: error: ‘list’ is not a member of ‘std’
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                             ^~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:61: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 2 is invalid
  137 |   using IndexedFreeBlocks = std::unordered_map<size_t, std::list<size_t>>;
      |                                                                  ^~~~~~
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:137:66: error: template argument 5 is invalid
/build/alice-vision/src/AliceVision/src/aliceVision/image/cache.hpp:251:3: error: ‘IndexedFreeBlocks’ does not name a type
  251 |   IndexedFreeBlocks _freeBlocks;
      |   ^~~~~~~~~~~~~~~~~
....
ninja: build stopped: subcommand failed.
fabiencastan commented 1 year ago

Could you create a PR to add the missing include?