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

pip install fails on OSX 10.13.1 #1

Open
lordmauve opened this issue Nov 12, 2017 · 1 comment
Open

pip install fails on OSX 10.13.1 #1

lordmauve opened this issue Nov 12, 2017 · 1 comment

Comments

@lordmauve
Copy link
Owner

lordmauve commented Nov 12, 2017

Reported by @numberoverzero on the Bitbucket repo.

Thanks for making an awesome library! I wanted to try out the fireworks demo, but kept running into a compile error- clang didn't recognize "-framework:OpenGL":

clang -bundle -undefined dynamic_lookup -L/usr/local/opt/tcl-tk/lib build/temp.macosx-10.13-x86_64-3.6/lepton/group.o build/temp.macosx-10.13-x86_64-3.6/lepton/groupmodule.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-10.13-x86_64-3.6/lepton/group.cpython-36m-darwin.so -framework:OpenGL
clang: error: unknown argument: '-framework:OpenGL'
error: command 'clang' failed with exit status 1

I swapped line 35:

-extra_link_args = ['-framework:OpenGL']
+extra_link_args = ['-framework', 'OpenGL']

and installation succeeded with:

env CC=/usr/local/bin/gcc pip install .

It would be really nice if there were OSX wheels, but that can be tedious, esp. for platforms you don't work on. Still, it was a very nice demo. Thanks again!

@lordmauve
Copy link
Owner Author

Thank you, this is useful.

I'm not the original author though, just maintaining. The original author is Casey Duncan.
I'm not sure whether the original worked in some context (perhaps we only need to change that framework argument for clang?)

I have been working on building wheels. I will try to get some wheels building on Travis, and see if this fix helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant