I've uninstalled my RAD Studio 10.2.2 and installed 10.2.3 in my Win10 development VM. Along the way I uninstalled all the previous 3rd-party libs, including the Jedi GetIt packages, and per the instructions got rid of all the old Jedi source and DCP/DCLs. I'm attempting to install them back into 10.2.3 via GetIt. The JCL libs install fine, but when I try to install JVCL, the installation batch file hangs after compiling the installer and the VM comes to its knees. I rebooted, started taskmgr and watched as the batch file ran - it appears to go into a loop creating many instances of msgfmt. I've tried removing it all again, downloading and installing the 3.8 version myself and running the install batch file by itself, same problem; then backing up to the 3.6 version that had installed OK in 10.2.2, and it does the same thing. If I edit the batch file to skip the language-setup section, the batch file completes OK, but trying to re-run the GetIt update causes it to re-download and replace that batch file. :(
The installer does compile before the languages part of the batch file is reached, so I tried running the installer directly. I assume I'm not passing it cmd line info it needs, because it compiles the 64-bit libs fine but chokes immediately on compiling the 32-bit version of JvCore250.bpl with an unspecified compile error.
Anyone else run into this? Is a solution known?
Turns out to ultimately be a pathing problem. When multiple installations of the IDE exist on a machine (e.g. my VM has or previously had D2007, XE2 and 10.1 on it), the PATH environment variable can be too long - edit the PATH in the system to remove the old/stale paths. Then make sure that the library paths in the IDE includes $(BDSLIB)\$(PLATFORM)\release or you'll get "can't find RTL" when building the packages.
For me the problem is generated from the msgfmt.exe of dxgettext.
msgfmt.exe generates multilanguage messages, for a multilanguage support of jvcl installation.
For the specific problem of msgfmt.exe try to see this: dxgettext and Windows 10
I resolved the problem opened the install.bat file in jvcl folder, and I commented (with ::) every line where the msgfmt is executed.
Attention:
If you use getit I suppose you have to open the folder where jvcl is downloaded and search install.bat (I didn't use getit)
Instead I downloaded jvcl directly from github in my component folder, and I did what is written above in that folder.
Related
I'm using Delphi CE 10.4, and it has the DCC32.exe disabled line compilation.
I'm trying to manually install Jedi components, in the readme of JCL it says that it's needed to open and edit included file to customize options, in my case, source\include\jcld27win32.inc.
I'm starting to learn Delphi, and I didn't understand whats is it is necessary to do in this file, and didn't find videos showing a manual installation.
Someone who already installed this way could help me?
Manual Installation Although it is not recommended, a manual
installation is possible. You will have to manually configure options
for the library. That is done by modifying an included file. For each
tool you want to install the JCL in, repeat the following steps:
Open and edit included file to customize options: ... For Delphi 10.4 and C++Builder 10.4 Win32: source\include\jcld27win32.inc ...
In the IDE, open and compile package Jcl.dpk (or Jcl.bpk for C++Builder) located in a subdirectory of the "packages" directory
matching your version of the IDE. This package doesn't have to be
installed since it doesn't provide any components.
If you want to install experts, open package JclBaseExpert.dpk and compile it, then you can install all the experts you want (packages
are located in the same directory).
Brand new installation of Delphi 10.3.2
Error Insight reports errors 'Cannot resolve unit name' on core RTL and VCL units, like System.Classes
This pollutes the error insight report, and also blocks code completion (control+space) which is a real issue...)
What I have tried so far:
Create a new VCL Form project: Same error, but project compiles without error
Checked that Control+Enter open the source file: ok
Checked that source folders are declared in the Browsing path (general Options)
Added the source folders to the Library path (general Options)
Installed IDE Fix Pack for delphi 10.3
Uninstalled previous delphi versions (XE4 and 10.2)
Cleaned the system PATH variable by removing references to previous delphi installations
I'm out of idea on how to fix this issue. Any help would be greatly appreciated
Edit: When switching to Win64 platform, error insight errors are gone. So I tried to delete the Win32 platform, and re-create it:same errors happen again.
Edit2: I uninstalled and installed Delphi 10.3.2 again: The error is still there...
Here's what I have done to resolve this issue:
declare the bin directory of delphi in the Library path. same for bin64 folder
clean up of runtime packages
install all official patches for delphi 10.3.2 (when installed from iso)
Note that the first install was done with the online installer (so patches were not required)
I believe that the issue came from an incorrect library path, with bin and bin64 directories missing...
I have a fresh win 10 installation with Delphi XE2.
I tried to install CnPack but there was no chance (It says couldn't find wizard):
Also registry is OK and the file is in there and the permissions are OK.
Its version is CnWizards_1.1.3.896 which is currently the latest version.
I have tried older versions as well but there was no chance.
Any idea ?
I had the same problem and I got it to resolve to do this.
I downloaded the Source file and the Installer file.
I used this version 1.1.3.896.
First I open the source in Delphi and Compile, Build and Install the following components.
CnPack_DXE2.dpk. (Compile and Build)
CnWizards_DXE2.dpr (Compile and Build)
dclCnPack_DXE2.dpk (Compile, Build and Install)
Execute the Installer file.
Now, this is the secret for me.
Replaced the files (CnWizards_DXE2.dll).
In the Third Step, it creates CnWizards_DXE2.dll (CnWizards\bin). Copy this file and paste in the local installation ([program files\CnPack\CnWizards]).
I created the mini tutorial in Portuguese for this situation, if necessary I can send it for you.
Sorry, my English is not good.
Bye for now
I downlaoded newest verrsion of JVCl which include JCL
As first thing, I try in jcl folder to doubleclick install.bat
It compiles and runs but then throws error:
Program can not start as rtl180.bpl is missing on the computer
I have Delphi 2010 installed here:
D:\DevTools\Embarcadero\RAD Studio\7.0
I have Delphi XE4 installed here:
D:\DevTools\Embarcadero\RAD Studio\11.0
I had many more installed in the past, but some were trials, some no longer work in Windows 10 etc. so I have been removing unwanted Delphi versions. But I have tried removing all traces.
Need to fix "System environment variables - Path" with path to bpls
I downloaded JEDIVCL package.... according to its help i have to run install.bat from jcl folder and then run install.bat from jvcl folder. i launched install.bat from jvcl folder but i received this error:
and if run install.bat from jcl folder receive this error:
How can I solve this problem? if its possible give me steps to install this package.
Second error message is crash of Delphi compiler.
install.bat asks Delphi to compile JCL installer, but... Delphi compiler crashes.
This is definitive sign that there is a problem with your Delphi compiler!
Try to install available all updates. Also, try to open installer project in IDE and compile it from IDE (without command-line compiler).
Sounds like you have problem with your Delphi installation. If you have just installed Delphi make sure you have run it at least once.
You will need to have the DCC32.EXE command line compiler to install JCL. If I remember correctly this was not shipped in the Turbo or Trial editions of the product.
The JCL/JVCL look in the registry for the location of your Delphi Installations, some versions of Delphi update the registry on the first launch of the product.