Installation of GLScene into Lazarus since version 1.6.x


The Instruction for installing GLScene library into Lazarus 1.6x and up to work with Free Pascal Compiler (FPC)


  1. Download the last release of GLSceneLCL for Lazarus
    • From the page http://sourceforge.net/projects/glscene/files/ as archive file.
      Select Branch->GLSceneLCL

    • From 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.

  2. 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.

  3. Install Components

    Launch Lazarus IDE

    1. Open and Compile Package GLScene_Runtime

    2. Open and Compile Package GLScene_OpenAL

      Do the same as step 1 above.

    3. Open Compile and Install Package GLScene_Designtime


    4. If you want using SDL Library

      NOTICE : Compile package GLScene_SDL

    5. If you are under Windows

      NOTICE : You can compile others packages GLScene_Bass, GLScene_FMod, GLScene_ODE, GLScene_NGD, GLScene_CgShader and GLScene_WinOlnly

  4. After restarting Lazarus IDE

    Normally you'll can open or create new GLScene projects