transkinetic
January 13th, 2006, 08:52 AM
I wrote a small bitmap editor in DevC++ using SDL today. It's my first program and I'm needless to say quite thrilled with it.
Trying to compile it on ubuntu with gcc produced the following error.
spacepopeye@yimmy:~/SDL/zombie$ gcc zombie3.cpp -o sdltest `sdl-config --cflags --libs`
/tmp/ccH6rpJv.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
I have no idea how to use gcc. The parameters there are from some SDL tut. Is their a good indroduction to GCC somwhere?
Trying to compile it on ubuntu with gcc produced the following error.
spacepopeye@yimmy:~/SDL/zombie$ gcc zombie3.cpp -o sdltest `sdl-config --cflags --libs`
/tmp/ccH6rpJv.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
I have no idea how to use gcc. The parameters there are from some SDL tut. Is their a good indroduction to GCC somwhere?