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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?:
Downloaded from SVN
Ran CleanRelease.bat
Added GLScene to environment
Added GLScene/Source to delphi's library paths (win32 and win64).
Loaded GLScene_Win32.groupproj
Chose "compile all"
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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 ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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\
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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
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.
Hi Christophe,
The current GLScene v1.9 has a very easy installation for Seattle-Berlin-Tokyo-Rio-Sydney. See instruction in Help.
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?:
Can you please please help me? What did I forget to do?
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
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
It’s from GLCrossPlatform unit that ocasionally missing. I’ll fix it.
Thanks.
Oops! It’s from GLCrossPlatform unit that missed ocasionally form uses clause. I’ll fix it.
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 ;)
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
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?
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.
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
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.
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
JKLee,
I don't have the error, check you place sound DLLs in system32/syswow64
Would you check external folder files and SetupDLLs.bat ? There are some mismatched file names in SetupDlls.bat between the real files.
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.
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님이 작성:
Absolutely not !! In a 64bit Windows, System32 is dedicated to 64bit files and SysWOW64 for the 32bit files !
I know it's counterintuitive but it's like that. Look at https://www.howtogeek.com/326509/whats-the-difference-between-the-system32-and-syswow64-folders-in-windows/
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
Hi Pavel,
There is a mistake for the sdl2 dlls :
should be :
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
Christophe,
Convinced, but it's necessary to update dll names in SDL2.pas unit. Fixed
Pavel
Last edit: Pavel Vassiliev 2020-06-19
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
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
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!!