GDAL & OpenCV of the SuperBuild are outdated
OpenCV 4.13 (currently 4.12) is needed for ffmpeg 8 compatibility https://github.com/opencv/opencv/pull/27691 to fix
In Datei, eingebunden von ./ODM/SuperBuild/src/opencv/modules/videoio/src/cap_ffmpeg.cpp:50:
./ODM/SuperBuild/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function »void CvCapture_FFMPEG::close()«:
./ODM/SuperBuild/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:688:9: Fehler: »avcodec_close« wurde in diesem Gültigkeitsbereich nicht deklariert; meinten Sie »avio_close«?
688 | avcodec_close( context );
| ^~~~~~~~~~~~~
| avio_close
./ODM/SuperBuild/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function »void CvCapture_FFMPEG::get_rotation_angle()«:
./ODM/SuperBuild/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2008:12: Fehler: »av_stream_get_side_data« wurde in diesem Gültigkeitsbereich nicht deklariert; meinten Sie »av_frame_get_side_data«?
2008 | data = av_stream_get_side_data(video_st, AV_PKT_DATA_DISPLAYMATRIX, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~
| av_frame_get_side_data
May you please additionally update GDAL to 3.11.5 https://github.com/OSGeo/gdal/commit/6720262e3f40ca27d8cb4bc099fdf5c7786ac2df ?
Could we move this conversation over to the forum at https://community.opendronemap.org? The forum is the right place to ask questions (we try to keep the GitHub issue tracker for feature requests and bugs only). Thank you!
p.s. I'm just an automated script, not a human being.
@Saijin-Naib This is a build issue – please reopen!
Do you have a dataset we can reproduce the issue with and your full log?
The logs are in German and I'm building with
mkdir -p build && cd build
cmake ../SuperBuild
make
[ 65%] Linking CXX shared library ../../lib/libopencv_dnn.so
[ 65%] Built target opencv_dnn
make[3]: *** [Makefile:166: all] Fehler 2
make[2]: *** [CMakeFiles/opencv.dir/build.make:86: ./ODM/SuperBuild/build/opencv/stamp/opencv-build] Fehler 2
make[1]: *** [CMakeFiles/Makefile2:197: CMakeFiles/opencv.dir/all] Fehler 2
Apologies for the delay, @kiefernforst. We are moving towards a new build system. See https://community.opendronemap.org/t/moving-the-odm-build-system-to-pixi/26795.
TLDR, we will be able to handle dependencies much easier in the future and we are actively working on a bunch of version bumps.
Thank you for your patience.