Menu

Make fails with FFMPEG

2013-04-17
2014-05-28
  • RyanfaeScotland

    RyanfaeScotland - 2013-04-17

    I'm useless when it comes to make errors so haven't done much to try and resolve other than running .configure --with-ffmpeg=system, made no difference. Here is the error:

    ranlib src/libvamp-sdk.a
    ranlib src/libvamp-hostsdk.a
    make[2]: Leaving directory /home/rrussell/Audacity-RTSP-Mod/Audacity-AudioMonitor-SRC-1.1/lib-src/libvamp' make[1]: Leaving directory/home/rrussell/Audacity-RTSP-Mod/Audacity-AudioMonitor-SRC-1.1/lib-src'
    make -C src
    make[1]: Entering directory `/home/rrussell/Audacity-RTSP-Mod/Audacity-AudioMonitor-SRC-1.1/src'
    g++ -c -I../lib-src/portmixer/include -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../lib-src/FileDialog -I/home/rrussell/Audacity-RTSP-Mod/Audacity-AudioMonitor-SRC-1.1/lib-src/lib-widget-extra -I../lib-src/libmad -I../lib-src/libsndfile/src -I../lib-src/libflac/include -I../lib-src/libflac/include -I../lib-src/libid3tag -I../lib-src/libresample/include -I../lib-src/sbsms/include -I../lib-src/soundtouch/include -I../lib-src/libnyquist -I../lib-src/libvamp -I../lib-src/twolame/libtwolame -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../lib-src/portsmf -I../lib-src/portaudio-v19/include -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/local//lib\" -D__STDC_CONSTANT_MACROS -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 AudacityApp.cpp -o AudacityApp.o
    In file included from AudacityApp.cpp:71:0:
    FFmpeg.h:537:4: error: use of enum ‘SampleFormat’ without previous declaration
    FFmpeg.h:537:4: error: use of enum ‘SampleFormat’ without previous declaration
    FFmpeg.h: In function ‘void av_fast_realloc(void, unsigned int, unsigned int)’:
    FFmpeg.h:559:4: error: declaration of C function ‘void
    av_fast_realloc(void, unsigned int, unsigned int)’ conflicts with
    /usr/local/include/libavcodec/avcodec.h:4567:7: error: previous declaration ‘void av_fast_realloc(void, unsigned int*, size_t)’ here
    FFmpeg.h: At global scope:
    FFmpeg.h:565:4: error: ‘AVFormatParameters’ has not been declared
    FFmpeg.h:565:4: error: ‘AVFormatParameters’ has not been declared

    Any thoughts on what's going wrong?

     
  • Bijay Prasad Tiwari

    Sorry for the very very late response. It's been years that I have touched that code.
    However, the project that we built was in windows. Looks like you are building in Linux.
    I may not be of much help when it comes to Linux.

     

Log in to post a comment.

MongoDB Logo MongoDB