Skip to content
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

Mac Support #3

Open
Eneroth3 opened this issue Jul 1, 2018 · 5 comments
Open

Mac Support #3

Eneroth3 opened this issue Jul 1, 2018 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Eneroth3
Copy link
Owner

Eneroth3 commented Jul 1, 2018

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.

@Eneroth3 Eneroth3 added enhancement New feature or request help wanted Extra attention is needed labels Jul 1, 2018
@seiler-emerson
Copy link

I'm interested, I have a mac m2 and I have sketchup make 2017

@benjamindulau
Copy link

Interested too :)

@joshmans
Copy link

joshmans commented May 8, 2024

I could also help - I'm on an intel macbook 2019 with sketchup make 2017

@kirik
Copy link

kirik commented Jun 27, 2024

I found a way to get it working on MBP m3 (actually any M macs I believe):

  1. download and install Whisky (wine for mac) https://github.com/Whisky-App/Whisky
  2. install sketchup 2016 (not later because from SU2017 it will require OpenGL 3.0+ which is not supported by M-macs) https://web.archive.org/web/20240507224123/https://download.sketchup.com/SketchUpPro-2016-1-1449-80430-en-x64.exe
  3. install this extension to wine sketchup
  4. now you can convert your newer models via wine sketchup2016 to older versions and then open then in native mac sketchup make 2017

@4v3ngR
Copy link

4v3ngR commented Jul 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants