pygame-web / pkg-porting-wasm

Tracks porting efforts on some modules you'd like to have working in pygbag
https://pygame-web.github.io/wiki/pkg/
5 stars 0 forks source link

pymunk #12

Open pmp-p opened 1 year ago

pmp-p commented 1 year ago

upgrade pymunk from stuntcat demo, and make it a wheel

pmp-p commented 1 year ago

relies on https://github.com/pygame-web/pkg-porting-wasm/issues/13, wheel uploaded please test

note relative to https://github.com/viblo/pymunk/issues/213

pycparser and cffi must be installed in both host and guest parts of sdk cffi add something required to standard build system

chipmunk was compiled to static with emcmake cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DBUILD_DEMOS:BOOL=OFF bdist_wheel was used to create the wheel with no code changes