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

libegl not looked for by cmake #115

Open
feuGeneA opened this issue Jan 29, 2019 · 2 comments
Open

libegl not looked for by cmake #115

feuGeneA opened this issue Jan 29, 2019 · 2 comments

Comments

@feuGeneA
Copy link

I'm trying to build maim from source. cmake succeeded, but then make failed with this:

gene@precision5510:~/Downloads/slop-7.4$ make
Scanning dependencies of target slopy
[  6%] Building CXX object CMakeFiles/slopy.dir/src/mouse.cpp.o
[ 13%] Building CXX object CMakeFiles/slopy.dir/src/keyboard.cpp.o
[ 20%] Building CXX object CMakeFiles/slopy.dir/src/x.cpp.o
[ 26%] Building CXX object CMakeFiles/slopy.dir/src/slopstates.cpp.o
[ 33%] Building CXX object CMakeFiles/slopy.dir/src/resource.cpp.o
[ 40%] Building CXX object CMakeFiles/slopy.dir/src/slop.cpp.o
In file included from /home/gene/Downloads/slop-7.4/src/framebuffer.hpp:29:0,
                 from /home/gene/Downloads/slop-7.4/src/window.hpp:40,
                 from /home/gene/Downloads/slop-7.4/src/slop.cpp:19:
/home/gene/Downloads/slop-7.4/src/shader.hpp:32:21: fatal error: EGL/egl.h: No such file or directory
 #include <EGL/egl.h>
                     ^
compilation terminated.
CMakeFiles/slopy.dir/build.make:182: recipe for target 'CMakeFiles/slopy.dir/src/slop.cpp.o' failed
make[2]: *** [CMakeFiles/slopy.dir/src/slop.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/slopy.dir/all' failed
make[1]: *** [CMakeFiles/slopy.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Shouldn't cmake have told me I was missing a dependency? Also, in the README.md's advice about installing dependencies first, shouldn't there be a mention of libegl?

@halcyon22
Copy link

Is there a workaround? I have libegl1-mesa installed but still get the make error.

@halcyon22
Copy link

It looks like libegl1-mesa-dev works.

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