CEGUI Started : OpenGLRenderer

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

JonLord
Just popping in
Just popping in
Posts: 9
Joined: Wed Nov 06, 2013 03:11

CEGUI Started : OpenGLRenderer

Postby JonLord » 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
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

User avatar
mmixLinus
Quite a regular
Quite a regular
Posts: 71
Joined: Fri May 20, 2011 08:46
Location: Lund, Sweden
Contact:

Re: CEGUI Started : OpenGLRenderer

Postby mmixLinus » Tue Nov 12, 2013 13:44

Yeah, go ahead and post some log output (setLogFilename). Maybe search in Windows for it?
/mmixLinus
MMiX.Me 3D Music Player
Galaxy Navigator 3D - 2 million stars (ESA's Gaia satellite)
(YouTube|Facebook)

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: CEGUI Started : OpenGLRenderer

Postby Kulik » Wed Nov 13, 2013 16:13

Most likely the expat parser wrapper is missing expat.dll

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


Return to “Help”

Who is online

Users browsing this forum: No registered users and 16 guests