Windows 10 and OPenGL

Windows specific forum
wawavoun
User
User
Posts: 35
Joined: Fri Oct 18, 2019 4:49 pm

Windows 10 and OPenGL

Post by wawavoun »

Hello there,

New with Purebasic (demo version) I try some examples found in the package.

OpenGLGadget.pb wont compile :

[17:45:52] [COMPILER] Line 38: glPushMatrix_() is not a function, array, list, map or macro.

It seems that problem is the same with any sample related to 3D or OpenGL.

Test made on a up-to-date Windows 10 (Intel HD Graphics 4000 interface with recent Intel driver, dxdiag look good). No problem under Linux.

So any idea ?

Thanks for the help.
Philippe
User avatar
mk-soft
Always Here
Always Here
Posts: 5406
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Windows 10 and OPenGL

Post by mk-soft »

Welcome :wink:

All functions that end with underlined "_" are externe API and DLL functions.
These are only available in the full version.

For testing these functions you have to import them yourself with the import function.

perhaps can anyone write an example for import
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
BarryG
Addict
Addict
Posts: 3324
Joined: Thu Apr 18, 2019 8:17 am

Re: Windows 10 and OPenGL

Post by BarryG »

mk-soft wrote:perhaps can anyone write an example for import
Yes, but... that defeats the purpose of the demo restrictions. Fred needs to disable imports in the demo.
User avatar
mk-soft
Always Here
Always Here
Posts: 5406
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Windows 10 and OPenGL

Post by mk-soft »

I don't think so. The lines restriction is enough.

With 800 lines you can try a few things to see if Purebasic is something for you.
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
Post Reply