Exe not working - "Unable to create OpenGL window"

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
ernelopez
Prole
Posts: 4
Joined: Sun Oct 02, 2016 12:15 am

Exe not working - "Unable to create OpenGL window"

Post by ernelopez »

Hi!

I'm slowly learning to make simple games in Löve2d. My operating system is Ubuntu Linux; I have followed the instructions given here. I donloaded the 32bit Windows zip file, and made an exe with the command

Code: Select all

cat love.exe mygame.love > mygame.exe
When I try to see how it works on a laptop with Windows, this message pops up:

Unable to create OpenGL window
The program requires a graphic card and video drivers which support OpenGL 2.1 or OpenGL ES 2.
Detected OpenGL version:
1.1.0 - GDI Generic (Microsoft Corporation)

I can't find any help on this... Can anyone tell me how to do an exe which works? The game looks fine on my PC.

Best regards
Ernesto
User avatar
pgimeno
Party member
Posts: 3640
Joined: Sun Oct 18, 2015 2:58 pm

Re: Exe not working - "Unable to create OpenGL window"

Post by pgimeno »

LÖVE 0.10.x needs OpenGL 2.1 or OpenGL ES 2.

The drivers (and probably the GPU) in the Windows laptop don't seem to support that version. You need to either downgrade to LÖVE 0.9.x or upgrade the laptop's drivers (or the laptop) to one that supports OpenGL 2.1.
ernelopez
Prole
Posts: 4
Joined: Sun Oct 02, 2016 12:15 am

Re: Exe not working - "Unable to create OpenGL window"

Post by ernelopez »

Thanks a lot!
I don't thinl I'll be able to upgrade nothing on this laptop. It is very old...
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest