Thank you for your prompt reply.
Using GLScene version 6592 with Delphi XE starter.
Attempting to compile package GLScene_DesignTime_VCL;
[DCC Error] GLWin32Vierer.pass(439):E2003 Undeclared identifier: 'TOUCH_COORD_TO_PIXEL'
This can be fixed using the advice given by nelsonchu...
................
After the line:
[DCC Warning] GLSelection.pas(361): W1023 Comparing signed and unsigned types - widened both operands [DCC Warning] PictureRegisteredFormats.pas(49): W1054 PRF hack not tested for this Delphi version! [DCC Warning] PictureRegisteredFormats.pas(133): W1054 HackTPictureRegisteredFormats will crash when Graphics.pas is compiled with the [DCC Warning] GLGeomObjects.pas(2992): W1036 Variable 'StartOffset' might not have been initialized [DCC Hint] GLFileBMP.pas(557): H1054 TGLBMPImage.SaveToStream not yet implemented
.
. [DCC Hint] GLTypes.pas(85): H2219 Private symbol 'Add' declared but never used
.
. [DCC Hint] GLTypes.pas(85): H2219 Private symbol 'Add' declared but never used
etc....
[DCC Error] OpenGL1x.pas(2782): E2003 Undeclared identifier: 'Exception' [DCC Error] OpenGL1x.pas(2867): E2034 Too many actual parameters [DCC Error] OpenGL1x.pas(2885): E2034 Too many actual parameters [DCC Error] OpenGL1x.pas(4682): E2003 Undeclared identifier: 'StrToInt' [DCC Error] OpenGL1x.pas(4686): E2003 Undeclared identifier: 'Abort' [DCC Fatal Error] GLGizmoEx.pas(408): F2063 Could not compile used unit 'OpenGL1x.pas'
I appreciate that you have other things to do, and so there is no rush.
Thanks again for all your help.
Eric Hardinge
Last edit: Eric Hardinge 2015-01-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry about the formatting, that was not my intention.
OK I edited the post to remove the unintended formatting.
By the way the above refers to version 6954
Last edit: Eric Hardinge 2015-01-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Eric,
While in Xe2/Xe7 GLScene compiles without errors Ive fixed some of your Xe errors. But warnings and hints are too numerous for the whole project files and in many cases couild lead to incompatibility with previous versions. It should be repaired in FMX version.
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Pavel
I used Tortoise SVN to download GLScene_FMX version 6607.
Attempted to compile GLScene_DesignTime_FMX
This Error occurred. [DCC Fatal Error] GLScene_DesignTime_FMX.dpk(34): E2202 Required package 'fmx' not found
Searched unsuccessfully for the fmx unit.
Do you have a Delphi XE available to compile these packages?
Do you want me to continue try to compile these packages so that you can fix the bugs?
Eric Hardinge
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Eric,
The GLScene_FMX is in a branch of development stage where some units, e.g. GLS.SceneEdit, are not ready to compile.
I don't have Delphi XE and it would be very kind of you if you can help and fix any bugs in GLScene_FMX branch. You may start an item in discussion about "Conversion GLScene from VCL to FMX"
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
GLScene version 6586 does not compile for Delphi XE Starter.
Eric Hardinge
Eric, use current 6591 and yet, please, somehow report what message you've got from your XE compiler.
PW
Thank you for your prompt reply.
Using GLScene version 6592 with Delphi XE starter.
Attempting to compile package GLScene_DesignTime_VCL;
[DCC Error] GLWin32Vierer.pass(439):E2003 Undeclared identifier: 'TOUCH_COORD_TO_PIXEL'
This can be fixed using the advice given by nelsonchu...
................
After the line:
procedure TGLSceneViewer.WMTouch(var Message: TMessage);
Adding:
function TOUCH_COORD_TO_PIXEL(l : integer) : integer; // Delphi XE needs this
begin
result := l div 100;
end;
would solve the XE without TOUCH_COORD_TO_PIXEL problem.
..............
[DCC Error] GLTypes.pas(117): E1030 Invalid compiler directive: 'HPPEMT'
This can be fixed by commenting out all *$HPPEMIT END referenced...
but this is probably not the best solution.
Then there are a number of hints indicating variables declared and not used.
Not a problem.
However ...
[DCC Fatal Error] OpenGL 1x.pas(112): F1026 File not found: 'System.sysUtils.dcu'
I will leave you with this as it is probably best to fix the problems one at a time.
Currently I am using a somewhat modified GLScene version 6404 which works fine for my needs at this stage.
Thank you for your help
Eric Hardinge.
Eric,
Fixed in version 6594
PW
These are the errors that occurred when compiling 'package GLScene_DesignTime_VCL'
{ one step closer to success }
[DCC Fatal Error] GLFileDDS.pas(29): F1026 File not found: 'System.Classes.dcu'
[DCC Fatal Error] GLScene_DesignTime_VCL.dpk(41): E2202 Required package 'GLScene_RunTime_VCL' not found
Changed 'System.Classes.dcu' to 'Classes.dcu'
[DCC Fatal Error] GLFileDDS.pas(29): F1026 File not found: 'System.SysUtils.dcu'
[DCC Fatal Error] GLScene_DesignTime_VCL.dpk(41): E2202 Required package 'GLScene_RunTime_VCL' not found
Changed 'System.SysUtils.dcu' to 'SysUtils.dcu'
[DCC Fatal Error] GLSRGBE.pas(19): F1026 File not found: 'System.Classes.dcu'
Changed 'System.Classes.dcu' to 'Classes.dcu' and 'System.SysUtils.dcu' to 'SysUtils.dcu'
[DCC Fatal Error] GLFileHDR.pas(25): F1026 File not found: 'System.Classes.dcu'
Changed 'System.Classes.dcu' to 'Classes.dcu' and 'System.SysUtils.dcu' to 'SysUtils.dcu'
[DCC Error] OpenGL1x.pas(115): E2004 Identifier redeclared: 'System'
Commented out 'System'
[DCC Warning] GLSelection.pas(361): W1023 Comparing signed and unsigned types - widened both operands
[DCC Warning] PictureRegisteredFormats.pas(49): W1054 PRF hack not tested for this Delphi version!
[DCC Warning] PictureRegisteredFormats.pas(133): W1054 HackTPictureRegisteredFormats will crash when Graphics.pas is compiled with the
[DCC Warning] GLGeomObjects.pas(2992): W1036 Variable 'StartOffset' might not have been initialized
[DCC Hint] GLFileBMP.pas(557): H1054 TGLBMPImage.SaveToStream not yet implemented
.
.
[DCC Hint] GLTypes.pas(85): H2219 Private symbol 'Add' declared but never used
.
.
[DCC Hint] GLTypes.pas(85): H2219 Private symbol 'Add' declared but never used
etc....
[DCC Error] OpenGL1x.pas(2782): E2003 Undeclared identifier: 'Exception'
[DCC Error] OpenGL1x.pas(2867): E2034 Too many actual parameters
[DCC Error] OpenGL1x.pas(2885): E2034 Too many actual parameters
[DCC Error] OpenGL1x.pas(4682): E2003 Undeclared identifier: 'StrToInt'
[DCC Error] OpenGL1x.pas(4686): E2003 Undeclared identifier: 'Abort'
[DCC Fatal Error] GLGizmoEx.pas(408): F2063 Could not compile used unit 'OpenGL1x.pas'
I appreciate that you have other things to do, and so there is no rush.
Thanks again for all your help.
Eric Hardinge
Last edit: Eric Hardinge 2015-01-04
Sorry about the formatting, that was not my intention.
OK I edited the post to remove the unintended formatting.
By the way the above refers to version 6954
Last edit: Eric Hardinge 2015-01-04
Eric,
While in Xe2/Xe7 GLScene compiles without errors Ive fixed some of your Xe errors. But warnings and hints are too numerous for the whole project files and in many cases couild lead to incompatibility with previous versions. It should be repaired in FMX version.
PW
Hi Pavel
I used Tortoise SVN to download GLScene_FMX version 6607.
Attempted to compile GLScene_DesignTime_FMX
This Error occurred.
[DCC Fatal Error] GLScene_DesignTime_FMX.dpk(34): E2202 Required package 'fmx' not found
Searched unsuccessfully for the fmx unit.
Do you have a Delphi XE available to compile these packages?
Do you want me to continue try to compile these packages so that you can fix the bugs?
Eric Hardinge
Hi Eric,
The GLScene_FMX is in a branch of development stage where some units, e.g. GLS.SceneEdit, are not ready to compile.
I don't have Delphi XE and it would be very kind of you if you can help and fix any bugs in GLScene_FMX branch. You may start an item in discussion about "Conversion GLScene from VCL to FMX"
PW
I will be glad to help, keeping in mind that I'm easily confused.
Eric Hardinge
I will start "Conversion GLScene from VCL to FMX"
I understand.
I thought that might be the case.
I assume FMX is a separate version from that of Xe2/Xe7 and that it avoids those complications.
Thank you for your time and effort, it is much appreciated.
Eric Hardinge