owl-project / NVISII

Apache License 2.0
327 stars 28 forks source link

Error whrn running helloworld.py #115

Closed Kartoffelchen closed 3 years ago

Kartoffelchen commented 3 years ago

My Nvidia driver is 460.73.1, system is Ubuntu 18.04.

installation:

pip install nvisii

To run the 00.helloworld.py, and the error was like this:

terminate called after throwing an instance of 'std::runtime_error'
what(): Error: Failed to create OpenGL window. Minimum OpenGL version is 4.3.
Aborted (core dumped)
TontonTremblay commented 3 years ago

can you pass headless=True in the initialize function. It sounds like you are not running the right version of opengl for the interactive window. Maybe look into upgrading it? https://medium.com/geekculture/a-beginners-guide-to-setup-opengl-in-linux-debian-2bfe02ccd1e

Kartoffelchen commented 3 years ago

Thanks, it truly worked!