using ODE 0.11.1. in Panda3D

For those of you that either would like to use ODE in c++ or use the latest version of ODE, here is what I’ve done to include it in Panda3d built

b generate ODE version 0.11.1[/b]

download latest from … p/download

unzip it in say c:ode-0.11.1

goto directory c:ode-0.11.1\build

run cmd: premake4 vs2008

when in vs2008, compile single (not double)

when compiled, get ode_single.lib from c:ode-0.11.1\lib\ReleaseSingleLib directory
put it aside and rename it ode.lib

b insert stuff into Panda thirdparty folder panda3d\thirdparty\win-libs-vc9\ode[/b]

copy content of c:ode-0.11.1\include\ode
to panda3d\thirdparty\win-libs-vc9\ode\include\ode

copy ode.lib you generated to panda3d\thirdparty\win-libs-vc9\ode\lib

b run makepanda[/b]

This generates a new auto install

b install your new generated Panda3D version[/b]

if you intend to use ode in a panda c++ program, make sure you copy from your build directory
panda3d\thirdparty\win-libs-vc9\ode content

to C:\Panda3D-1.7.1\include

BTW. if you intend to use Ode in a Panda3D C++ program
make sure too:
(a) you copied the ode.lib you generated, to C:\Panda3D-1.7.1\lib
(b) you add ode.lib as a link library in your program
(thanks rdb!)