Closed mattheath closed 3 weeks ago
this is so awesome. there will be a ton of mac users who will love you for this. sorry for the late response. i haven't been on github lately and had notifications off on this.
i looked everything over and had a couple of questions.
again, thanks so much for putting the time in to do this. it will be warmly welcomed.
Hello @ryein. Regarding point 3, I can test on Mac (Intel and ARM arch) if you think is necessary. The dylib files for Mac must be packaged.
Using a package manager (see #14 ) would help with the libs on macos.
Hey there! This adds support for MacOS. I've tested this on Rhino 7 and Rhino 8, on a Mac running Sonoma on Apple Silicon.
.NET Framework 4.8 isn't supported on MacOS, but it builds and runs fine using .Net 7 — most of the changes are just wrapping the windows specific includes in conditionals.
DendroAPI can be built with cmake, and DendroGH with the dotnet CLI. I've added config files and instructions to the readme.
Unfortunately some of the files show as binary changes on github — they had UTF-16 Little Endian encoding, which isn't supported by clang on MacOS. I've converted these to UTF-8 to match the majority of the other files in the repository, but did this in a separate commit (ceac6412597122c9f33e88a39de77aef30789a24) so the remainder of the diff is clearer: ceac641...9105eb1.