-
Notifications
You must be signed in to change notification settings - Fork 14
Mac Support #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm interested, I have a mac m2 and I have sketchup make 2017 |
Interested too :) |
I could also help - I'm on an intel macbook 2019 with sketchup make 2017 |
I found a way to get it working on MBP m3 (actually any M macs I believe):
|
I was able to build your cpp helper on macOS using the following script: #!/bin/sh
FRAMEWORK_DIR=/opt/frameworks
OUTPUT=skpconv
g++ -std=c++11 main.cpp -F"$FRAMEWORK_DIR" -framework SketchUpAPI -o $OUTPUT
install_name_tool -change "@rpath/SketchUpAPI.framework/Versions/A/SketchUpAPI" "$FRAMEWORK_DIR/SketchUpAPI.framework/SketchUpAPI" $OUTPUT I tried including this binary in the extension's bin directory, but as the extension has windows specific workarounds, the extension continues to fail. It would need a macOS way of executing the binary. I'm currently using the binary produced by my script (skpconv) as a command line utility that I use to manually convert downloaded skp files. |
As I only have a PC with Windows it's hard for me to compile the C program for Mac and test that it is working.
If you are interested in adding Mac support, please reply in this thread.
The text was updated successfully, but these errors were encountered: