When I follow the instructions on compiling with cmake on linux I have no problem , but on windows when i run cmake . I get the following error, does anyone know how to get around this.
C:\temp\glfw-master>cmake .
– Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
– Using Win32 for window creation
– Using WGL for context creation
CMake Error at examples/CMakeLists.txt:16 (include_directories):
include_directories given empty-string as include directory.
seems to be an issue finding the opengl include directories (line 16 in CmakeLists.txt). I am not sure why since I have OpenGl headers installed as part of the windows sdk.
In order to build I had to comment out line 16:
14 if (NOT APPLE)
15 # HACK: This is NOTFOUND on OS X 10.8
16 #include_directories("${OPENGL_INCLUDE_DIR}")
17 endif()