Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
meeble opened this issue Mar 1, 2013 · 3 comments
Open

Comments

@meeble
Copy link

meeble commented Mar 1, 2013

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

@macpod
Copy link
Contributor

macpod commented Mar 2, 2013

What version of avcodec do you have? You can check out issue #3 to see what I'm using (and which allows for a proper build)

@meeble
Copy link
Author

meeble commented Mar 2, 2013

Hi macpod - In the meantime, I setup a machine running Mint 14, and everything compiled with no errors, so I think I'll just forget about Fedora 18 for now.

Noob question: now that everything built, how do I run any of the openLASE apps? I can't seem to find any executable files.

@macpod
Copy link
Contributor

macpod commented Mar 2, 2013

If you followed the instructions on the wiki, everything will be in the build directory that you made

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants