TurboPack / SysTools

SysTools is a library of utility routines & classes for Embarcadero Delphi and C++Builder.
66 stars 26 forks source link

Install on Delphi 10.3.3 - Never-build package 'SysToolsDR' must be recompiled #19

Open vic123 opened 2 years ago

vic123 commented 2 years ago

Install TurboPack/SysTools packages. Resolve [dcc32 Fatal Error] SysToolsDR.dpk(32): E2225 Never-build package 'SysToolsDR' must be recompiled (15177) [] https://stackoverflow.com/questions/17114206/delphi-xe-bogus-never-build-package-must-be-recompiled-f2084-internal-erro

Helped setting of SysToolsDD.dpk (not SysToolsDR!) prolect/options/description/"Rebuild as Needed) both in .dpr and .dproj. Just .dpr is not recognized by GUI compiler.

(P.S. - again, just for info)

romankassebaum commented 2 years ago

I cannot reproduce the issue. The option "Explict Rebuild" is correct.

vic123 commented 2 years ago

It looks like to be some internal Delphi problem. In SO link above you may see in comments : "This is still an issue in Delphi 10.0 seattle." Thought that my experience may be useful for somebody because it fixes things only with "dwsLib package Description/Build control/Rebuild as needed". Nothing else.

romankassebaum commented 2 years ago

Are you sure that all SysTools*.dcp files are deleted on your hard disk, or are there some files from older installations?

vic123 commented 2 years ago

Pretty sure, but cannot guarantee, I've had sources from 2001 included in compile path. And initially built SysToolsDR in debug config. But think that was controlling carefully everything from registry changes to created files.

romankassebaum commented 2 years ago

Do a grep search for SysTools*.dcp, delete all occurrences and rebuild the project group.