Everything should already be built, except for the test app, which you
can build with: gcc -o test test.cpp sdl-config --cflags --libs
gcc -o test test.cpp sdl-config --cflags --libs:
undefined reference to __gxx_personality_v0
(???)
Using SDL 1.2.6, but not latest CVS. What’s missing?
Thanks,
JeffOn Sunday 23 November 2003 08:12 pm, Sam Lantinga wrote:
gcc -o test test.cpp sdl-config --cflags --libs:
undefined reference to __gxx_personality_v0
(???)
Using SDL 1.2.6, but not latest CVS. What’s missing?
gcc -o test test.cpp sdl-config --cflags --libs:
undefined reference to __gxx_personality_v0
(???)
Using SDL 1.2.6, but not latest CVS. What’s missing?
You have to use g++ not gcc.
If that doesn’t work, it means that one was built with gcc2 and the
other is built with gcc3 and you’ve got an ABI conflict.
Build everything with the same compiler if you’ve got source code.
man, 2003-11-24 kl. 19:12 skrev j_post:> On Monday 24 November 2003 07:11 am, Torsten Giebl wrote:
gcc -o test test.cpp sdl-config --cflags --libs:
undefined reference to __gxx_personality_v0
You have to use g++ not gcc.
g++ compiled it without error, but when ‘test’ is run, it crashes with this
message:
Warning: Couldn’t load ./GtkBrowser.so: Failed loading GtkBrowser.so:
SDL_LoadObject() not implemented
I had the same error, fixed it by extending LD_LIBRARY_PATH with "."
Although it doesn’t make sense that LoadObject should need this.
–
One file-format to rule them all
One parser to parse them all
And in code - bind them!