Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DarkHamster

SDL very strange errors

This topic is 5736 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

Does anyone know why the following program: " #include <SDL/SDL.h> int main() { if( SDL_Init( SDL_INIT_VIDEO ) < 0 ) return 1; return 0; } " compiled with gcc sdltest.cpp `sdl-config --cflags --libs` would give /tmp/cct6hgSk.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'' collect 2: ld returned 1 exit status thanks

Share this post


Link to post
Share on other sites
Advertisement
You''re using GCC 3.2, right? That doesn''t occur with 2.95.x, but I was able to reproduce and fix it with 3.2. Use ''g++'' instead of ''gcc'' at the command line and it goes away.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!