Menu

Install in Delphi 10.3.3 Rio AND Delphi 10.4 Sydney

Help
2020-06-08
2020-06-25
  • Christophe BUTRUILLE

    Hi,
    I have GLScene installed in Delphi 10.3.3 Rio since a long time and everything works fine.
    I have installed Delphi 10.4 Sydney last week, have copied the source files of GLScene in a dedicated folder for my components for Sydney and could compile and install the components and even run many demos in 32 and 64bits without troubles.
    But after that I could not start Rio again : when it loads the GLScene components it shows a Runtime error 236 at 367F0532 and closes !
    I have removed avery key in the registry related to GLScene in Rio and then could start Delphi Rio again.
    I can load and build without any error the project groups Win32 and Win 64 but when I try to install GLScene_DT.bp,l I receive the same error (Runtime error 236) and Delphi Rio closes...
    After compilation in Rio, I can still run Delphi Sydney and compile and run GLScene demos...
    The source files are installed in two different folders, the EDI too of course and I have not found any file compiled by Rio modified after compilation and installation in Sydney !
    I turn around, don't understand and begin to get crazy !
    If anyone has an idea, it would be really helpfull.

     
    • Pavel Vassiliev

      Pavel Vassiliev - 2020-06-15

      Hi Christophe,
      The current GLScene v1.9 has a very easy installation for Seattle-Berlin-Tokyo-Rio-Sydney. See instruction in Help.

       
  • seavander

    seavander - 2020-06-15

    Hi Pavel.

    I'm having trouble installing in Delphi's new 10.4 Sydney. My install is failing at the point of "compile all".
    GLScene_RT compiles just fine, but then the process fails when compiling GLScene_DT with the message that it cannot find GLScene_RT. I'm getting the same error when I try to manually compile GLScene_DT. For your information, the same error occurs when trying to compile any of the other parts of the package (sounds/physics/etc).
    I think I've done everything as you mention within the help-file but maybe I forgot something?:

    1. Downloaded from SVN
    2. Ran CleanRelease.bat
    3. Added GLScene to environment
    4. Added GLScene/Source to delphi's library paths (win32 and win64).
    5. Loaded GLScene_Win32.groupproj
    6. Chose "compile all"
    7. And then compiling failed at "cannot find GLScene_RT" when compiling GLScene_DT

    Can you please please help me? What did I forget to do?

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-06-15

    Yes, in some cases when generated bpl/dcp packages saved in ..GLScene\dcp\win32 folder and not as usual in $(BDSCOMMONDIR)\Dcp\$(Platform) then IDE may stop not finding dcp. Before compiling GLScene_DT remove from the project GLScene_RT and add again it from .GLScene\dcp\win32. It should compile and install the package.

     

    Last edit: Pavel Vassiliev 2020-06-15
  • seavander

    seavander - 2020-06-15

    Awseome Pavel. That worked. Appreciate the screenshot. That helped a ton!

    Now I have a problem compiling parallel_RT. Error message:
    [dcc32 Error] GLSCUDADataAccess.pas(52): E2003 Undeclared identifier: 'THalfFloat'
    Not a show-stopper for me because I don't use the parallel library. Just wanted to let you know.
    What do you think I should do here to get it installed?

    After that I tried to install the components and they also fail. So after successfully compiling GlScene_DT I tried to install that design-time package. Error message is:
    Can't load package C:\GLScene\bpl\Win32\GLScene_DT.bpl.
    The specified module could not be found
    And... the strange thing is that the bpl file exists in that folder but somethow cannot be found!?

    Thoughts?

     

    Last edit: seavander 2020-06-15
    • Pavel Vassiliev

      Pavel Vassiliev - 2020-06-15

      It’s from GLCrossPlatform unit that ocasionally missing. I’ll fix it.
      Thanks.

      Понедельник, 15 июня 2020, 18:03 +03:00 от seavander seavander@users.sourceforge.net:

      Awseome Pavel. That worked. Appreciate the screenshot. That helped a ton!
      Now I have a problem compiling parallel_RT. Error message:
      [dcc32 Error] GLSCUDADataAccess.pas(52): E2003 Undeclared identifier: 'THalfFloat'
      Not a show-stopper for me because I don't use the parallel library. Just wanted to let you know.
      What do you think I should do here to get it installed?
      After that I tried to install the components and they also fail. So after successfully compiling GlScene_DT I tried to install that design-time package. Error message is:
      Can't load package C:\GLScene\bpl\Win32\GLScene_DT.bpl.
      The specified module could not be found
      Thoughts?


      Install in Delphi 10.3.3 Rio AND Delphi 10.4 Sydney

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/glscene/discussion/93606/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      --
      Pavel Vasilyev

       
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-06-15

    Oops! It’s from GLCrossPlatform unit that missed ocasionally form uses clause. I’ll fix it.

     
  • seavander

    seavander - 2020-06-15

    Appreciate that Pavel, and thank you for all your hard work and input in this project. Your component absolutely ROCKS! Just hoping that you'll get me up and running in 10.4 Sydney ;)

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-06-15

    well, seavander,
    I hope they useful in your work. The original authors of the components and developers were Mike Lischke, Eric Grange and many others https://en.wikipedia.org/wiki/GLScene

     
  • seavander

    seavander - 2020-06-16

    Still no success installing a fresh install using your new update.
    Pavel - I've got it to work - somewhat - by deleting all the custom paths inside the project properties for each component. The paths like "../../dcp" and so forth. Can you maybe check your setup? There seem to be inconsistencies between release/debug and maybe that's why several files are not found during compilation and install?

     
    • Pavel Vassiliev

      Pavel Vassiliev - 2020-06-17

      Yes, seavander, it seems that IDE don't like to install packages steadily from folders others then by default. Especially after updating sources. May be this is the feature not a bug. So I'll fix pathes to return to usual place of bpl/dcp files in $BDSCOMMONDIR.

       
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-06-17

    seavander,
    There is the updated GLScene's v1.9 with fresh screenshots in installation instruction. Try it now.
    Pavel

     

    Last edit: Pavel Vassiliev 2020-06-17
  • seavander

    seavander - 2020-06-17

    Hi Pavel. Thank you. Maybe you can do the same for the 64-bit application package? I mean removing the custom folders? I had to remove those for that part to install successfully too.

     
  • JK Lee

    JK Lee - 2020-06-18

    I got the one error when I installed your lastest version according to your InstallationGLS.pdf.
    [dcc32 Fatal Error] GLScene_Sounds_RT.dpk(33): E2202 Required package 'vcl' not found

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-06-18

    JKLee,
    I don't have the error, check you place sound DLLs in system32/syswow64

     
  • JK Lee

    JK Lee - 2020-06-19

    Would you check external folder files and SetupDLLs.bat ? There are some mismatched file names in SetupDlls.bat between the real files.

     
  • Christophe BUTRUILLE

    Hi all,
    I have modified the SetupDll.bat so that the right dll are installed at the right place and are copied even if you place the GLScene folder in a subfolder with a space in the name.
    It has to be started with Right click and Start with administrator rights.
    A pause at the end allow you to check if everything works OK. After that, removing all the output folders in the packages and applying the trick from Pavel (removing and adding again the GLScene_RT from the required package in GLScene_DT, I have been able to install all the packages.

     
    • JK Lee

      JK Lee - 2020-06-19

      Thank you for your email.
      I appreciate all your efforts.
      But.
      Your SetupDLLs.bat has some problems.
      for example.
      copy "%~dp0sdl2_32.dll" %SystemRoot%\SysWOW64\sdl2_32.dll

      32bit file copy to 64bit folder.

      JK Lee

      I modify that file.

      @echo off
      echo Copying DLLs to the Windows System32 and SysWOW64 directories
      echo Copying nVidia CG DLLs
      rem win64
      copy cg.dll %SystemRoot%\System32\
      copy cgGL.dll %SystemRoot%\System32\
      rem win32
      copy cg.dll %SystemRoot%\SysWOW64\
      copy cgGL.dll %SystemRoot%\SysWOW64\

      echo Copying SDL2 DLLs
      rem win32
      copy sdl2_32.dll %SystemRoot%\System32\
      rem win64
      copy sdl2_64.dll %SystemRoot%\SysWOW64\

      echo Copying Sound DLLs
      rem win32
      copy bass32.dll %SystemRoot%\System32\
      copy fmod32.dll %SystemRoot%\System32\
      copy OpenAL32.dll %SystemRoot%\System32\
      rem win64
      copy bass64.dll %SystemRoot%\SysWOW64\
      copy fmod64.dll %SystemRoot%\SysWOW64\
      copy OpenAL64.dll %SystemRoot%\SysWOW64\

      echo Copying ODE DLLs
      rem win32
      copy ode32s.dll %SystemRoot%\System32\
      copy ode32d.dll %SystemRoot%\System32\
      rem win64
      copy ode64s.dll %SystemRoot%\SysWOW64\
      copy ode64d.dll %SystemRoot%\SysWOW64\

      echo Copying Newton DLLs
      rem win32
      copy newton.dll %SystemRoot%\System32\
      copy dJointLibrary.dll %SystemRoot%\System32\
      rem win64
      copy newton64.dll %SystemRoot%\SysWOW64\
      copy dJointLibrary64.dll %SystemRoot%\SysWOW64\

      echo Copying nVidia PhysX DLLs
      rem win32
      copy PhysXwrap.dll %SystemRoot%\System32\
      rem win64
      copy PhysXwrap.dll %SystemRoot%\SysWOW64\

      echo Copying CUDA and zlib1 DLLs
      rem win32
      copy cutil32.dll %SystemRoot%\System32\
      copy zlib1.dll %SystemRoot%\System32\
      rem win64
      copy cutil64.dll %SystemRoot%\SysWOW64\
      copy zlib1.dll %SystemRoot%\SysWOW64\

      2020년 6월 19일 (금) 오후 3:38, Christophe BUTRUILLE chrisbut@users.sourceforge.net님이 작성:

      Hi all,
      I have modified the SetupDll.bat so that the right dll are installed at
      the right place and are copied even if you place the GLScene folder in a
      subfolder with a space in the name.
      It has to be started with Right click and Start with administrator rights.
      A pause at the end allow you to check if everything works OK. After that,
      removing all the output folders in the packages and applying the trick from
      Pavel (removing and adding again the GLScene_RT from the required package
      in GLScene_DT, I have been able to install all the packages.

      Attachments:


      Install in Delphi 10.3.3 Rio AND Delphi 10.4 Sydney
      https://sourceforge.net/p/glscene/discussion/93606/thread/16521f5a16/?limit=25#fea6


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/glscene/discussion/93606/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-06-19

    Hi Christophe,
    Thnx that found the wrong names of DDLs in setupDLLs. But you don't need "tricks" now cos more simple is to save bpl/dcp in $BDSCOMMONDIR path. Fixed.
    Pavel

     
    • Christophe BUTRUILLE

      Hi Pavel,
      There is a mistake for the sdl2 dlls :

      echo Copying SDL2 DLLs
      rem win32
      copy sdl2.dll %SystemRoot%\SysWOW64\sdl2.dll
      rem win64
      copy sdl264.dll %SystemRoot%\System32\sdl264.dll
      

      should be :

      echo Copying SDL2 DLLs
      rem win32
      copy sdl2_32.dll %SystemRoot%\SysWOW64\sdl2_32.dll
      rem win64
      copy sdl2_64.dll %SystemRoot%\System32\sdl2_64.dll
      

      Furthermore, I suggest to let the double quote and the %~dp0 in front of each file to be copied : it adds the path from where the batch has been launched.
      When I launch it with right click/Start with administrator rights (translatation from my french OS), the command are launched from C:\Windows\System32 and "copy" does not find the files. You can see it when you change "Echo off" to "Echo on" in the bat file.
      The double quote surrounding allows to copy files placed in a subfolder with a space in the name. In my case for example "C:\Composants Delphi 10.4 Sydney\GLScene\external".
      Attached the file fixed with the modified names of some dll.
      Christophe

       

      Last edit: Christophe BUTRUILLE 2020-06-19
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-06-19

    Christophe,
    Convinced, but it's necessary to update dll names in SDL2.pas unit. Fixed
    Pavel

     

    Last edit: Pavel Vassiliev 2020-06-19
  • JK Lee

    JK Lee - 2020-06-22

    I still get the error as follow when I run [Compile All From Here]
    [dcc32 Fatal Error] GLScene_Sounds_RT.dpk(33): E2202 Required package 'vcl' not found
    So, I add Options->Library Path -> [$(BDSLIB)\win32\release] Add.
    After this, I avoid 'vcl' not found.

    But following error occured, And I can not install GLScene_Physics_DT.
    [dcc32 Warning] GLScene_RT.dpk(303): W1032 Exported package threadvar 'GLFileSTL.STLUseEmbeddedColors' cannot be used outside of this package

     

    Last edit: JK Lee 2020-06-22
    • Pavel Vassiliev

      Pavel Vassiliev - 2020-06-22

      JK,
      It seems that your IDE lost or you occasionally deleted a path to vcl packages. Check your Ordered list of Library paths carefully.
      Pavel

       
  • Sergey Kniazev

    Sergey Kniazev - 2020-06-25

    Hello!!

    I can not install the GLScene_Physics_DT. All packages and libraries have been successfully installed, but when I try to install the GLScene_Physics_DT, an error occurs (see attach).

    Windows 10, Delphi 10.3.2 (Community Edition), GLScene 1.9 (in 1.8 all work).

    Thanks!!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.