cyglfw3
cyglfw3 copied to clipboard
Trouble building on Mint 17
The install fails with an ImportError: .... undefined symbol glfwGetMonitors
. This is after compiling glfw3 from source and install it using make install
. Installation using pip and setup.py both appear to fail in the same way
Are you running GLFW 3.1? Sounds more like you're running GLFW 2.
Sorry, just re-read that and noticed you said "glfw3 from source".
If you did a make install, chances are it ended up in /usr/local
. Perhaps change the include / link paths to the setup.py?
Hmm, actually that is already added to the include paths, and /opt
. Where did it install it?
Hey! Sorry, I was basically reporting this on behalf of a friend's computer. I'll try to test it out more this weekend. Any details you'd think would help?
On Tue, Nov 3, 2015, 17:30 Adam Griffiths [email protected] wrote:
Sorry, just re-read that and noticed you said "glfw3 from source".
If you did a make install, chances are it ended up in /usr/local. Perhaps change the include / link paths to the setup.py?
— Reply to this email directly or view it on GitHub https://github.com/adamlwgriffiths/cyglfw3/issues/20#issuecomment-153509775 .
Well undefined symbol means it's found the headers (include files), but it's failing to find those references at link time. So the includes should be ok, but the link directives / paths could be wrong. It's possible Mint has moved away from GCC to LLVM and cause be causing issue, but LLVM is generally compatible, so I'm unsure. Apart from checking what compiler you're using, all I can suggest is playing around with the linker options in setup.py.