I´m trying to build my fist window with CEGUI, for around two weeks now.
I was able to make some progress, but i´m still stuck.
I fallowed this video:
https://www.youtube.com/watch?v=mwf_gDVudsE
Read this articles:
http://static.cegui.org.uk/docs/0.8.7/building_deps.html
http://static.cegui.org.uk/docs/0.8.7/compiling.html
And the tutorials:
http://cegui.org.uk/wiki/How_to_install_CEGUI_0.7.5_With_Code::Blocks_10.5
I´m using Code::Blocks
And my linked libs are:
deps\lib\Release\libCEGUIBase-0.dll.a;
deps\lib\Release\libCEGUIOpenGLRenderer-0.dll.a;
deps\lib\Release\libexpat.dll.a;
deps\lib\Release\libfreetype.dll.a;
deps\lib\Release\libglew.dll.a;
deps\lib\Release\libglfw.dll.a;
deps\lib\Release\libpcre.dll.a;
deps\lib\Release\libSDL2.a;
deps\lib\Release\libSDL2.dll.a;
deps\lib\Release\libSDL2main.a;
deps\lib\Release\libzlib.dll.a;
As pointed in here:
http://static.cegui.org.uk/docs/0.8.7/building_deps.html
I only unchecked:
- CEGUI_BUILD_RENDERER_DIRECT3D10
CEGUI_BUILD_RENDERER_DIRECT3D9
The code that i`m trying to compile is this one:
https://bitbucket.org/lucebac/cegui/src/ea8f8c814a4d5dbaa56344218659eb68ce173961/application_templates/SDL2.cpp
Using CEGUI 0.8.7 and SDL2
And this is the errors:
obj\Release\main.o:main.cpp|| undefined reference to `glClearColor@16'|
obj\Release\main.o:main.cpp|| undefined reference to `glClear@4'|
obj\Release\main.o:main.cpp|| undefined reference to `glViewport@16'|
I already clicked in problably most of the links that google brings for 'CEGUI' search.
So if you can provide any clue i appreciate,
Tks in advance
+1