View previous topic :: View next topic |
Author |
Message |
daglamier22 n00b
Joined: 30 Jan 2012 Posts: 3
|
Posted: Sun Feb 26, 2012 3:04 am Post subject: Difficulty with Eclipse |
|
|
I have a bit of a problem with a program I am writing using OGRE and CEGUI. Not sure if this is the correct place to post this or not.
I have been trying to setup development cross platform and the program works great over in Windows 7, but when i flip over to Gentoo and pull up eclipse i get a run-time error when hitting run inside of Eclipse. Now with that alone i'd think it was just some kind of cross-platform issue i need to work out. The thing is, i can go to the terminal, cd over to the Debug directory and directly run the program from the command prompt, and there is no error! It runs exactly as it does in Windows 7. The reason I've posted this here instead of on the OGRE forums is i think it might be something I haven't setup correctly inside of Eclipse or Gentoo itself. Any thoughts or additional details that anyone wants to see?
The error from within Eclipse:
Loading library /usr/lib/OGRE/RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
terminate called after throwing an instance of 'Ogre::RenderingAPIException'
what(): OGRE EXCEPTION(3:RenderingAPIException): Couldn`t open X display in GLXGLSupport::getGLDisplay at /home/collect/Development/ogre/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp (line 788)
Thanks in advance |
|
Back to top |
|
|
CrankyPenguin Apprentice
Joined: 19 Jun 2003 Posts: 283
|
Posted: Mon Mar 05, 2012 2:20 am Post subject: |
|
|
Just as a quick stab have you looked at the project settings in eclipse? Is eclipse using the same java version as you get when you run from the commandline? Or, for example, are the appropriate libraries being added? I have worked with eclipse and have encountered errors of this type mostly due to a changed setting. _________________ Linux, the OS for the obsessive-compulsive speed freak in all of us. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|