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

Build error #1

Closed
baddwin opened this issue Nov 15, 2014 · 2 comments
Closed

Build error #1

baddwin opened this issue Nov 15, 2014 · 2 comments

Comments

@baddwin
Copy link

baddwin commented Nov 15, 2014

Firstly, I don't know where to report this issue. Sorry if I'm in wrong place.

So I tried compiling the source code in Kubuntu 14.04, with Qt 5.2.1.
I have tried many efforts to suppress the warning like below, but still not resolved.

../../../../src/modules/FFMpeg/FFDemux.cpp: In member function ‘StreamInfo* FFDemux::getStreamInfo(AVStream*) const’:
../../../../src/modules/FFMpeg/FFDemux.cpp:559:102: error: ‘AV_CODEC_ID_OTF’ was not declared in this scope
   ( stream->codec->codec_type == AVMEDIA_TYPE_ATTACHMENT && codecID != AV_CODEC_ID_TTF && codecID != AV_CODEC_ID_OTF )
                                                                                                      ^
../../../../src/modules/FFMpeg/FFDemux.cpp:566:69: error: ‘AV_CODEC_ID_SUBRIP’ was not declared in this scope
  streamInfo->must_decode = codecID != AV_CODEC_ID_SSA && codecID != AV_CODEC_ID_SUBRIP && codecID != AV_CODEC_ID_SRT;
                                                                     ^
../../../../src/modules/FFMpeg/FFDemux.cpp:653:10: error: ‘AV_CODEC_ID_OTF’ was not declared in this scope
     case AV_CODEC_ID_OTF:
          ^
make[3]: *** [build/obj/FFDemux.o] Error 1
make[3]: Leaving directory `/home/bedouin/Projects/qt-proj/QMPlay2/build/src/modules/FFMpeg'
make[2]: *** [sub-FFMpeg-make_first] Error 2
make[2]: Leaving directory `/home/bedouin/Projects/qt-proj/QMPlay2/build/src/modules'
make[1]: *** [sub-modules-make_first-ordered] Error 2
make[1]: Leaving directory `/home/bedouin/Projects/qt-proj/QMPlay2/build/src'
make: *** [sub-src-make_first] Error 2
@zaps166
Copy link
Owner

zaps166 commented Nov 15, 2014

Hi, QMPlay2 requires FFMpeg, not LibAV. I don't use *Ubuntu, but there is LibAV as default. Try to install/compile FFMpeg and then compile QMPlay2 with it.

@baddwin
Copy link
Author

baddwin commented Nov 15, 2014

Thank you, I'll try your suggestion.

update: Solved.

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