[Lazarus] Compiling error with GLScene

Kjow antispammoni at gmail.com
Mon Nov 22 20:10:38 CET 2010


Hi all,

when I compile Lazarus (FPC 2.5.1) with official GLScene >= r5319 (
svn co https://glscene.svn.sourceforge.net/svnroot/glscene/trunk
GLScene ) I get this error on GLScene.pas:

...
...
...
Compiling C:\Develop\lazarus\components\GLScene\Source\GLSelection.pas
GLScene.pas(2469,54) Hint: Parameter "notifyEvent" not used
GLScene.pas(2476,48) Hint: Parameter "notifyEvent" not used
GLScene.pas(905,29) Hint: Parameter "rci" not used
C:\Develop\lazarus\components\GLScene\Source\GLScene.pas(3003,30)
Error: function header doesn't match any method of this class
"TGLBaseSceneObject.GetChildren(TGetChildProc,TComponent);"
GLScene.pas(630,15) Hint: Found declaration:
TGLBaseSceneObject.GetChildren(TGetChildProc,TComponent);
GLScene.pas(3167,37) Hint: Conversion between ordinals and pointers is
not portable
GLScene.pas(3167,29) Hint: Conversion between ordinals and pointers is
not portable
GLScene.pas(3203,39) Hint: Conversion between ordinals and pointers is
not portable
GLScene.pas(3203,31) Hint: Conversion between ordinals and pointers is
not portable
GLScene.pas(3770,11) Hint: Local variable "i2" does not seem to be initialized
GLScene.pas(3770,7) Hint: Local variable "i1" does not seem to be initialized
GLScene.pas(5840,34) Hint: Local variable "d" does not seem to be initialized
C:\Develop\lazarus\components\GLScene\Source\GLScene.pas(7323,20)
Error: function header doesn't match any method of this class
"TGLScene.GetChildren(TGetChildProc,TComponent);"
GLScene.pas(1760,15) Hint: Found declaration:
TGLScene.GetChildren(TGetChildProc,TComponent);
GLScene.pas(7449,18) Hint: Local variable "B" does not seem to be initialized
GLScene.pas(9304,36) Hint: Local variable "framePerf" does not seem to
be initialized
GLScene.pas(9335,42) Hint: Local variable "perfCounter" does not seem
to be initialized
GLScene.pas(9367,15) Hint: Local variable "rci" does not seem to be initialized
GLScene.pas(10103,46) Hint: Variable "vCounterFrequency" does not seem
to be initialized
C:\Develop\lazarus\components\GLScene\Source\GLScene.pas(10106) Fatal:
There were 2 errors compiling module, stopping

This error doesn't appear with GLScene.pas <= r5318, but the part of
source code that stops compiling is the same between r5318 and r5320.

I asked to GLScene developers, but they can't find why Lazarus/FPC
fails to compile GLScene.

Can you help me/they to solve?


Thank you!




More information about the Lazarus mailing list