title: What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project?
body: <p>I have got a fresh install of Delphi 2010 on Windows 8.1.</p>
  
  <p>I create a new project, and under Packages, I select "Build with runtime packages".</p>
  
  <p>I compile it and immediately get the error
  "[dcc Fatal Error] E2202 Required package 'IndyCore' not found"</p>
  
  <p>I have checked: The package IndyCore140.bpl is available in the $BDS\bin directory as are all the other Indy related packages. The IndyCore.dcp file is also available in $BDS\lib and $BDS\lib\debug.</p>
  
  <p>This is driving me nuts. Any hints?</p>
  
  <p>This is the command line I get when I enable the "Show command line" option (line breaks added for readability):</p>
  
  <pre><code>dcc command line for "Project2.dpr"
  c:\delphi\delphi2010\bin\dcc32.exe
    --no-config
    -LUrtl;vcl;vclx;vclimg;vclactnband;dbrtl;vcldb;vcldbx;bdertl;vcltouch;xmlrtl;
      dsnap;dsnapcon;TeeUI;TeeDB;Tee;adortl;VclSmp;vclie;inet;inetdb;webdsnap;
      websnap;inetdbbde;inetdbxpress;soaprtl;DbxCommonDriver;DbxClientDriver;
      DBXInterBaseDriver;DBXMySQLDriver;dbexpress;dbxcds;tdbf;intrawebdb_100_140;
      Intraweb_100_140;IndyCore;IndySystem;IndyProtocols
    -M
    -Q
    -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE
    -DDEBUG
    -Ic:\delphi\delphi2010\lib;"C:\Users\Public\Documents\RAD Studio\7.0\dcp"
    -LE"C:\Users\Public\Documents\RAD Studio\7.0\Bpl"
    -LN"C:\Users\Public\Documents\RAD Studio\7.0\Dcp"
    -NB"C:\Users\Public\Documents\RAD Studio\7.0\Dcp"
    -Oc:\delphi\delphi2010\lib;"C:\Users\Public\Documents\RAD Studio\7.0\dcp"
    -Rc:\delphi\delphi2010\lib;"C:\Users\Public\Documents\RAD Studio\7.0\dcp"
    -Uc:\delphi\delphi2010\lib;"C:\Users\Public\Documents\RAD Studio\7.0\dcp"
    -K00400000
    -NO"C:\Users\Public\Documents\RAD Studio\7.0\Dcp"
    Project2.dpr
  </code></pre>
  
  <p>There is nothing suspicious I could find.</p>
  
  <p>EDIT: Stefan Glienke suggested on Google+ to check the PATH environment variable, because it might be too long. It was around 1400 characters long. I reduced it to the bare minimum, 224 characters, but it didn't solve the problem.</p>