I'm attempting to use the Old desktop OpenGL 1.2 (Fixed Function) version of CEGUI. I'm building with plain old
Code: Select all
cmake ..
make
make install
Does building for OpenGL 1.2 require any special options?
The Desktop OpenGL 3.2 or OpenGL ES 2.0 version required some additional options during the build
Code: Select all
cmake .. -DCEGUI_BUILD_RENDERER_OPENGL=OFF -DCEGUI_BUILD_RENDERER_OPENGL3=ON -DCEGUI_USE_EPOXY=ON -DCEGUI_USE_GLEW=OFF
make
make install
The reason why I ask is that when I attempt to compile code using it I get the following
Code: Select all
In file included from /usr/local/include/cegui-0/CEGUI/RendererModules/OpenGL/GL.h:38:0,
from /usr/local/include/cegui-0/CEGUI/RendererModules/OpenGL/RendererBase.h:37,
from /usr/local/include/cegui-0/CEGUI/RendererModules/OpenGL/GL3Renderer.h:30,
from /home/jay/projects/game3d/src/../headers/main.hpp:6,
from /home/jay/projects/game3d/src/main.cpp:1:
/usr/include/GL/glew.h:85:2: error: #error gl.h included before glew.h
I figure I must be missing some step in my build. To trouble shoot, I went around including glew.h manually, but i could tell that was going to be disastrous. So, my assumption is that I did something wrong and the first suspect is my build.
Thank you,
Jay