Hallo Brainsaw,
danke für den ODE Wrapper! Ich habe versucht, die irrODE Library auf MacOSX zu portieren. Das Erstellen der Library und des HelloWorld Beispiels ist mir auch geglückt, aber es gibt Probleme beim Start des Programms.
Es tauchen immer wieder solche Fehler auf: "error for object 0xb30584: incorrect checksum for freed object - object was probably modified after being freed"
Kannst du mir sagen, was das bedeutet, bzw. hast du diese Meldungen schon mal bekommen? Ich habe nur gelesen, dass ODE auf MacOSX nicht gut funktioniert (z.B.
http://brockwoolf.com/blog/compile-ode-0-11-0-on-mac-os-x-10-6), habe aber leider nicht viel Erfahrung damit. Kann das mit der ODE Bibliothek zu tun haben?
Vielleicht kannst du mir weiterhelfen?
Hier ist das console-log:
Code:
choose your static collision object:
(1) use box
(2) use quake3 level
(3) exit
..1
Irrlicht Engine version 1.7.1
Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386
Using renderer: OpenGL 2.1
NVIDIA GeForce 9400M OpenGL Engine: NVIDIA Corporation
OpenGL driver version is 1.2 or better.
GLSL version: 1.2
hello world!
Loaded texture: e7walldesign01b.jpg
Loaded texture: e7steptop2.jpg
Loaded texture: e7dimfloor.jpg
Loaded texture: e7brickfloor01.jpg
Loaded texture: e7bmtrim.jpg
Loaded texture: e7sbrickfloor.jpg
Loaded texture: e7brnmetal.jpg
Loaded texture: e7beam02_red.jpg
Loaded texture: e7swindow.jpg
Loaded texture: e7bigwall.jpg
Loaded texture: e7panelwood.jpg
Loaded texture: e7beam01.jpg
Loaded texture: xstepborder5.jpg
Loaded texture: lavahell.jpg
Loaded texture: e7steptop.jpg
Loaded texture: metalblackwave01.jpg
Loaded texture: pjrock1.jpg
Loaded texture: timlamp.tga
Loaded texture: gratetorch2.jpg
Loaded texture: gratetorch2b.tga
Loaded mesh: 20kdm2.bsp
Load material chunk.
Load color chunk.
Load percentage chunk.
Load color chunk.
Load percentage chunk.
Load color chunk.
Load object chunk.
Load object chunk.
Load vertices.
Load texture coords.
Load indices.
Load object chunk.
Load material group.
Could not load a texture for entry in 3ds file: cube1_au.bmp
Loaded mesh: ../../data/box.3ds
Loaded texture: /Users/guidopinkas/Work/FreePilot/irrOde/MacOSX/data/box0.jpg
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xa36674: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xa36764: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Load material chunk.
Load color chunk.
Load percentage chunk.
Load color chunk.
Load percentage chunk.
Load color chunk.
Load object chunk.
Load object chunk.
Load vertices.
Load texture coords.
Load indices.
Load object chunk.
Load material group.
Could not load a texture for entry in 3ds file: sphere1_.bmp
Loaded mesh: ../../data/sphere.3ds
Loaded texture: /Users/guidopinkas/Work/FreePilot/irrOde/MacOSX/data/sphere0.jpg
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xb30584: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xb37924: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xb37a54: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xb37c84: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xb37d94: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
CIrrOdeGeomBox::initPhysics: getting size from parent node
CIrrOdeGeomBox::initPhysics: size=(30.00, 3.00, 30.00)
ODE INTERNAL ERROR 2: Bad argument(s) in dxBox()
Program received signal: “SIGABRT”.
sharedlibrary apply-load-rules all
IrrOdeHello(62962,0xa0bab4e0) malloc: *** error for object 0xb37f04: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug