mmatvein / bevy_liquidfun

A Bevy friendly wrapper of Box2D and LiquidFun.
Apache License 2.0
4 stars 2 forks source link

doesn't compile up #2

Closed amytimed closed 8 months ago

amytimed commented 10 months ago
error[E0432]: unresolved import `libliquidfun_sys::box2d::ffi::b2RayCastCallbackImpl` 
 --> src/dynamics/ray_cast.rs:7:54
  |
7 | ...{b2ParticleSystem, b2RayCastCallbackImpl, b2Vec2};
  |                       ^^^^^^^^^^^^^^^^^^^^^
  |                       |
  |                       no `b2RayCastCallbackImpl` in `box2d::ffi`
  |                       help: a similar name exists in the module: `b2RayCastCallback`

error[E0432]: unresolved import `libliquidfun_sys::box2d::ffi::b2RayCastCallbackWrapper`
 --> src/dynamics/world.rs:9:36
  |
9 | use libliquidfun_sys::box2d::ffi::{b2RayCastCallbackWrapper, int32};
  |                                    ^^^^^^^^^^^^^^^^^^^^^^^^
  |                                    |
  |                                    no `b2RayCastCallbackWrapper` in `box2d::ffi`
  |                                    help: a similar name exists in the module: `b2RayCastCallback`
amytimed commented 10 months ago

compiles up if i pin libliquidfun-sys to another commit:

libliquidfun-sys = { git = "https://github.com/mmatvein/libliquidfun-sys.git", rev = "eebc4e917fb48fe103a7ddcb1a2f98587e1759c3" }
mmatvein commented 10 months ago

Ah you're right, I've been sloppy with my pushes. I'm developing this in parallel to libliquidfun-sys and the main branch might be compatible with libliquidfun-sys' main branch instead of the crates.io release. I will cut a new release of libliquidfun-sys to fix this.

mmatvein commented 10 months ago

It should now be fixed. I could build with a clean checkout. Could you give it a go in your project?