wjakob / nanogui

Minimalistic GUI library for OpenGL
Other
4.66k stars 608 forks source link

Errors when running in linux #34

Closed chenming-wu closed 8 years ago

chenming-wu commented 8 years ago

Hi! Thank you for offering this opensource library first. This is my first time to use nanogui. I was trying to use it in Linux Mint 17.1 32bit. I successfully compiled it but when I ran it, errors occurred.

The detailed information as follow: [example1] GLFW error 65543: GFX Forward compatibility requested but GLX_ARB_create_context is unavailable fatal error: Could not create an OpenGL 3.3 context!

[example2] GLFW error 65543: GFX Forward compatibility requested but GLX_ARB_create_context is unavailable terminate called after throwing an instance of 'std::runtime_error' what(): could not create an OpenGL 3.3 context!

wjakob commented 8 years ago

It's an issue with your graphics card or drivers and not related to nanogui.

chenming-wu commented 8 years ago

Thank you for your quick reply. I tried to compile and run nanogui in my two different computers, but the same errors occurred. BTW, my linux system is running on VMware.

wjakob commented 8 years ago

I don't think VMWare supports OpenGL 3.3 at the moment -- this means that you can't run nanogui in a VMWare container.

chenming-wu commented 8 years ago

You are right! I just checked my OpenGL version in VMWare, was 2.1. Thank you very much. I think I can learn a lot from you here. :)

tony commented 8 years ago

Also having this issue with VirtualBox 5.1.8 when trying to test a Ubuntu VM.

It seems as of Sept 4th, 2016, Parallels only supports OpenGL 2.1 max.