Author Topic: OpenGL problem when running an exe  (Read 7263 times)

Vincent

  • SGDK2 Addict
  • Expert
  • Fanatic
  • *****
  • Posts: 612
  • Legacy of Kain: Revival is completed!!!
    • View Profile
    • Chivalrous Games
    • Email
OpenGL problem when running an exe
« on: 2009-08-17, 12:56:22 PM »
Hi guys,

One of my friends is trying to run my game on his computer.  It worked fine for a while, but then he reinstalled his computer and since then, he can't get the game to work.
I don't visit him often, he lives a little far, so I can't try his computer to find the problem.  When he runs the exe (he knows where to put the files, dlls, etc), he gets this error:

System.ApplicationExeption: openGL version. 1.2 is required; your version is : 3.0.0

I don't know how to help him.  Anyone has already seen this error?

Thanks for your time! :)
Legacy of Kain: Revival completed!
http://lokrevival.webs.com

See also my company website:
http://chivalrousgames.com

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: OpenGL problem when running an exe
« Reply #1 on: 2009-08-17, 01:17:16 PM »
Two thoughts: 1) Try installing the latest video drivers from the video hardware manufacturer's web site.
2) Refer / post to this thread on the OpenTK forums
http://www.opentk.com/node/1040
It talks about the code that is used to get the OpenGL version.

Vincent

  • SGDK2 Addict
  • Expert
  • Fanatic
  • *****
  • Posts: 612
  • Legacy of Kain: Revival is completed!!!
    • View Profile
    • Chivalrous Games
    • Email
Re: OpenGL problem when running an exe
« Reply #2 on: 2009-08-17, 01:22:04 PM »
Thanks, I'll look into this. :)
Legacy of Kain: Revival completed!
http://lokrevival.webs.com

See also my company website:
http://chivalrousgames.com

Vincent

  • SGDK2 Addict
  • Expert
  • Fanatic
  • *****
  • Posts: 612
  • Legacy of Kain: Revival is completed!!!
    • View Profile
    • Chivalrous Games
    • Email
Re: OpenGL problem when running an exe
« Reply #3 on: 2009-08-17, 01:32:40 PM »
Well, the latest drivers don't change anything.

I looked around in the OpenTK forum and I found this thread:
http://www.opentk.com/node/806
Could it be possible that I still have an old version of OpenTK?  I looked in the properties of the OpenTK dll and it says 0.9.1.  I guess that's the problem!

Is it because you never updated the SGDK2.1 version to use the 0.9.6 version of OpenTK?  Do I have an old SGDK2.1 version and I should update it?  The properties of the SGDK2.1 program says I have version 2.1.0.1.

What do you suggest bluemonkmn? :)
Legacy of Kain: Revival completed!
http://lokrevival.webs.com

See also my company website:
http://chivalrousgames.com

Vincent

  • SGDK2 Addict
  • Expert
  • Fanatic
  • *****
  • Posts: 612
  • Legacy of Kain: Revival is completed!!!
    • View Profile
    • Chivalrous Games
    • Email
Re: OpenGL problem when running an exe
« Reply #4 on: 2009-08-18, 07:01:26 AM »
Well, the problem definitely is the version of the OpenTK.dll.  I downloaded another version of the dll (0.9.8 I think), sent it to my friend and it works now.   :)
Legacy of Kain: Revival completed!
http://lokrevival.webs.com

See also my company website:
http://chivalrousgames.com

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: OpenGL problem when running an exe
« Reply #5 on: 2009-08-18, 08:49:52 AM »
I suppose I should re-release SGDK2 in its current state.  The current download links lead to SGDK 2.0 because 2.1 is in beta.  But it doesn't seem to be going anywhere and I think is not worse than 2.0, so I should probably make that the main version right now.

Vincent

  • SGDK2 Addict
  • Expert
  • Fanatic
  • *****
  • Posts: 612
  • Legacy of Kain: Revival is completed!!!
    • View Profile
    • Chivalrous Games
    • Email
Re: OpenGL problem when running an exe
« Reply #6 on: 2009-08-21, 06:57:54 PM »
Oh, I surprised to learn that 2.1 is still in beta: it works fine and it's very stable.  :surprise:
Legacy of Kain: Revival completed!
http://lokrevival.webs.com

See also my company website:
http://chivalrousgames.com

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: OpenGL problem when running an exe
« Reply #7 on: 2009-08-21, 08:37:04 PM »
That is definitely a driver issue, I would suggest hardware but you said it used to work.

Latest drivers aren't always the best, particularly with old cards.

SmartBoy16

  • Contributor
  • Fanatic
  • **
  • Posts: 587
  • Looking for inspiration.....
    • View Profile
    • Email
Re: OpenGL problem when running an exe
« Reply #8 on: 2009-08-21, 08:45:32 PM »
Oh, I surprised to learn that 2.1 is still in beta: it works fine and it's very stable.  :surprise:

sometimes beta means it has all the features, but may still have bugs.

i actually thought it was released too. strange...
Looking to the skies.....

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: OpenGL problem when running an exe
« Reply #9 on: 2009-08-22, 09:18:25 AM »
The reason I left it in Beta is because some of the features don't work in Linux, which is one of the main features of 2.1.  I thought we might get somewhere in resolving those issues, but I guess we haven't and maybe won't, so I might as well go with what we've got.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: OpenGL problem when running an exe
« Reply #10 on: 2009-08-29, 03:22:17 PM »
I uploaded a new version of SGDK2, but they totally changed the file release process so it's going to take me a little longer than I expected (don't have time right now) to figure out how to turn that into an actual release.

Looks like you might be able to download the file anyway, though -- SGDK212.zip.  But I haven't figured yet how to fully control how/where that file is listed.
« Last Edit: 2009-08-29, 03:26:50 PM by bluemonkmn »

SmartBoy16

  • Contributor
  • Fanatic
  • **
  • Posts: 587
  • Looking for inspiration.....
    • View Profile
    • Email
Re: OpenGL problem when running an exe
« Reply #11 on: 2009-08-29, 04:30:20 PM »
I uploaded a new version of SGDK2, but they totally changed the file release process so it's going to take me a little longer than I expected (don't have time right now) to figure out how to turn that into an actual release.

Looks like you might be able to download the file anyway, though -- SGDK212.zip.  But I haven't figured yet how to fully control how/where that file is listed.

i got it ;)
Looking to the skies.....