News:

--

Main Menu

Build fails in plugins ass FIXED

Started by Blues, July 21, 2012, 07:00:45 PM

Previous topic - Next topic

Blues

I just synced with avidemux_2.6_branch_mean, below is what I get. What am I missing?
[ 86%] Building C object ADM_videoFilters6/ass/ADM_libass/CMakeFiles/ADM_libass.dir/ass_bitmap.c.o
cd /home/saul/work/avidemux_2.6_branch_mean/buildPluginsCommon/ADM_videoFilters6/ass/ADM_libass && /usr/bin/gcc  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DCONFIG_FONTCONFIG=1 -DCONFIG_ICONV=1 -fmessage-length=0 -fmessage-length=0 -O3 -DNDEBUG -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_core/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreAudioFilter/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreAudioParser/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreAudio/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreAudioDevice/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreAudioEncoder/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreDemuxer/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreDemuxerMpeg/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreImage/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreMuxer/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreScript/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreUI/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreUtils/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreVideoEncoder/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreVideoFilter/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreVideoCodec/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreImageLoader/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_core/ADM_coreJobs/include -I/home/saul/work/avidemux_2.6_branch_mean/install/usr/include/avidemux/2.6 -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/ADM_muxerGate/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/../common -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/../common/ADM_audioFilter/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/../common/ADM_commonUI -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/../common/ADM_videoFilter2/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/../common/ADM_videoEncoder/include -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/../common/ADM_editor/include -I/home/saul/work/avidemux_2.6_branch_mean/ffmpeg -I/home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/ADM_videoFilters6/ass/ADM_libass    -I/usr/include/freetype2 -I/usr/include -I/usr/include/fribidi;-I/usr/include/glib-2.0;-I/usr/lib64/glib-2.0/include  -fPIC -o CMakeFiles/ADM_libass.dir/ass_bitmap.c.o   -c /home/saul/work/avidemux_2.6_branch_mean/avidemux_plugins/ADM_videoFilters6/ass/ADM_libass/ass_bitmap.c
gcc: fatal error: no input files
compilation terminated.
/bin/sh: -I/usr/include/glib-2.0: No such file or directory
/bin/sh: -I/usr/lib64/glib-2.0/include: No such file or directory
make[2]: *** [ADM_videoFilters6/ass/ADM_libass/CMakeFiles/ADM_libass.dir/ass_bitmap.c.o] Error 127
make[2]: Leaving directory `/home/saul/work/avidemux_2.6_branch_mean/buildPluginsCommon'
make[1]: *** [ADM_videoFilters6/ass/ADM_libass/CMakeFiles/ADM_libass.dir/all] Error 2
make[1]: Leaving directory `/home/saul/work/avidemux_2.6_branch_mean/buildPluginsCommon'
make: *** [all] Error 2

mean

The problem is probably this, the ";" are not valid separator
  -I/usr/include/freetype2 -I/usr/include -I/usr/include/fribidi;-I/usr/include/glib-2.0;-I/usr/lib64/glib-2.0/include 


mean

what is the output of
pkg-config --cflags fribidi

?

Blues

~ $ pkg-config --cflags fribidi
-I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include

zylantha

I have successfully managed to build with this issue by implementing madchic's fix into the bootStrap.bash file here:

        cmake $PKG $FAKEROOT -DCMAKE_EDIT_COMMAND=vim -DAVIDEMUX_SOURCE_DIR=$TOP -DCMAKE_INSTALL_PREFIX=/usr $EXTRA $DEBUG -G "$BUILDER" $SOURCEDIR || fail cmakeZ
+      for i in $(grep -R -- ";-I" * | cut -d ":" -f1 | sort -u); do sed 's/;-I/ -I/g' -i $i; done
        make  $PARAL >& /tmp/log$BUILDDIR || fail "make, result in /tmp/log$BUILDDIR"

This still needs fixing upstream, however.

mean