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

minko compile 1 error generated #250

Closed
laishi opened this issue May 16, 2016 · 3 comments
Closed

minko compile 1 error generated #250

laishi opened this issue May 16, 2016 · 3 comments

Comments

@laishi
Copy link

laishi commented May 16, 2016

when i compile minko master sdk 1 error generated,here is:

make config=linux64_release

.........................

==== Building minko-framework (linux64_release) ====
OpenGLES2Context.cpp

  • clang++ -MMD -MP -DNDEBUG -DJSON_IS_AMALGAMATION -DMINKO_GLSL_OPTIMIZER_ENABLED -Iinclude -Ilib/sparsehash/src -Isrc -Ilib/jsoncpp/src -Ilib/glm -Ilib/sparsehash/include -Ilib/glsl-optimizer/include -Ilib/glsl-optimizer/src -Ilib/glsl-optimizer/src/getopt -Ilib/glsl-optimizer/src/glsl -Ilib/glsl-optimizer/src/glsl/glcpp -Ilib/glsl-optimizer/src/mesa -Ilib/glsl-optimizer/src/mesa/main -Ilib/glsl-optimizer/src/mesa/program -Ilib/glsl-optimizer/src/util -m64 -O2 -fno-strict-aliasing -std=c++11 -o obj/linux64/release/OpenGLES2Context.o -MF obj/linux64/release/OpenGLES2Context.d -c src/minko/render/OpenGLES2Context.cpp
    src/minko/render/OpenGLES2Context.cpp:57:11: fatal error: 'GL/gl.h' file not found

    include <GL/gl.h>

      ^
    
    1 error generated.
    Makefile:972: recipe for target 'obj/linux64/release/OpenGLES2Context.o' failed
    make[1]: *** [obj/linux64/release/OpenGLES2Context.o] Error 1
    Makefile:430: recipe for target 'minko-framework' failed
    make: *** [minko-framework] Error 2

I believe I'm not far away from success.,what is this error and how fix it
thanks+++

@warrenseine
Copy link
Contributor

warrenseine commented May 17, 2016

Can you make sure you have installed the required libraries?

@laishi
Copy link
Author

laishi commented May 18, 2016

i use fedora23

No package libgl1-mesa-dev available.
No package libglu1-mesa-dev available.
No package libglew-dev available.
No package libsdl2-dev available.
No package libcurl4-openssl-dev available.
No package libudev-dev available.
No package libxinerama-dev available.
No package libgtk2.0-dev available.

what can i do?
minko is power but i can not install, hope minko team release rpm

@JMLX42
Copy link
Member

JMLX42 commented May 18, 2016

Those libs should be pretty easy to find. Exemple:

https://admin.fedoraproject.org/pkgdb/package/rpms/mesa/
https://admin.fedoraproject.org/pkgdb/package/rpms/glew/
https://admin.fedoraproject.org/pkgdb/package/rpms/SDL2/

minko is power but i can not install, hope minko team release rpm

Feel free to make a pull request.

@JMLX42 JMLX42 closed this as completed May 19, 2016
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