[futurebasic] Beginners: Variable Definitions

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Fri, 22 Jan 2010 10:59:38 -0500
Emmett asked:

The declarations in the Header file: gl.h are not being passed to the 
page with the dim sizeX as GLint

>Question:
>Can I solve this error by simply putting:
>include "gl.h" at the top of the page that caused the error?

Emmett,

gl.h is the Apple Toolbox header. It has been translated to FB. Try 
adding the FB header:

      Tlbx glu.incl

to your file. If you open  Tlbx glu.incl, you will see that it also 
includes the definitions from Tlbx.gl.incl, which contains the 
definition for GLint.

Ken

Hint: You might want to open the "Headers" folder in your FB folder 
and acquaint yourself with the FB headers and their contents.