[ODE] Link error when linking a ODE.DLL with MinGW

Jürgen Schwab juergen.schwab at ursula-dachs.de
Mon Dec 22 21:04:37 MST 2003


Hi All,
I am trying to link a ODE.DLL (together with a JNI-stub) using MinGW but I
 get the following link error:
c:/Programme/ode-0.039/lib/libode.a(collision_kernel.o)(.data$_ZTV6dxGeom+0x1
0): In function `ZN6dxGeom13recomputeAABBEv':
c:/Programme/ode-0.039/ode/src/objects.h: undefined reference to
`__cxa_pure_virtual'
The error occurs three times in different collision_*-files.
I'm using the following gcc-command:
cc -Wall -D_JNI_IMPLEMENTATION_ -Wl,--kill-at \
    -I/java/include -I/java/include/win32 \
	 -I/ode/include \
	 -shared -o ODE4Java.dll odeInterface_OdeWorld.c /ode/lib/libode.a
where libode.a is build using the MinGW-configure file of ODE.

Does anybody know, where the problem is?
Juergen





More information about the ODE mailing list