Ticket #88 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

New Ray code doesn't work on windows

Reported by: mike Owned by: mike
Priority: highest Milestone: alpha-test
Component: mv3d Version: 0.1-alpha
Keywords: Cc:
Estimated Effort: 2 days Platform:
State: Relative Size:

Description

Problem

The version of pyode on windows is out of date and doesn't have collide2 functionality.

Attachments

ode.zip (261.2 KB) - added by mike 6 years ago.
Zip file of ODE compiled in windows.

Change History

Changed 6 years ago by mike

  • status changed from new to closed
  • resolution set to fixed

Solution

Manually compiled a newer version which was decidely not fun. First, I downloaded v0.6 windows ODE binaries from www.ode.org. Then I got pyode from cvs (pyode.sf.net). I followed the instructions here: http://www.vrplumber.com/programming/mstoolkit/ That got me able to do some stuff.. I had to copy the config/user-settings file from ODE 0.5 to the new ODE and uncomment the OPCODE_DIRECTORY line. I had to copy some libs manually from the lib dirs of the stuff I installed from that link above into the ode lib dir. I had to rename the ode dir to ode_trimesh_single or something and put ode.lib in the lib dir (from lib/release or whatever). I had to run the following command to link things:

C:\Documents and Settings\mike\Desktop\Ogre\pyode>link.exe /DLL /nologo /INCREME
NTAL:NO /LIBPATH:..\ode_single_trimesh\lib /LIBPATH:e:\mv3d\python24\libs /LIBPA
TH:e:\mv3d\python24\PCBuild ode.lib user32.lib /EXPORT:initode build\temp.win32-
2.4\Release\ode_trimesh.obj /OUT:build\lib.win32-2.4\ode.pyd /IMPLIB:build\temp.
win32-2.4\Release\ode.lib /NODEFAULTLIB:libc

I think that's it. PITA it was.

Changed 6 years ago by mike

Zip file of ODE compiled in windows.

Note: See TracTickets for help on using tickets.