Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenGL just...stopped working...
#1
I've returned from my long break from programming to find my route blocked by my damn PC!

Okay, this was wierd. I just tried to run a old Yagl program I made, but it simply froze, stopped (the Program, not the PC), and closed. I tried to run a few OpenGL programmes and other Yagl programmes. SAME PROBLEM! Any advice oh Guru's Of programming wisdom?

-TheDarkJay
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#2
Programmed in FB?

I don't know why *compiled* programs don't work, but there was a change in fb's parser, you can't do this anymore:

Quote:#ifdef __FB_WIN32__
'$inclib: "opengl32"
#elseif defined(__FB_LINUX__)
'$inclib: "GL"
#elseif defined(__FB_DOS__)
'$inclib: "gl"
#endif

now, you have to do this:

Code:
#ifdef __FB_WIN32__
#inclib "opengl32"
#elseif defined(__FB_LINUX__)
#inclib  "GL"
#elseif defined(__FB_DOS__)
#inclib  "gl"
#endif


...maybe update opengl..? Can you even do that? O.o (clueless about ogl)
Reply
#3
FB...C++...the lot. Yagl, plain OpenGL...everything. I may have to learn Allegro if this carries on...
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#4
Do you have any ogl games such as doom3? Did you try those? If those didn't work, try updating your vid card drivers.
[Image: freebasic.png]
Reply
#5
Try to run the code I posted here. Please post any error messages you get from FreeBASIC.
Reply
#6
It compiles fine, but when I run it it just closes itself. nothing else happens.
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#7
You probably will have to update your video card drivers then. You could also reset the properties to default.

Was anyone messing with the computer while you were gone?
Reply
#8
No, though it did have a Complete crash that forced me to restart the Pc via the 'magic button'...maybe that broke something (it happened while I was playing a game)
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)