Jump to content
  • Advertisement
Sign in to follow this  
Ultracoder2005

OpenGL Problem with using OpenGL code in SlickEdit

This topic is 4236 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So, I'm using the SlickEdit trial. I take a bit of OpenGL code and try to compile it. Here is the code. #include <X11/X.h> #include <freeglut.h> #include <glu.h> #include <gl.h> int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGB); glutInitWindowSize(640,480); glutInitWindowPosition(0,0); glutCreateWindow("Hello World"); return 0; } Here is the build output. main.cpp Linking... Debug/main.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status *** Errors occurred during this build *** ]0;root@adam: /opt/slickedit/bin/OpenGLroot@adam:/opt/slickedit/bin/OpenGL As you can see, there is an error. Can someone help me with this?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!