There is any way to make a clean installation of this software? The instructions provided with GLScene is way to outdated (Delphi6) and doesn't work anyway with XE4. Following the standard procedure of installing packages definitely doesn't work. I also looked around how other people did, follow them all with no luck. At best I'm getting a long list of errors. Am I downloading the wrong release or what?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh, man, I hope someone gets this sorted out. I just downloaded the files and I am having a very hard time figuring out what to do. Can't compile everything because there are dependencies, can't install components because nothing is actually created when built...etc.
I also agree about the so-called "help". Way too out of date to do us XE4 users any good.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Got the HTML but since the instructions say "do this according to this picture", and I have no access to the images, it does me no good. Where can I get the associated images with the HTML?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In order to compile and install the GLScene SVN update version 6456 using XE startup, I needed to ....
Change line 4 {$R '..\Source\CgShaders\GLSceneVCLCg.dcr'} to {$R '..\Source\GLSceneVCLCg.dcr'}
Change line 4 {$R '..\Source\ComputeAPIs\GLSceneVCLCUDA.dcr'} to {$R '..\Source\GLSceneVCLCUDA.dcr'}
Change line 4 {$R '..\Source\PhysiceAPIs\GLSceneVCLNGD.dcr'} to {$R '..\Source\GLSceneVCLNGD.dcr'}
Change line 4 {$R '..\Source\PhysiceAPIs\GLSceneVCLODE.dcr'} to {$R '..\Source\GLSceneVCLODE.dcr'}
Change line 42 ODEGL in '..\Source\PhysicsAPIs\ODEGL.pas', to ODEGL in '..\Source\ODEGL.pas',
Change lines 4, 5 and 6 {$R '..\Source\DesignTime\GLSceneObjects.dcr'} to {$R '..\Source\GLSceneObjects.dcr'}
{$R '..\Source\DesignTime\nonGLSceneVCL.dcr'} to {$R '..\Source\nonGLSceneVCL.dcr'}
{$R '..\Source\DesignTime\GLSceneVCL.dcr'} to {$R '..\Source\GLSceneVCL.dcr'}
Change line 4 {$R '..\Source\SoundAPIs**'} to {$R '..\Source**'}
Cahnge line 35 in '..\Source\SoundAPIs*.pas'; to in '..\Source**.pas';
Remove line 35, 37 or 41 dynodegl in '..\Source\dynodegl.pas',
In the relevant .dpk files
There seems to be some confusion regarding dynodegl it is referenced a number of times but is not contained in any Folder.
a copy can be found at http://read.pudn.com/downloads94/sourcecode/graph/378412/Source/PhysicsAPIs/dynodegl.pas__.htm
Remove line 80 Actions, from GLSceneEdit.pas
Change
{$NODEFINE TGLMatrix2DType}
($HPPEMIT END OPENNAMESPACE)
($HPPEMIT END 'typedef TGLVector2D TGLMatrix2DArray[4];')
($HPPEMIT END CLOSENAMESPACE)
TGLMatrix3DType = array[0..3] of TGLVector3D;
{$NODEFINE TGLMatrix3DType}
($HPPEMIT END OPENNAMESPACE)
($HPPEMIT END 'typedef TGLVector3D TGLMatrix3DType[4];')
($HPPEMIT END CLOSENAMESPACE)
to
{$NODEFINE TGLMatrix2DType}
( $HPPEMIT END OPENNAMESPACE)
( $HPPEMIT END 'typedef TGLVector2D TGLMatrix2DArray[4];')
( $HPPEMIT END CLOSENAMESPACE)
TGLMatrix3DType = array[0..3] of TGLVector3D;
{$NODEFINE TGLMatrix3DType}
( $HPPEMIT END OPENNAMESPACE)
( $HPPEMIT END 'typedef TGLVector3D TGLMatrix3DType[4];')
( $HPPEMIT END CLOSENAMESPACE)
in GLTypes.pas file This may be a mistake ??????? I do not know enough about this ????
Even then I could not install the packages GLSS_OpenAL and GLSS_FMOD
The error
Unable to load project
.
.
CONTAINS clause is incorect
occurs.
Eric Hardinge
ps this may not be the most appropriate place to post this but I did not know how to start a new post.
Last edit: Eric Hardinge 2014-08-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I followed the instructions from the link provided, and nothing was actually ok, in first place Delphi XE4 doesn't have Environment Options/C++ options... At list not this one that I bought.
Now my question again: does anyone did a CLEAN installation of GLScene, however simple or complicated, but reproducible by others?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, there is absolutely no difference. Obviously I have some paths not configured. What I'm keep trying to say is that the posted installation instructions CANNOT be followed in XE4. There isn't Environment Options/C++options. Here you have an screenshot attached.
Steps 6 and 7 cannot be done so, at step 8 errors start pouring in, there is no point to list them.
to westwood345
Yes, of course, having only Delphi XE4 personality you don’t find c++builder’s environment options. Buy and use EMB RAD Studio XE4 instead if you need to code on c++ language. But for Delphi that’s not the point. Also you may include paths to sources and output dirs straight to each your project. As I remember there were no problems with installation of GLScene on Delphi XE4. Though.. when you will see some errors on missing some classes during the first building of GLSceneRuntime.dpk then simply press the cancel button. Then rebuild and install all packages. Wish you good luck.
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, did exactly, and I got only one error: [dcc32 Fatal Error] GLSceneRegister.pas(905): F2063 Could not compile used unit 'GLScene.FMX.Viewer.pas'
Is pointing at "Uses...FMX.Graphics" so what is not seeing is FMX.Graphics(.dcu) and is right, it is not in XE4 distribution.
What I can do now?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All right, finally...
Deleted GLScene.FMX.Viewer.pas,
also in GLSceneRegister.pas in line 577 "GLScene.FMX.Viewer," commented out and in line 2014 "TGLSceneViewport," commented out.
Also in one of the dpk files, don't remember now which, is a syntax error (semicolon missing), but that's going to be highlighted anyway so won't be a problem to spot it.
After that it builded all.
Thank you Pavel,
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oops, happy too early...
Most of the samples crashes Delphi right on loading them. The other samples crashes Delphi after running them (when closing). After that much struggle with installation is quite disappointing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is any way to make a clean installation of this software? The instructions provided with GLScene is way to outdated (Delphi6) and doesn't work anyway with XE4. Following the standard procedure of installing packages definitely doesn't work. I also looked around how other people did, follow them all with no luck. At best I'm getting a long list of errors. Am I downloading the wrong release or what?
Oh, man, I hope someone gets this sorted out. I just downloaded the files and I am having a very hard time figuring out what to do. Can't compile everything because there are dependencies, can't install components because nothing is actually created when built...etc.
I also agree about the so-called "help". Way too out of date to do us XE4 users any good.
Well, you must follow instructions in
https://sourceforge.net/p/glscene/code/HEAD/tree/trunk/_Installation/Installation.htm
and all should be ok!
Got the HTML but since the instructions say "do this according to this picture", and I have no access to the images, it does me no good. Where can I get the associated images with the HTML?
Oh, sorry. If you don't know how to use a TotroiseSVN program then just download all files in the directory https://sourceforge.net/p/glscene/code/HEAD/tree/trunk/_Installation/
and get all associated images. Don't worry and be happy.
Last edit: Pavel Vassiliev 2014-07-23
In order to compile and install the GLScene SVN update version 6456 using XE startup, I needed to ....
Change line 4 {$R '..\Source\CgShaders\GLSceneVCLCg.dcr'} to {$R '..\Source\GLSceneVCLCg.dcr'}
Change line 4 {$R '..\Source\ComputeAPIs\GLSceneVCLCUDA.dcr'} to {$R '..\Source\GLSceneVCLCUDA.dcr'}
Change line 4 {$R '..\Source\PhysiceAPIs\GLSceneVCLNGD.dcr'} to {$R '..\Source\GLSceneVCLNGD.dcr'}
Change line 4 {$R '..\Source\PhysiceAPIs\GLSceneVCLODE.dcr'} to {$R '..\Source\GLSceneVCLODE.dcr'}
Change line 42 ODEGL in '..\Source\PhysicsAPIs\ODEGL.pas', to ODEGL in '..\Source\ODEGL.pas',
Change lines 4, 5 and 6 {$R '..\Source\DesignTime\GLSceneObjects.dcr'} to {$R '..\Source\GLSceneObjects.dcr'}
{$R '..\Source\DesignTime\nonGLSceneVCL.dcr'} to {$R '..\Source\nonGLSceneVCL.dcr'}
{$R '..\Source\DesignTime\GLSceneVCL.dcr'} to {$R '..\Source\GLSceneVCL.dcr'}
Change line 4 {$R '..\Source\SoundAPIs**'} to {$R '..\Source**'}
Cahnge line 35 in '..\Source\SoundAPIs*.pas'; to in '..\Source**.pas';
Remove line 35, 37 or 41 dynodegl in '..\Source\dynodegl.pas',
In the relevant .dpk files
There seems to be some confusion regarding dynodegl it is referenced a number of times but is not contained in any Folder.
a copy can be found at
http://read.pudn.com/downloads94/sourcecode/graph/378412/Source/PhysicsAPIs/dynodegl.pas__.htm
Remove line 80 Actions, from GLSceneEdit.pas
Change
{$NODEFINE TGLMatrix2DType}
($HPPEMIT END OPENNAMESPACE)
($HPPEMIT END 'typedef TGLVector2D TGLMatrix2DArray[4];')
($HPPEMIT END CLOSENAMESPACE)
TGLMatrix3DType = array[0..3] of TGLVector3D;
{$NODEFINE TGLMatrix3DType}
($HPPEMIT END OPENNAMESPACE)
($HPPEMIT END 'typedef TGLVector3D TGLMatrix3DType[4];')
($HPPEMIT END CLOSENAMESPACE)
to
{$NODEFINE TGLMatrix2DType}
( $HPPEMIT END OPENNAMESPACE)
( $HPPEMIT END 'typedef TGLVector2D TGLMatrix2DArray[4];')
( $HPPEMIT END CLOSENAMESPACE)
TGLMatrix3DType = array[0..3] of TGLVector3D;
{$NODEFINE TGLMatrix3DType}
( $HPPEMIT END OPENNAMESPACE)
( $HPPEMIT END 'typedef TGLVector3D TGLMatrix3DType[4];')
( $HPPEMIT END CLOSENAMESPACE)
in GLTypes.pas file This may be a mistake ??????? I do not know enough about this ????
Change / comment out
{$IFDEF GLS_DELPHI_XE_UP}
procedure WMTouch(var Message: TMessage); message WM_TOUCH;
{$ENDIF}
to
(
{$IFDEF GLS_DELPHI_XE_UP}
procedure WMTouch(var Message: TMessage); message WM_TOUCH;
{$ENDIF})
and Changed / comment out
{$IFDEF GLS_DELPHI_XE_UP}
procedure TGLSceneViewer.WMTouch(var Message: TMessage);
.
.
.
.
end;
{$ENDIF}
to
(
{$IFDEF GLS_DELPHI_XE_UP}
procedure TGLSceneViewer.WMTouch(var Message: TMessage);
.
.
.
.
end;
{$ENDIF})
in GLWin32Viewer.pas
Even then I could not install the packages GLSS_OpenAL and GLSS_FMOD
The error
Unable to load project
.
.
CONTAINS clause is incorect
occurs.
Eric Hardinge
ps this may not be the most appropriate place to post this but I did not know how to start a new post.
Last edit: Eric Hardinge 2014-08-14
File dynodegl is not needed now, use odegl instead as the same. All other pathes are fixed for old packages in the current svn version
PW
Well, I followed the instructions from the link provided, and nothing was actually ok, in first place Delphi XE4 doesn't have Environment Options/C++ options... At list not this one that I bought.
Now my question again: does anyone did a CLEAN installation of GLScene, however simple or complicated, but reproducible by others?
westwood345, try now the current svn version. All pathes were fixed.
Sorry, there is absolutely no difference. Obviously I have some paths not configured. What I'm keep trying to say is that the posted installation instructions CANNOT be followed in XE4. There isn't Environment Options/C++options. Here you have an screenshot attached.
Steps 6 and 7 cannot be done so, at step 8 errors start pouring in, there is no point to list them.
Last edit: westwood345 2014-08-22
to westwood345
Yes, of course, having only Delphi XE4 personality you don’t find c++builder’s environment options. Buy and use EMB RAD Studio XE4 instead if you need to code on c++ language. But for Delphi that’s not the point. Also you may include paths to sources and output dirs straight to each your project. As I remember there were no problems with installation of GLScene on Delphi XE4. Though.. when you will see some errors on missing some classes during the first building of GLSceneRuntime.dpk then simply press the cancel button. Then rebuild and install all packages. Wish you good luck.
PW
OK, did exactly, and I got only one error:
[dcc32 Fatal Error] GLSceneRegister.pas(905): F2063 Could not compile used unit 'GLScene.FMX.Viewer.pas'
Is pointing at "Uses...FMX.Graphics" so what is not seeing is FMX.Graphics(.dcu) and is right, it is not in XE4 distribution.
What I can do now?
All right, finally...
Deleted GLScene.FMX.Viewer.pas,
also in GLSceneRegister.pas in line 577 "GLScene.FMX.Viewer," commented out and in line 2014 "TGLSceneViewport," commented out.
Also in one of the dpk files, don't remember now which, is a syntax error (semicolon missing), but that's going to be highlighted anyway so won't be a problem to spot it.
After that it builded all.
Thank you Pavel,
Best regards
Oops, happy too early...
Most of the samples crashes Delphi right on loading them. The other samples crashes Delphi after running them (when closing). After that much struggle with installation is quite disappointing.