The Instruction for installing GLScene library into Lazarus 1.6x and up to work with Free Pascal Compiler (FPC)
- Download the last release of GLSceneLCL for Lazarus
From the page http://sourceforge.net/projects/glscene/files/ as archive file.
Select Branch->GLSceneLCLFrom current SVN version of GLScene from the URL of repository https://svn.code.sf.net/p/glscene/code/branch/GLSceneLCL.
NOTICE : Make a copy of the trunk in a separate directory, e.g. in the working directory ../GLSceneLCL, to prevent original source codes from occasional changes.
- Copy auxiliary dynamic libraries
- Under Windows
Run setup.bat in ..\GLSceneLCL\external directory as administrator to copy auxiliary dynamic libraries into C:\Windows\System32 and C:\Windows\SysWOW64 directories
- Under Linux
... to support 3D sounds, shaders and physics (BASS, FMOD, OpenAL, SDL, CG, ODE, Newton). Otherwise you will need to have ones for every application directory with exe file that calls an appropriate dll.
NOTICE : BASS, FMOD, CG Are only supported under Windows.
- Under Windows
- Install Components
Launch Lazarus IDE
Open and Compile Package GLScene_Runtime
Open and Compile Package GLScene_OpenAL
Do the same as step 1 above.
Open Compile and Install Package GLScene_Designtime
If you want using SDL Library
NOTICE : Compile package GLScene_SDL
If you are under Windows
NOTICE : You can compile others packages GLScene_Bass, GLScene_FMod, GLScene_ODE, GLScene_NGD, GLScene_CgShader and GLScene_WinOlnly
- After restarting Lazarus IDE
Normally you'll can open or create new GLScene projects