unable to cmake on windows

Using GLFW
skimon
2014-08-13
2014-08-15
  • skimon
    skimon
    2014-08-13

    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.

    -- Configuring incomplete, errors occurred!

     
  • skimon
    skimon
    2014-08-14

    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()

     
  • Camilla Löwy
    Camilla Löwy
    2014-08-14

    I broke that. I'll fix it. Thanks for reporting it!

     
  • Camilla Löwy
    Camilla Löwy
    2014-08-15

    It should work now.