Silverfrost Forums

Welcome to our forums

Unknown symbols for ftn95 version 8.60

16 Jan 2020 8:50 #24876

Hello,

we make use of Open GL for our 32 bit builds and found that the following symbols are unknown for ftn95 version 8.60:

glBindTexture 
glDeleteTextures 
glGenTextures

Regards Dietmar

16 Jan 2020 10:20 #24877

Dietmar

These are OpenGL functions so my first thought is that they must be missing from the 64 bit OpenGL library. I can take a look in the relevant DLLs.

If this is true then they will also be missing for previous releases of FTN95.

16 Jan 2020 10:53 #24878

These functions are in OpenGL32.dll and appear to be present in the 64 bit version.

Was this a problem when using the v8.5x release of the compiler?

Are you including OpenGL32.dll in your link script?

16 Jan 2020 11:44 #24879

Paul,

sorry, I forgot to tell you that these errors occurred when compiling *.cpp files. The exact error message was e.g.: *** Function 'glGenTextures' has not been declared

I found a declaration of glBindTexture in file

include\WIN32\GL\GL.H

of ftn95 version 7.10 and 8.50, but **not **for 8.60.

The same holds for the two other symbols.

Regards, Dietmar

16 Jan 2020 12:17 #24880

Dietmar

Can you copy the good gl.h for v8.50 to the 'include\WIN32\GL' for v8.60.

I will try to work out what has gone wrong and fix it for the next release.

16 Jan 2020 1:31 #24881

Dietmar

Can you send me a copy of your gl.h that contains these functions.

At the moment I can't find a Silverfrost version that has them.

16 Jan 2020 1:33 #24882

Paul,

thanks, having copied the good gl.h from ftn95 version 8.50 to version 8.60 helped.

Regards, Dietmar

16 Jan 2020 2:37 #24883

Paul,

do you still need the good gl.h (of ftn95 version 8.50)? For me this is not urgent anymore because I'm fine with the hint you suggessted. If yes, how would I send it to you?

Regards, Dietmar

2 Apr 2020 12:51 #25137

Paul,

symbols

glBindTexture
glDeleteTextures
glGenTextures 

are still marked as undeclared for scc contained in fnt95 environment 8.61. Unfortunately this is not healed by copying the good version of gl.h of ftn95 environment 8.50 to the 8.61 environment.

This confuses me.

Regards, Dietmar

2 Apr 2020 3:07 #25138

Dietmar

I am sorry for the ongoing problem with gl.h.

Can you look at ...\Silverfrost\FTN95\include\gl\gl.h.

This appears to be the place where the installer has put the file and it should be placed at ...\Silverfrost\FTN95\include\win32\gl\gl.h.

Please let me know if this resolves the problem so that I can pass the information on.

Paul

3 Apr 2020 6:53 #25139

Paul,

yes, this helped and resolved the problem.

Thanks Dietmar

Please login to reply.