I had Avidemux installed, but it was built against older version of x264 (also only required dependencies were used). Last night I had to upgrade x264 because of some software not available at SlackBuilds - I've compiled yasm and new x264 (using SlackBuilds of course). Avidemux then failed to run, so I guess I had to recompile it against new upgraded x264. Compilation process stopped at this error:<br>
<br>-----------------------<br>[ 37%] Building CXX object avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/ADM_x264.o<br>/usr/bin/c++ -O2 -march=native -O3 -DNDEBUG -I/tmp/SBo/avidemux-2.4.3 -I/tmp/SBo/avidemux-2.4.3/avidemux -I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries -I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries/ADM_utilities -I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries/ADM_lavutil -I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries/ADM_lavcodec -I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_userInterfaces/ADM_commonUI -I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_outputs -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/ADM_x264.o -c /tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp<br>
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp: In member function 'uint8_t X264Encoder::preamble(uint32_t, ADM_x264Param*)':<br>/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:112: error: 'struct x264_param_t::<anonymous>' has no member named 'b_bidir_me'<br>
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:112: error: 'struct x264_param_t::<anonymous>' has no member named 'b_bidir_me'<br>/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:113: error: 'struct x264_param_t' has no member named 'b_bframe_adaptive'<br>
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:113: error: 'struct x264_param_t' has no member named 'b_bframe_adaptive'<br>/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:126: error: 'struct x264_param_t::<anonymous>' has no member named 'b_bframe_rdo'<br>
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp: In member function 'virtual uint8_t X264EncoderPass1::init(uint32_t, uint32_t, ADM_x264Param*)':<br>/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:439: warning: deprecated conversion from string constant to 'char*'<br>
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp: In member function 'virtual uint8_t X264EncoderPass2::init(uint32_t, uint32_t, ADM_x264Param*)':<br>/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:475: warning: deprecated conversion from string constant to 'char*'<br>
make[2]: *** [avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/ADM_x264.o] Error 1<br>make[2]: Leaving directory `/tmp/SBo/avidemux-2.4.3'<br>make[1]: *** [avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/all] Error 2<br>make[1]: Leaving directory `/tmp/SBo/avidemux-2.4.3'<br>
make: *** [all] Error 2<br>-----------------------<br><br>I guess Avidemux SlackBuild maintainer should make some modifications to SlackBuild or I am doing something wrong...? :-/<br><br>Thank you in advance!<br><br>Alex<br>
<br>P. S.<br><br>I am using custom CFLAGS (-O2 -march=native), but same thing happens with default (-O2 -march=i486 -mtune=i686) CFLAGS.<br>