HearthSim / decrunch

Python wrapper around Crunch DXTc decompressor
https://hearthsim.info
zlib License
14 stars 23 forks source link

Fix macOS build #14

Open Hoishin opened 5 years ago

Hoishin commented 5 years ago

and added CI build on osx environment

Not sure if the CI build works or not yet

closes #13

Hoishin commented 5 years ago

Any reason why the travis build doesn't start?

jleclanche commented 5 years ago

No idea, sorry :/

beheh commented 5 years ago

@Hoishin Take a look at Travis' Request Log. Looks like the YML is invalid: Could not parse HearthSim/decrunch/.travis.yml@599828925be4cd5e

Hoishin commented 5 years ago

@beheh I didn't know that page, thank you. Unfortunately that doesn't help without more detailed error, which I couldn't find in the log.

Hoishin commented 5 years ago

Turned out travis can't handle this syntax 😕

foo:
  - |
    foo
    bar
beheh commented 5 years ago

Yeah, the iteration loop isn't great for working on travis.yml files and it's always a bit painful. I think there's an offline tool you can use to validate the schema, if that's any help: https://support.travis-ci.com/hc/en-us/articles/115002904174-Validating-travis-yml-files

MegaByte commented 5 years ago

Any progress here?

michaelsmoody commented 4 years ago

May I ask, why use malloc.h on MACH vs stdlib?

loeffel-io commented 4 years ago

Lets go

Kirkman commented 4 years ago

Any hope of getting this to compile on Mac?

loeffel-io commented 4 years ago

@Kirkman you can fix and build it locally for now

stevenjoezhang commented 4 years ago

It seems that #include <malloc.h> is not working on macOS. I changed it to #include <malloc/malloc.h> according to this Pull Request and it was successfully compiled. See also https://github.com/HearthSim/decrunch/issues/13