Closed ucacaxm closed 10 years ago
aww, I probably see the problem: Please try adding:
else()
set(GLX_FOUND 0)
to config/FindGLX.cmake
before the endif()
on the last line.
Yes it solves the problem. thanks
2014-04-15 21:28 GMT+02:00 Matus Chochlik notifications@github.com:
aww, I probably see the problem: Please try adding: else() set(GLX_FOUND 0)
to config/FindGLX.cmake before the endif() on the last line.
— Reply to this email directly or view it on GitHubhttps://github.com/matus-chochlik/oglplus/issues/61#issuecomment-40523644 .
The fix for this was pushed to the current release branch, it will be merged into develop and master after the release cycle, probably tomorrow.
Hi,
I have just updated and the GL version detection does not work on Windows anymore. I have traced and I arrived to the init_GL.ipp in _build/GL/cmakeFiles/CmakeTmp/... The project does not compile because I think the @GLX_FOUND@ is not replace by 0
if
include <oglplus/glx/context.hpp>
include <oglplus/glx/fb_configs.hpp>
include <oglplus/glx/version.hpp>
include <oglplus/glx/pbuffer.hpp>
include <oglplus/x11/color_map.hpp>
include <oglplus/x11/visual_info.hpp>
include <oglplus/x11/display.hpp>
elif 0
include <GLFW/glfw3.h>
elif 0
include <GL/glfw.h>
elif 1
include <GL/glut.h>
elif 0
include <SDL/SDL.h>
endif
But I do not understand how the config/gl/init_GL.ipp.in is converted to _build/GL/cmakeFiles/CmakeTmp/init_GL.ipp
Thank you for your help, alex