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
Welcome to our forums
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
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.
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?
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
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.
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.
Paul,
thanks, having copied the good gl.h from ftn95 version 8.50 to version 8.60 helped.
Regards, Dietmar
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
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
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
Paul,
yes, this helped and resolved the problem.
Thanks Dietmar