juhakivekas / explision

A tool for making physical models of 3D files using lasrcutting.
5 stars 0 forks source link

Not building in osx #1

Closed niklaspollonen closed 6 years ago

niklaspollonen commented 6 years ago

Got an error on OSX during build:

src/struct/shape.c:2:10: fatal error: 'malloc.h' file not found

include

Fixed it by replacing #include with #include

juhakivekas commented 6 years ago

I've only ever built this on Ubuntu/Debian. If you make other modifications to get the code compiling, then please make a PR so I can incorporate them into the codebase. Even just a copy-paste of git diff as a comment if enough if you're not used to making PRs :)

juhakivekas commented 6 years ago

I did the edits and compiled the code on my osx machine and it seems to work well now so I pushed the changes. I also took the chance to delete some dead code in case you'll be looking at this more closely :)