Problem to run project. Defold can't open windows (SOLVED)

Hello guys,

When i try run the project defold show me this message:

INFO:ENGINE: Defold Engine 1.2.89 (5ca3dd1)
Failed to select a GLFWFBConfig from the alternatives
Unable to find a usable pixel format
Failed to create GLFW window
FATAL:ENGINE: Could not open window (-2).

P.S. I tried to install a new defold from defold website, but i got the same error.

1 Like

Hi @jhonatanvinicius!

What platform are you running on?

1 Like

Windows 7 64 bits.

Could you check which version of OpenGL that is supported by your drivers? There are multiple tools to check this, but one option is to download GLView http://www.realtech-vr.com/glview.

1 Like

@jakob.pogulis your tip was right. I tried reinstall my VGA driver and now Defold can compile the game in a window.

Thanks to you and @Mathias_Westerdahl too.

3 Likes

i have 1.1 openGL version with same problem.what to do.i have windows 7 32 bit and 256 mb vram

You need to upgrade your driver if your graphics card supports OpenGL 2.0+. If not, then you need new hardware.

1 Like