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

Compilation error c2play-x11 #4

Closed
jimchristo opened this issue Sep 29, 2016 · 3 comments
Closed

Compilation error c2play-x11 #4

jimchristo opened this issue Sep 29, 2016 · 3 comments

Comments

@jimchristo
Copy link

When i run this command :(make c2play-x11) i get the following message:

==== Building c2play-x11 (debug) ====
main.cpp
In file included from ../../src/Media/MediaPlayer.h:23:0,
from ../../src/main.cpp:39:
../../src/Media/SubtitleCodecElement.h:25:21: fatal error: ass/ass.h: No such file or directory
compilation terminated.
c2play-x11.make:163: recipe for target 'obj/Debug/c2play-x11/main.o' failed
make[1]: *** [obj/Debug/c2play-x11/main.o] Error 1
Makefile:20: recipe for target 'c2play-x11' failed
make: *** [c2play-x11] Error 2

what is going wrong?
Thank you in advance.

@OtherCrashOverride
Copy link
Owner

Ensure you have the development headers (libass-dev) installed as shown in the README.
https://github.com/OtherCrashOverride/c2play/blob/beta1/README

Install dependencies:
sudo apt install libasound2-dev libavformat-dev libass-dev

@jimchristo
Copy link
Author

Now the previous issue is ok. (In master branch there wasn't a readme file.Thank you for point out)

Now it prints the following:

In file included from ../../src/UI/Compositor.h:27:0,
from ../../src/UI/Compositor.cpp:17:
../../src/UI/Egl.h:22:21: fatal error: EGL/egl.h: No such file or directory
compilation terminated.

Thank you!

@jimchristo
Copy link
Author

Nevermind,I run this command:
sudo apt-get install libglfw3-dev libgles2-mesa-dev

and now is ok.

Thank you very much for your support.

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