saharan / OimoPhysics

A cross-platform 3D physics engine
MIT License
863 stars 68 forks source link

Build failed #42

Closed laser-bunny closed 2 years ago

laser-bunny commented 2 years ago

OimoPhysics/build.hxml:

--class-path demos/src/
--class-path src/
--main demo.js.DemoJS
--js demo.js

Terminal output:

haxe build.hxml 
src/oimo/m/B.hx:181: lines 181-187 : error: { type : haxe.macro.ComplexType, name : String, expr : Null<haxe.macro.Expr> } has no field isFinal
src/oimo/m/B.hx:181: lines 181-187 : ... have: Array<{ type, name, expr }>
src/oimo/m/B.hx:181: lines 181-187 : ... want: Array<haxe.macro.Var>
src/oimo/m/B.hx:181: lines 181-187 : ... For function argument 'a'
src/oimo/collision/broadphase/Proxy.hx:11: characters 1-8 : Build failure

However, it does work if I use the Armory3D fork as suggested in #22.

laser-bunny commented 2 years ago

Just realized there's a branch for 4.0 migration. Closing this as duplicate of #22.