Can't Find OpenGL

Just starting out? Need help? Post your questions and find answers here.
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Can't Find OpenGL

Post by chris319 »

I'm trying to use OpenGL with a project. I have specified OpenGL in Compiler Options and PureBasic says it can't find it.

I have updated my Nvidia graphics drivers to the very latest.

Windows 10 64 bit.

:?:
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Can't Find OpenGL

Post by mk-soft »

OpenGL is now default. DirectX9 and DirectX11 is subsystem
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
StarBootics
Addict
Addict
Posts: 1006
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Can't Find OpenGL

Post by StarBootics »

We need more intel,

Do you want to use OpenGL API directly under Windows OS ? If so you will need to use GLEW in order to get the OpenGL functionality supported by your driver.

Since I don't use Windows OS on any of my computers I can't help you more than that.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Can't Find OpenGL

Post by mk-soft »

Nothing needs to be installed afterwards ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Al_the_dutch
User
User
Posts: 70
Joined: Mon Nov 11, 2013 11:07 am
Location: Portugal

Re: Can't Find OpenGL

Post by Al_the_dutch »

I got the same problem. An old project with openGL now opened with PureBasic 6.02 for Windows, x64. PureBasic syntax check/compiler says it cannot find the subsystem and does not compile. If I remove openGL in the compileroptions (libs), it does compile without warning or errors, but the executable gives a Warning: Please compile With OpenGL subsystem. Then the exe stops, so it is not only a warning. What can I do about it? Any help much appreciated.
Al_the_dutch
User
User
Posts: 70
Joined: Mon Nov 11, 2013 11:07 am
Location: Portugal

Re: Can't Find OpenGL

Post by Al_the_dutch »

With PureBasic 5.73 LTS x64 no problems, so for a short time solution that's ok. :?
User avatar
Caronte3D
Addict
Addict
Posts: 1355
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Can't Find OpenGL

Post by Caronte3D »

Maybe it needs a proper bug report
Al_the_dutch
User
User
Posts: 70
Joined: Mon Nov 11, 2013 11:07 am
Location: Portugal

Re: Can't Find OpenGL

Post by Al_the_dutch »

Thx. I did in Bugs - Windows\openGL subsystem not found.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Can't Find OpenGL

Post by Fred »

The OpenGL subsystem has been made by default, so it's removed (the DirectX9 subsystem appeared). You just need to find in your code where is the check for the OpenGL subsystem and remove it.
Al_the_dutch
User
User
Posts: 70
Joined: Mon Nov 11, 2013 11:07 am
Location: Portugal

Re: Can't Find OpenGL

Post by Al_the_dutch »

Thx so much Fred. Indeed the check was build into my code. That was in 2015, so I forgot it. :oops: :lol:
Post Reply