Hi,
I'm using Delphi 10 Seattle & I'm trying to install JEDI VCL but I'm getting this error:
Compiling JediIncCheck...
Using Embarcadero RAD Studio 10 Seattle
Using search path: C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release
Embarcadero Delphi for Win32 compiler version 32.0
Copyright (c) 1983,2016 Embarcadero Technologies, Inc.
JediIncCheck.dpr(2) Fatal: F2048 Bad unit format: 'C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release\System.dcu'
- Expected version: 32.0, Windows Unicode(x86) Found version: 30.0, Windows Unicode(x86)
An error occured while compiling the installer. Installation aborted.
This error isn't specific to JEDI as I had a similar error when I was trying to install another third party compoent.
I got this error when I run the install.bat. I get something similar when I try to install using the Delphi GetIt manager.
What causes the error & how to fix it?
Thanks
I think @Stompieis right. Even though you're running it from the Studio 17.0 (Delphi 10 Seattle) folder, it might be picking up the path for the newer version of Delphi instead.
On my main development machine, I have only Delphi 10.4 and 11 installed. I ran dcc32 --version from both the "21.0" and "22.0" folders:
And it picked the same one, the Delphi 11 version, both times. It used to be that Windows would look in the current folder first to run an application but I think it now looks through the PATH environment variable first.
A reference sheet I keep handy shows the relationship between the compiler version, the product name, the Delphi version, and the Studio version:
VER300 - Delphi 10 Seattle (Delphi 23, Studio 17.0)
VER310 - Delphi 10.1 Berlin (Delphi 24, Studio 18.0)
VER320 - Delphi 10.2 Tokyo (Delphi 25, Studio 19.0)
VER330 - Delphi 10.3 Rio (Delphi 26, Studio 20.0)
VER340 - Delphi 10.4 Sydney (Delphi 27, Studio 21.0)
VER350 - Delphi 11 Alexandria (Delphi 28, Studio 22.0)
When I ran the folder-specific version of dcc32, it used the correct one: