AdamSloan95 / Video_Game_Engine

A video Game Engine build in Java using LWJGL
0 stars 0 forks source link

First Time Running Error #10

Closed AdamSloan95 closed 4 months ago

AdamSloan95 commented 4 months ago

In Eclipse the first time I went to run the program I received an error like:

Error: 
GLFW may only be used on the main thread and that thread must be the first thread in the process. 
Please run the JVM with -XstartOnFirstThread. 
This check may be disabled with Configuration.GLFW_CHECK_THREAD0
AdamSloan95 commented 4 months ago

Go to run configurations and under the arguments tab paste this under vm arguments.

-XstartOnFirstThread

This is in the LWjGL documentation for using Mac OS - Documentation