Error during compiling Avidemux

Started by dacorsa, January 26, 2025, 12:26:47 PM

Previous topic - Next topic

dacorsa

adding :
export QTDIR=/home/dacorsa/Qt/6.8.2/gcc_64/

make running more the compile but stuck always in :
** Failed at make -j 32, result in /tmp/logbuildPluginsQt6 **


szlldm

it cannot find vapoursynth's VSScript.h

dacorsa

Quote from: szlldm on January 30, 2025, 05:49:04 PMit cannot find vapoursynth's VSScript.h
maybe in cd /usr/include/vapoursynth

eumagga0x2a

As explained above, for reason I don't yet understand, VAPOURSYNTHSCRIPT_CFLAGS set in avidemux_plugins/cmake/admCheckVapourSynth.cmake:33 retain quotes. Usually, cmake should have dropped them. This breaks compilation on your system, i.e. instead of

/usr/bin/c++ -DADM_UI_TYPE_BUILD=ADM_UI_QT4 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/app/avidemux2/install/usr/include/avidemux/2.8 -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_core -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioFilter -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioParser -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudio -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioDevice -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioEncoder -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreDemuxer -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreDemuxer/unix -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreDemuxerMpeg -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreImage -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreMuxer -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreScript -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreUI -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreUtils -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreVideoEncoder -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreVideoFilter -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreVideoCodec -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreImageLoader -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreJobs -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreSocket -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioCodec -I/app/avidemux2/install/usr/include/avidemux/2.8/ffmpeg -I/app/avidemux2/avidemux_plugins/ADM_demuxers/VapourSynth/qt4 -I/home/dacorsa/Qt/6.8.2/gcc_64/include/QtDBus -I/home/dacorsa/Qt/6.8.2/gcc_64/include/QtNetwork -I/app/avidemux2/buildPluginsQt6/ADM_demuxers/VapourSynth/qt4 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/fribidi -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtCore -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtWidgets -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtGui -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtOpenGLWidgets -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtOpenGL -isystem /home/dacorsa/Qt/6.8.2/gcc_64/mkspecs/linux-g++ -fmessage-length=0 -fmessage-length=0 -O3 -DNDEBUG -std=c++17  -Werror=attributes -O2 -I/usr/include/vapoursynth -DVAPOURSYNTH_PYTHONLIB='\"libpython3.12.so\"' -fPIC -MD -MT ADM_demuxers/VapourSynth/qt4/CMakeFiles/vsProxy_gui_qt6.dir/__/ADM_vsProxy.cpp.o -MF CMakeFiles/vsProxy_gui_qt6.dir/__/ADM_vsProxy.cpp.o.d -o CMakeFiles/vsProxy_gui_qt6.dir/__/ADM_vsProxy.cpp.o -c /app/avidemux2/avidemux_plugins/ADM_demuxers/VapourSynth/ADM_vsProxy.cpp


you get

/usr/bin/c++ -DADM_UI_TYPE_BUILD=ADM_UI_QT4 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/app/avidemux2/install/usr/include/avidemux/2.8 -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_core -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioFilter -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioParser -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudio -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioDevice -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioEncoder -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreDemuxer -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreDemuxer/unix -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreDemuxerMpeg -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreImage -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreMuxer -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreScript -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreUI -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreUtils -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreVideoEncoder -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreVideoFilter -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreVideoCodec -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreImageLoader -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreJobs -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreSocket -I/app/avidemux2/install/usr/include/avidemux/2.8/ADM_coreAudioCodec -I/app/avidemux2/install/usr/include/avidemux/2.8/ffmpeg -I/app/avidemux2/avidemux_plugins/ADM_demuxers/VapourSynth/qt4 -I/home/dacorsa/Qt/6.8.2/gcc_64/include/QtDBus -I/home/dacorsa/Qt/6.8.2/gcc_64/include/QtNetwork -I/app/avidemux2/buildPluginsQt6/ADM_demuxers/VapourSynth/qt4 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/fribidi -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtCore -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtWidgets -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtGui -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtOpenGLWidgets -isystem /home/dacorsa/Qt/6.8.2/gcc_64/include/QtOpenGL -isystem /home/dacorsa/Qt/6.8.2/gcc_64/mkspecs/linux-g++ -fmessage-length=0 -fmessage-length=0 -O3 -DNDEBUG -std=c++17  -Werror=attributes -O2 "-I/usr/include/vapoursynth -DVAPOURSYNTH_PYTHONLIB='\"libpython3.12.so\"'" -fPIC -MD -MT ADM_demuxers/VapourSynth/qt4/CMakeFiles/vsProxy_gui_qt6.dir/__/ADM_vsProxy.cpp.o -MF CMakeFiles/vsProxy_gui_qt6.dir/__/ADM_vsProxy.cpp.o.d -o CMakeFiles/vsProxy_gui_qt6.dir/__/ADM_vsProxy.cpp.o -c /app/avidemux2/avidemux_plugins/ADM_demuxers/VapourSynth/ADM_vsProxy.cpp


Please notice the quote before -I/usr/include/vapoursynth which should not be there.

eumagga0x2a