Results 1 to 8 of 8

Thread: Instructions for installing GLScene in Delphi 10.1 Berlin

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Instructions for installing GLScene in Delphi 10.1 Berlin

    Updated install instructions based on the document in the GLScene\Installation folder.


    1. Download archive zip files of GLScene 1.5 project at the page https://sourceforge.net/projects/glscene/files/GLScene/
    2. Unpack and move to a folder of your chosing.
    3. Go to GLScene\external and edit SetupDLLs.bat
    4. Read what it does.
    5. Remove two last lines:
      rem pause
      cls
    6. Save and close.
    7. Open command prompt to the same directory.
    8. Run SetupDLLs.bat from the command prompt.
    9. Observe text in the command prompt. See if files were copied or not.
    10. Close command prompt if filew were copied.
    11. Open Delphi IDE.
    12. Create a new environmental variable GLSCENEDIR. Tools->Options->Enviroment Options->Enviroment Variables->User overrides. Set this to the main folder where you positioned GLScene.
    13. 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.
    14. 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.
    15. 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
    16. 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
    17. Open project GLScene\Packages\GLScene_Win32.groupproj
    18. Select GLScene_RunTime in the project manager, right click, From here->"Compile all from here"
    19. Rightclick on every Design Time package and select install.
    20. Open project GLScene\Packages\GLScene_Win64.groupproj
    21. Select GLScene_RunTime in the project manager, right click, From here->"Compile all from here"
    Last edited by Thyandyr; 08-06-2017 at 09:45 PM.

  2. #2
    I do get error on item 19, on package GLScene_SDL_DesignTime.dproj: [dcc32 Error] "dcc" exited with code 1.

    Otherwise looked like it works, did only test one example and went to bed. Will continue today.
    Last edited by Thyandyr; 09-06-2017 at 09:57 AM.

  3. #3
    I edited the thread title to be more informative.
    Based on the old title I first thought that you are providing installation instruction for the Delphi itself. Which seemed a bit unusual since the thread is in GLScene section

  4. #4
    Quote Originally Posted by SilverWarior View Post
    I edited the thread title to be more informative.
    Based on the old title I first thought that you are providing installation instruction for the Delphi itself. Which seemed a bit unusual since the thread is in GLScene section
    I was pretty sleepy when I did this, can't remember what the title was but looks fine now.

  5. #5
    Quote Originally Posted by Thyandyr View Post
    I do get error on item 19, on package GLScene_SDL_DesignTime.dproj: [dcc32 Error] "dcc" exited with code 1.
    I recommend you open the troublesome package in Delphi and then try to compile/build it to see where error occurs.

  6. #6
    Quote Originally Posted by Thyandyr View Post
    I do get error on item 19, on package GLScene_SDL_DesignTime.dproj: [dcc32 Error] "dcc" exited with code 1.
    To be honest I wouldn't bother installing that particular package in the first place. Why would you want to use an outdated SDL1-based renderer instead of the native one?

  7. #7
    Quote Originally Posted by Akira13 View Post
    To be honest I wouldn't bother installing that particular package in the first place. Why would you want to use an outdated SDL1-based renderer instead of the native one?
    Yeah it does sound something like that I wouldn't worry about. I just though for completeness' sake to report what I saw.

  8. #8
    Hello Thyandyr,
    I Try to install GLScene on Delphi Tokyo with this procedure but I have some trouble at the point 18 :
    - The compilation of GLScene_Physics_RunTime.bpl give me, on the file GLNGDManager the fault :
    [dcc32 Erreur] GLNGDManager.pas(1640): E2010 Types incompatibles : 'TCollisionPrimitiveArray' et 'Pointer'
    [dcc32 Erreur fatale] GLScene_Physics_RunTime.dpk(45): F2063 Impossible de compiler l'unité utilisée 'GLNGDManager.pas'

    the line concerned is 1640 :
    if Length(collisionArray) > 0 then
    Result := NewtonCreateCompoundCollision(FManager.FNewtonWorl d,
    Length(collisionArray), @collisionArray[0], 0)

    - If I try to comment this lines, the compilation is successfull but any DPK files are generated only Lib files.
    Have you an Ideas about this fault ?
    Thanks for your help,
    Didier

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •