Skip to content

cmake finishes with no errors / make fails on playvid.c.o (Fedora 18) #4

@meeble

Description

@meeble

When running the cmake command, it completes with no errors and all dependencies are found. But, when running the make command, it fails on playvid.c.o. What can I do to fix this? Here's the errors:

[ 35%] Building C object tools/CMakeFiles/playvid.dir/playvid.c.o
/home/devin/Desktop/openlase/tools/playvid.c: In function ‘moreaudio’:
/home/devin/Desktop/openlase/tools/playvid.c:130:4: warning: ‘avcodec_decode_audio3’ is deprecated (declared at /usr/include/ffmpeg/libavcodec/avcodec.h:3852) [-Wdeprecated-declarations]
/home/devin/Desktop/openlase/tools/playvid.c: In function ‘av_vid_init’:
/home/devin/Desktop/openlase/tools/playvid.c:154:2: warning: implicit declaration of function ‘av_open_input_file’ [-Wimplicit-function-declaration]
/home/devin/Desktop/openlase/tools/playvid.c:157:2: warning: ‘av_find_stream_info’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1446) [-Wdeprecated-declarations]
/home/devin/Desktop/openlase/tools/playvid.c:160:2: warning: implicit declaration of function ‘dump_format’ [-Wimplicit-function-declaration]
/home/devin/Desktop/openlase/tools/playvid.c:178:2: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/ffmpeg/libavcodec/avcodec.h:3569) [-Wdeprecated-declarations]
/home/devin/Desktop/openlase/tools/playvid.c: In function ‘av_aud_init’:
/home/devin/Desktop/openlase/tools/playvid.c:195:2: warning: ‘av_find_stream_info’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1446) [-Wdeprecated-declarations]
/home/devin/Desktop/openlase/tools/playvid.c:214:2: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/ffmpeg/libavcodec/avcodec.h:3569) [-Wdeprecated-declarations]
/home/devin/Desktop/openlase/tools/playvid.c:219:13: error: ‘SAMPLE_FMT_FLT’ undeclared (first use in this function)
/home/devin/Desktop/openlase/tools/playvid.c:219:13: note: each undeclared identifier is reported only once for each function it appears in
/home/devin/Desktop/openlase/tools/playvid.c: In function ‘av_deinit’:
/home/devin/Desktop/openlase/tools/playvid.c:241:2: warning: ‘av_close_input_file’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1622) [-Wdeprecated-declarations]
/home/devin/Desktop/openlase/tools/playvid.c:242:2: warning: ‘av_close_input_file’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1622) [-Wdeprecated-declarations]
/home/devin/Desktop/openlase/tools/playvid.c: In function ‘main’:
/home/devin/Desktop/openlase/tools/playvid.c:470:7: warning: variable ‘obj’ set but not used [-Wunused-but-set-variable]
make[2]: *** [tools/CMakeFiles/playvid.dir/playvid.c.o] Error 1
make[1]: *** [tools/CMakeFiles/playvid.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions