-
Notifications
You must be signed in to change notification settings - Fork 176
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
Linux Nvidia glXGetProcAddress Fail to compile #8
Comments
The samples do work on NVIDIA + Linux as far as I know. I will have to drop an NVIDIA board in my Linux machine and see what the problem is. |
Try using my fork @ https://github.com/bradc6/sb6code . I think I had the same issue as you (Ubuntu 12.04 Nvidia 331), it was due the compiler not looking in the right location for glfw. |
@grahamsellers Yes, please. On AMD just works, look http://code.mythtv.org/trac/ticket/4064 . There is a solution there. |
@adderly I changed it to use parts of Cmake system to find the location of gl and glfw via find_package() calls, if found then use the found libraries instead of the hard coded defaults. As soon as I did that everything worked |
@bradc6 Im going to try it, when i get home. Hope it works, and what are the differences between the library included and the one the system have? Different Version? |
I have some pending patches and pull requests to fix some CMake issues. I really wanted to test them before I commit. I'll try to get to it ASAP - hopefully that will resolve the issues. |
It works for me (NVIDIA). I had to change elif to elseif (I checked there is already a pull request for it) to make it work with my version of cmake, |
Hi ,
Under ubuntu 13.04 with nvidia 331.xx i get this compilation error.
/usr/bin/ld: /usr/local/lib/libglfw.so: undefined reference to symbol 'glXGetProcAddress'
/usr/bin/ld: note: 'glXGetProcAddress' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libGL.so so try adding it to the linker command line.
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libGL.so: could not read symbols: Invalid operation
Which i guess isn't supported in the nvidia stuff?
what workaround i could have?
The text was updated successfully, but these errors were encountered: