Thyandyr
08-06-2017, 08:32 PM
Updated install instructions based on the document in the GLScene\Installation folder.
Download archive zip files of GLScene 1.5 project at the page https://sourceforge.net/projects/glscene/files/GLScene/
(https://sourceforge.net/projects/glscene/files/GLScene/)
Unpack and move to a folder of your chosing.
Go to GLScene\external and edit SetupDLLs.bat
Read what it does.
Remove two last lines:
rem pause
cls
Save and close.
Open command prompt to the same directory.
Run SetupDLLs.bat from the command prompt.
Observe text in the command prompt. See if files were copied or not.
Close command prompt if filew were copied.
Open Delphi IDE.
Create a new environmental variable GLSCENEDIR. Tools->Options->Enviroment Options->Enviroment Variables->User overrides. Set this to the main folder where you positioned GLScene.
Add Delphi Library Path. Tools->Options->Delphi Options->Library->32 bit->"Library Path".
Add ";$(GLSCENEDIR)\lib\win32" at the end of the textbox. Without " marks.
Ad Delphi Library Path. Tools->Options->Delphi Options->Library->64 bit->"Library Path".
Add ";$(GLSCENEDIR)\lib\win64" at the end of the textbox. Without " marks.
Add search path. Tools->Options->Delphi Options->Library->32 bit->"Browsing path".
Add these directories: ;(GLSCENEDIR)\Source;(GLSCENEDIR)\Source\Basis;(GL SCENEDIR)\Source\DesignTime;(GLSCENEDIR)\Source\Fi leFormats;(GLSCENEDIR)\Source\GameAPIs;(GLSCENEDIR )\Source\ParallelAPIs;(GLSCENEDIR)\Source\PhysicsA PIs;(GLSCENEDIR)\Source\ScriptingAPIs;(GLSCENEDIR) \Source\Shaders;(GLSCENEDIR)\Source\SoundVideoAPIs
Add search path. Tools->Options->Delphi Options->Library->64 bit->"Browsing path".
Add these directories: ;(GLSCENEDIR)\Source;(GLSCENEDIR)\Source\Basis;(GL SCENEDIR)\Source\DesignTime;(GLSCENEDIR)\Source\Fi leFormats;(GLSCENEDIR)\Source\GameAPIs;(GLSCENEDIR )\Source\ParallelAPIs;(GLSCENEDIR)\Source\PhysicsA PIs;(GLSCENEDIR)\Source\ScriptingAPIs;(GLSCENEDIR) \Source\Shaders;(GLSCENEDIR)\Source\SoundVideoAPIs
Open project GLScene\Packages\GLScene_Win32.groupproj
Select GLScene_RunTime in the project manager, right click, From here->"Compile all from here"
Rightclick on every Design Time package and select install.
Open project GLScene\Packages\GLScene_Win64.groupproj
Select GLScene_RunTime in the project manager, right click, From here->"Compile all from here"
Download archive zip files of GLScene 1.5 project at the page https://sourceforge.net/projects/glscene/files/GLScene/
(https://sourceforge.net/projects/glscene/files/GLScene/)
Unpack and move to a folder of your chosing.
Go to GLScene\external and edit SetupDLLs.bat
Read what it does.
Remove two last lines:
rem pause
cls
Save and close.
Open command prompt to the same directory.
Run SetupDLLs.bat from the command prompt.
Observe text in the command prompt. See if files were copied or not.
Close command prompt if filew were copied.
Open Delphi IDE.
Create a new environmental variable GLSCENEDIR. Tools->Options->Enviroment Options->Enviroment Variables->User overrides. Set this to the main folder where you positioned GLScene.
Add Delphi Library Path. Tools->Options->Delphi Options->Library->32 bit->"Library Path".
Add ";$(GLSCENEDIR)\lib\win32" at the end of the textbox. Without " marks.
Ad Delphi Library Path. Tools->Options->Delphi Options->Library->64 bit->"Library Path".
Add ";$(GLSCENEDIR)\lib\win64" at the end of the textbox. Without " marks.
Add search path. Tools->Options->Delphi Options->Library->32 bit->"Browsing path".
Add these directories: ;(GLSCENEDIR)\Source;(GLSCENEDIR)\Source\Basis;(GL SCENEDIR)\Source\DesignTime;(GLSCENEDIR)\Source\Fi leFormats;(GLSCENEDIR)\Source\GameAPIs;(GLSCENEDIR )\Source\ParallelAPIs;(GLSCENEDIR)\Source\PhysicsA PIs;(GLSCENEDIR)\Source\ScriptingAPIs;(GLSCENEDIR) \Source\Shaders;(GLSCENEDIR)\Source\SoundVideoAPIs
Add search path. Tools->Options->Delphi Options->Library->64 bit->"Browsing path".
Add these directories: ;(GLSCENEDIR)\Source;(GLSCENEDIR)\Source\Basis;(GL SCENEDIR)\Source\DesignTime;(GLSCENEDIR)\Source\Fi leFormats;(GLSCENEDIR)\Source\GameAPIs;(GLSCENEDIR )\Source\ParallelAPIs;(GLSCENEDIR)\Source\PhysicsA PIs;(GLSCENEDIR)\Source\ScriptingAPIs;(GLSCENEDIR) \Source\Shaders;(GLSCENEDIR)\Source\SoundVideoAPIs
Open project GLScene\Packages\GLScene_Win32.groupproj
Select GLScene_RunTime in the project manager, right click, From here->"Compile all from here"
Rightclick on every Design Time package and select install.
Open project GLScene\Packages\GLScene_Win64.groupproj
Select GLScene_RunTime in the project manager, right click, From here->"Compile all from here"