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

Problem when building qtMEL on Ubuntu #22

Open
marcosuma opened this issue Feb 6, 2014 · 8 comments
Open

Problem when building qtMEL on Ubuntu #22

marcosuma opened this issue Feb 6, 2014 · 8 comments

Comments

@marcosuma
Copy link

Hi everyone, I am trying to compile qtmel library on Ubuntu, because .deb packages does not work on my system. I downloaded the library source code from GitHub repo but I had to modify it to compile it successfully; but when I tried to include that library on the cameraExample code it did not work. I have also tried to use the .a that came with the code and they did not work.
Did anyone try to do that?
Thanks in advance,
Marco

@kibsoft
Copy link
Owner

kibsoft commented Feb 6, 2014

Could you provide more information?

@angelosalatino
Copy link

Hi, I work with @marcosuma. We have downloaded the QtMEL (from here: https://dl.dropboxusercontent.com/u/77719957/QtMEL_Library.zip) and even if it is written on the web site that for Linux platform is partially done, we have tried to compile the examples on Ubuntu with the ffmpeg and opencv compiled, without any success. We have followed three ways:

  1. use the examples with the compiled version of QtMEL by linking the static libraries in the .pro file of the example
  2. tried to compile QtMEL on ubuntu (downloading the tar.gz archive). There were some issues with type (conflicts on AVBuffer and so on). At the end, we have solved them and compiled the library. However the generated library couldn't be used in the examples.
  3. we have tried to use the .deb packages, but we were unable to install them due to some dependencies.
    No one of the three ways worked.
    Do exist a kind of procedure that allows to work on ubuntu? Thank you in advance.

@marcosuma marcosuma reopened this Feb 10, 2014
@marcosuma
Copy link
Author

This is what happen when i try to open qtmel library project in qt and i try to compile, after setting correctly .pro file. It seems to be errors caused by types redefinition.
http://imageshack.com/a/img541/5746/ulg2.png

@kibsoft
Copy link
Owner

kibsoft commented Feb 10, 2014

Got it. As I said before it happens because you use newest version of LibAV.
You have to use http://ffmpeg.zeranoe.com/builds/source/ffmpeg/ffmpeg-git-14d94a1.tar.bz2
only this version.

@marcosuma
Copy link
Author

Ok, I'll try soon

@marcosuma
Copy link
Author

Ok, now compilation was successfull. But when I try to compile CameraExample, it unexpectedly finish immediately; in debug mode i can see the following error:
https://imagizer.imageshack.us/v2/1146x651q90/856/66fi.png
the .pro file is the following:
https://imagizer.imageshack.us/v2/1146x651q90/812/qg2y.png
What about?

@kibsoft
Copy link
Owner

kibsoft commented Feb 10, 2014

Did you build LibAV with h264 support?

@marcosuma
Copy link
Author

Yes, i compiled ffmpeg with the following "configure":
./configure --enable-gpl --enable-libass --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3 --enable-shared

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

3 participants