Linking errors to Newton headers
Anders Johnsen
skabet at gmail.com
Wed Oct 3 05:54:58 PDT 2007
Hey,
I'm playing around with a bit of OpenGL in D, and decided to add some physics. I choose Newton, but I'm having a few problems linking it.
When i compile i use:
dsss build -llNewton
It finds the file alright, but i get a TON of error like:
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libNewton.a(dgFile.o):(.gnu.linkonce.r._ZTI6dgFile[typeinfo for dgFile]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libNewton.a(dgFile.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libNewton.a(dgConvexCollision.o):(.gnu.linkonce.r._ZTI17dgConvexCollision[typeinfo for dgConvexCollision]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libNewton.a(dgConvexCollision.o):(.gnu.linkonce.r._ZTV17dgConvexCollision[vtable for dgConvexCollision]+0x28): undefined reference to `__cxa_pure_virtual'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libNewton.a(dgConvexCollision.o):(.gnu.linkonce.r._ZTV17dgConvexCollision[vtable for dgConvexCollision]+0x54): undefined reference to `__cxa_pure_virtual'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libNewton.a(dgConvexCollision.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
I've kind a lost my head in this. Maybe it's just a small thing that i've forgotten, but i'm not sure what...
Hope someone got an idea.
Thanks,
Anders johnsen
More information about the Digitalmars-d-learn
mailing list