-
Notifications
You must be signed in to change notification settings - Fork 181
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
cannot find -lXxf86vm #140
Comments
This is related to #138. We need to improve the README. First, can you try a few things:
Let me know if that works. |
After installing
Searching for packages with glx in their name, I get plenty. I wouldn't now which to install. |
I just booted up a fresh Ubuntu (it's what I had) VM and after installing Go, I did this one step:
Afterwards FWIW, I looked at where the |
A GLX version issue is something I expect on when the system is strangely configured and doesn't support OpenGL (e.g., some old VM or really old hardware), or it might be a graphics card drive issue. I'm not sure if it's just a missing library... However, this might be a GLFW (the C library) issue possibly (but more likely it's something weird with your setup that can be avoided). Take a look at glfw/glfw#522 and see if it's relevant to you. Also, what does |
… comments. Use -u flag for go get command to ensure latest version is installed (latest versions tend to exist in order to fix bugs and issues). Mention that dependencies of GLFW (C library) need to be installed (but not GLFW itself, that is built as part of Go package). Remove old comments like "we're breaking the API" as that's a constant now; the changelog remains below. Also remove comment about adding examples since the README in examples repo does a better job of communicating how to best contribute there. Change title from "bindings" since it's now a more complete Go package, not just bindings. Use a godoc badge for the documentation link. Fixes #138 (and related to #140).
@shurcooL
|
That appears to be the problem. What machine are you running it on (what year was it made)? What video card does it have? What video card drivers? Can you install and run the C version of GLFW and its samples successfully? |
It seems GLFW (the C library) requires GLX version 1.3 or higher. See https://github.com/glfw/glfw/blob/master/src/glx_context.c#L189-L194. That means you'll need to find a way to upgrade to GLX 1.3 (it might be a software update, or if your hardware doesn't support it, then you'll need a hardware update). |
So I have version 1.2. I removed the version check in The example in
Even Ubuntu 12, which is less than a year old, has GLX version 1.2, so it might be useful to drop the 1.3 requirement. |
Ubuntu 12 and Mesa 7.7.1 are ancient. It's most definitely not less than a year old. 12 means 2012 |
Ubuntu 12.04.5 LTS was released in august 2014. End of life date is April 2017. This means it is still widely used. |
12.04 is from 2012 april. The minor version 5 at the end means bug fix only. So the packages are not updated. You're effectively using software from 2012. |
Is there a reason you want to stay with 12.04? If you need an LTS release you can upgrade to 14.04. |
At my work they use 12.04. They won't upgrade as long as it is supported (until 2017), because it is run on hundreds of computers. |
then your best bet is to update the relevent packages yourself. |
@tapir Impossible |
Can you open this issue in https://github.com/glfw/glfw or maybe I can ping @elmindreda here to confirm that. Is it expected that GLFW 3.1 doesn't run on Ubuntu 12.04 or is there some issue here? I'd be surprised if GLFW required GLX 1.3 unless it was really widely available. |
GLX 1.3 has been almost universally available since I took over in 2005, with the exception of X11.app on... 10.4 Tiger, I think. This is the only reason why GLFW before 3.1 had a fallback to According to the Mesa Version History, support for GLX 1.3 was added with Mesa 3.3 on July 21, 2000. Something else is going on here. |
Perhaps it's not mesa on the computer that runs glxinfo, but the computer that runs the X Server? glxinfo:
Mesa supplies the client? |
I'm closing this one since it's not a glfw issue. |
Installation fails:
go version go1.4.2 linux/amd64
Debian 6.0
The text was updated successfully, but these errors were encountered: