I have a package where a unit uses JCL.
When I try build the package it states
E2225 Never-build package 'Jcl' must be recompiled
So I load the package Jcl.dproj / Jcl160.bpl file into Delphi and build it. No errors here.
But I still get the same error afterwards?
Any possible reasons? I have checked the file Jcl160.bpl get updated on re-build
Had the same error a while ago. Check your system if older versions of the jcl package/bpl is somewhere present. Clean those up and the problem will most likely be gone...
Related
I need to build old components made for BCB6 (Borland C++ Builder 6) in Embarcadero RAD Studio XE5. Projects are CPP- projects, and the component code is contained in the *.PAS - files.
The project contain 6 packages:
three packages a design time
three packages runtime
First I build packages runtime. After that I start building and installing the packages design time that use packages runtime. And one design time package has a problem during installation:
I found a runtime package that causes this problem. My question is how do I find and resolve the following error? After all, when the package is installed, I cannot start the debugger, see the stack trace, nothing at all. What are the options? Thanks.
For that you need to run a second instance of the IDE in the debugger:
Uninstall the packages
Compile all packages with debug information
Load the project of the runtime package that causes the problem
In Run -> Parameters Set the Host application to $(BDS)\Bin\bds.exe
Press run with debug
This will start a second instance of the IDE. You might have to ignore some exceptions that it internally raises (and handles).
In that second instance, load the design time package which loads the runtime package that causes the problem
Hopefully you will now see what happens
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 was using Delphi 6. Now I am upgrade the delphi 6 to delphi 10.2.3.
I uninstalled the delphi 6. I found borland folder under the program file (86) still exists. I renamed the folder . Also I removed the relative search path in the Path environment variable.
I installed the delphi 10.2.3, and fixed codes that are not compatible with the new delphi.
Building and compiling the program are all good, but running the program produce an error: "The code execution cannot proceed because rtl60.bpl was not found. Reinstalling the program may fix this problem".
I checked the program project options, in the Package, I did not find rtl60 there.
How to fix the problem? Thanks.
I've been struggling to update Indy on my Delphi XE version and simply can't achieve this task.
Tried to follow exactly the instructions on
http://www.indyproject.org/Sockets/Docs/Indy10Installation.en.aspx
First i tried the option 1, that is :
1) use the command-line FULLD#.BAT script that corresponds to your Delphi version.
The BAT script runs, but when i open Delphi, i see no components installed.
So i tried option 2 :
2) Open the individual .dpk files in the IDE and compile them, in the following order:
IndySystemX0.dpk (in Lib\System)
IndyCoreX0.dpk (in Lib\Core)
IndyProtocolsX0.dpk (in Lib\Protocols)
dclIndyCoreX0.dpk (in Lib\Core)
dclIndyProtocolsX0.dpk (in Lib\Protocols)
The files compiled until 'IndySystem150.dpk', it returns the error below :
[DCC Fatal Error] IndySystem150.dpk(44): F2051 Unit IdIDN was compiled with a different version of IdGlobal.IndyCheckWindowsVersion
Has anyone ever get this update done ? Any hints please ?
Thanks !
If anyone has this problem, I could fix the issues by deleting all Id*.dcu files in the folder below :
C:\Program Files (x86)\Embarcadero\RAD Studio\8.0
After that I could compile and install the packages.
As described on Indy installation page :
"If Indy 10 is already installed, it needs to be uninstalled first. Remove the pre-compiled BPL files - dclIndyCoreX0.bpl and dclIndyProtocolsX0.bpl - from the IDE via the "Components > Install Packages" dialog. Then delete all of the existing binaries (IndySystemX0., IndyCoreX0., IndyProtocolsX0., dclIndyCoreX0., and dclIndyProtocolsX0.*) as well as delete any Indy 10 source files, if present. Be sure to check for files in the IDE's \bin, \lib, and \source folders, \Indy subfolders, and OS system folders."
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.