Memnarch / Delphinus

An alternative Packagemanager for the Delphi-IDE
Mozilla Public License 2.0
235 stars 64 forks source link

DelphinusWebSetup error Delphinus.dpk(29) Fatal: E2202 Required package 'rtl' not found #27

Closed IL2 closed 7 years ago

IL2 commented 7 years ago

DelphinusWebSetup.exe of 20161012 install for 10 and XE:

Project "C:\Program Files\Delphinus\8.0\source\Packages\DelphiXE\Delphinus.dproj" (Build target(s)):

Target CreateProjectDirectories:
    Creating directory "C:\Program Files\Delphinus\8.0\bin\Win32\Release".
    Creating directory "C:\Program Files\Delphinus\8.0\lib\Win32\Release".
    Creating directory "C:\Program Files\Delphinus\8.0\Dcp".
    Creating directory "C:\Program Files\Delphinus\8.0\Bpl".
Target BrccCompile:
    C:\Program Files\Embarcadero\RAD Studio\8.0\bin\brcc32.exe -dRELEASE -i.. "..\DelphinusImages.rc" -foDelphinusImages.res 
    Borland Resource Compiler  Version 5.40
    Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
Target BrccCompile:
    C:\Program Files\Embarcadero\RAD Studio\8.0\bin\brcc32.exe -dRELEASE -i.. "..\Delphinus.rc" -foDelphinus.res 
    Borland Resource Compiler  Version 5.40
    Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
Target _PasCoreCompile:
    C:\Program Files\Embarcadero\RAD Studio\8.0\bin\dcc32.exe -$D- -$L- --no-config -B -Q -DRELEASE -E"C:\Program Files\Delphinus\8.0\bin\Win32\Release" -I.. -LE"C:\Program Files\Delphinus\8.0\Bpl" -LN"C:\Program Files\Delphinus\8.0\Dcp" -N0"C:\Program Files\Delphinus\8.0\lib\Win32\Release" -NSSystem;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;Winapi;System.Win; -O.. -R.. -U.. -K00400000 -NB"C:\Program Files\Delphinus\8.0\Dcp" -NO"C:\Program Files\Delphinus\8.0\lib\Win32\Release"   Delphinus.dpk   
    Embarcadero Delphi for Win32 compiler version 22.0
    Copyright (c) 1983,2010 Embarcadero Technologies, Inc.

    C:\Program Files\Embarcadero\RAD Studio\8.0\Bin\CodeGear.Delphi.Targets(188,5): error : Delphinus.dpk(29) Fatal: E2202 Required package 'rtl' not found
Done building target "_PasCoreCompile" in project "Delphinus.dproj" -- FAILED.

Done building project "Delphinus.dproj" -- FAILED.

Build FAILED.
C:\Program Files\Embarcadero\RAD Studio\8.0\Bin\CodeGear.Delphi.Targets(188,5): error : Delphinus.dpk(29) Fatal: E2202 Required package 'rtl' not found
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.87

<Error> Failed
<Info> Adding Libpathes:
<Error> Failed
Memnarch commented 7 years ago

Can you recompile Delphinus.bpl manually from ide? Otherwhise this sounds really bad if your environment does not have the RTL package. Most probably your environment is missing the searchpath to RTL.dcp. This one exists by default but you (or a third party) might have deleted it.

IL2 commented 7 years ago

I was able to build and install C:\Program Files\Delphinus\17.0\source\Packages\DelphiXE\Delphinus.dpk from the XE IDE. Delphinus also strated and showed packages after refresh. RTL.dcp is in place (C:\Program Files\Embarcadero\RAD Studio\8.0\lib\win32\release\rtl.dcp) 20101004. There is no trouble to build in XE here.

IL2 commented 7 years ago

Btw, command line that doesn't compile is: C:\Program Files\Embarcadero\RAD Studio\8.0\bin\dcc32.exe -$D- -$L- --no-config -B -Q -DRELEASE -E"C:\Program Files\Delphinus\8.0\bin\Win32\Release" -I.. -LE"C:\Program Files\Delphinus\8.0\Bpl" -LN"C:\Program Files\Delphinus\8.0\Dcp" -N0"C:\Program Files\Delphinus\8.0\lib\Win32\Release" -NSSystem;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;Winapi;System.Win; -O.. -R.. -U.. -K00400000 -NB"C:\Program Files\Delphinus\8.0\Dcp" -NO"C:\Program Files\Delphinus\8.0\lib\Win32\Release" Delphinus.dpk -why are -$D- and -$L- there?- it doesn't matter. What actually matters is --no-config option.

IL2 commented 7 years ago

I'm sorry. After DelphinusWebSetup.exe re-install it could compile both for Seattle and XE successfully.