[BUG] glfwInit() broken

Started by Bobthepeanut, January 20, 2015, 20:05:48

Previous topic - Next topic

Bobthepeanut

Hello everyone,
I recently ran some tests on a freshly setup Ubuntu installation and noticed that calling glfwInit() would simply not work. When called, the program seems to enter an infinite loop; neither are error messages thrown nor does anything happen. It seems that this bug exists in certain versions of GLFW (taken from http://stackoverflow.com/questions/1610458/glfw-window-fails-to-open-ubuntu). It would be nice if someone could investigate this.

For reference purposes, this are my system specs (I know, it's not quite a powerhouse :D):
Processor                   2x Intel(R) Pentium(R) CPU B960 @ 2.20GHz
Memory                     3897MB
Operating System        Ubuntu 14.10
Graphics Card             IntelHD 3000

spasi

The only known issue with Ubuntu is this one. But that happens on glfwCreateWindow, not glfwInit. Also, the stackoverflow question you linked was asked 5 years ago, with a very old version of GLFW.

Have you set up an error callback before calling glfwInit?

abcdef

I am using Mint and it works perfectly fine

Are you sure you have opengl drivers installed? (sudo apt-get install build-essential;sudo apt-get install freeglut3-dev)

Bobthepeanut

I made a debugging mistake, indeed. Actually, the call to glfwCreateWindow() is broken. I'm sorry about the wrong information I gave.

Yes, an error callback is already setup.

Concerning drivers, I ran both of the commands you said, however, it didn't change anything.

In a nutshell, it seems to be https://github.com/LWJGL/lwjgl3/issues/35.

Sorry for the trouble.