Page 1 of 1

[0.8.2][GLEW] Simple compilation issues due to CMake

Posted: Fri Jun 14, 2013 10:05
by woldendans
Hello,

I currently am developping a game on multiple platforms, using CEGUI for my GUI.
So, I was compiling CEGUI 0.8.2 on Windows with MSVC 11, using the -DCEGUI_BUILD_SHARED_LIBS_WITH_STATIC_DEPENDENCIES=ON, using the dependencies pack you provide.

I noticed some simple to fix problems, depending on CMake:

  • On Linux/Mac/Windows platforms: When compiling with this flag, CMake does not pass the GLEW_STATIC macro to the compiler (-DGLEW_STATIC with MSVC), producing linking error with the CEGUI OpenGL Renderer project.
  • On Windows: Even when providing a complete dependencies pack, with a compiled Expat Parser, CMake does select any XML Parser by default, while doing it on other platforms.

Do not hesitate to ask for any further informations.