Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Difficulty with Eclipse
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
daglamier22
n00b
n00b


Joined: 30 Jan 2012
Posts: 3

PostPosted: Sun Feb 26, 2012 3:04 am    Post subject: Difficulty with Eclipse Reply with quote

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
View user's profile Send private message
CrankyPenguin
Apprentice
Apprentice


Joined: 19 Jun 2003
Posts: 283

PostPosted: Mon Mar 05, 2012 2:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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