Page 1 of 1

CEGUI Started : OpenGLRenderer

Posted: Wed Nov 06, 2013 16:59
by JonLord
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
Image
Image


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

Re: CEGUI Started : OpenGLRenderer

Posted: Tue Nov 12, 2013 13:44
by mmixLinus
Yeah, go ahead and post some log output (setLogFilename). Maybe search in Windows for it?
/mmixLinus

Re: CEGUI Started : OpenGLRenderer

Posted: Wed Nov 13, 2013 16:13
by Kulik
Most likely the expat parser wrapper is missing expat.dll

Always check stuff with depends32.exe when these sort of errors pop up.