Changes between Initial Version and Version 1 of Ticket #40581, comment 3


Ignore:
Timestamp:
Sep 25, 2013, 3:59:50 PM (11 years ago)
Author:
dbevans (David B. Evans)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40581, comment 3

    initial v1  
    33I then deactivated ffmpeg and tried again.  This got rid of the AVCODEC_MAX_AUDIO_FRAME_SIZE error.  However, it then failed as follows:
    44
     5
     6{{{
    57cc -I/opt/local/include -O3  -arch x86_64 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -fvisibility="hidden" -DGPAC_HAVE_CONFIG_H -I"/opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_gpac/gpac/work/gpac" -Wno-deprecated-declarations -I"/opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_gpac/gpac/work/gpac/include"  -DFFMPEG_OLD_HEADERS -I/usr/include -I"/opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_gpac/gpac/work/gpac/extra_lib/include" -c -o ffmpeg_decode.o ffmpeg_decode.c
    68In file included from ffmpeg_decode.c:25:
    79./ffmpeg_in.h:74:10: fatal error: 'ffmpeg/avformat.h' file not found
    810#include <ffmpeg/avformat.h>
     11
     12}}}
    913         ^
    1014Conclusions:
     
    1216 * even though it's configured for the local ffmpeg copy it's using include files from the external one if it's installed due to the -I/opt/local/include at the beginning of the compile command
    1317
    14  * if external ffmpeg is deactivated it still isn't including the local .h files correctly (or worse their not available)
     18 * if external ffmpeg is deactivated it still isn't including the local .h files correctly (or worse they're not available)
    1519
    1620 * note that the compile command is using 'cc' for the compiler.  This is one of Ryan's UseTheRightCompiler problems (not related to ffmpeg).