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

glfw can't be created. #14

Closed
DeathPoem opened this issue Mar 28, 2016 · 2 comments
Closed

glfw can't be created. #14

DeathPoem opened this issue Mar 28, 2016 · 2 comments

Comments

@DeathPoem
Copy link

I was trying to make the tutorials work on my ubuntu 14.04 LTS which is installed in my vmWare ( a Nvida GPU of course ). But it seams that the glfw window can't be created correctly in the tutirial 1 : opening a window. I have google-ed for a while. Just need some help.

window = glfwCreateWindow( 1024, 768, "Playground", NULL, NULL);

╭─frankwang@ubuntu ~/mycode/OpenGLTutorior/ogl-OpenGL-tutorial_0015_33/tutorial01_first_window/screenshots
╰─➤ lspci |grep VGA
00:0f.0 VGA compatible controller: VMware SVGA II Adapter

would this be a problem to make it work?

@Calvin1602
Copy link
Contributor

You need drivers for your GPU. Just a VGA controller won't do.
Generally speaking it's a pain on virtualized systems, but you can get it to work. I never used vmWare, but on VirtualBox you need to install OS Additions, and the proprietary drivers.
If you can't get glxgears (or whatever) to run, the tutorials won't run either. Good luck !

@DeathPoem
Copy link
Author

Thanks for your reply. As you say, to install a driver for my ubuntu is a little bit pain...I would try and thanks again for your feedback.

Send from nubia

Calvin1602 notifications@github.com wrote:

You need drivers for your GPU. Just a VGA controller won't do.
Generally speaking it's a pain on virtualized systems, but you can get it to work. I never used vmWare, but on VirtualBox you need to install OS Additions, and the proprietary drivers.
If you can't get glxgears (or whatever) to run, the tutorials won't run either. Good luck !


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

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

2 participants