CEGUI Started : OpenGLRenderer
Posted: Wed Nov 06, 2013 16:59
Hi, i'm new in the forum, i'm sorry for my english. i really speak spanish.
In first, i don't know where do i search the file cegui.log. For that, i won't be in this post. If someone tell me about where is the file, i'll post it.
But, i'm posting a screenshot with the error message in vc++ 2010. i'm using cegui 0.7.9, and i built the libs and bins.
Screenshot
The code
Thanks
In first, i don't know where do i search the file cegui.log. For that, i won't be in this post. If someone tell me about where is the file, i'll post it.
But, i'm posting a screenshot with the error message in vc++ 2010. i'm using cegui 0.7.9, and i built the libs and bins.
Screenshot
The code
Code: Select all
#include <stdio.h>
#include <stdlib.h>
#include <SDL/SDL.h>
#include <CEGUI.h>
#include <RendererModules/OpenGL/CEGUIOpenGLRenderer.h>
#include <GL/gl.h>
#include <GL/glu.h>
int main (int argc, char **argv)
{
SDL_Surface * screen;
atexit (SDL_Quit);
SDL_Init (SDL_INIT_VIDEO);
screen = SDL_SetVideoMode (800, 600, 0, SDL_OPENGL);
if (screen == NULL) {
fprintf (stderr, "Imposible crear la ventana: %s\n", SDL_GetError ());
exit (1);
}
system("pause");
CEGUI::OpenGLRenderer& renderer = CEGUI::OpenGLRenderer::bootstrapSystem(CEGUI::OpenGLRenderer::TTT_AUTO);
system("pause");
while(1){
}
return 0;
}
Thanks