Geowink 0 Posted November 18, 2020 Had to get a new PC. Put Delphi 2009 on it (can't afford Embarcadero's ridiculous price) and when I try to compile an old project it says the dpr file is missing. It is not missing. The file is there. Any idea what is missing? Share this post Link to post
Remy Lebeau 488 Posted November 18, 2020 3 minutes ago, Geowink said: Put Delphi 2009 on it (can't afford Embarcadero's ridiculous price) There is a free Community Edition available. 3 minutes ago, Geowink said: when I try to compile an old project it says the dpr file is missing. It is not missing. The file is there. Any idea what is missing? What is the EXACT error message? Does it say WHICH dpr file is missing? Maybe your project has a dependency that is missing? Can you provide your project's file hierarchy, setup, etc? Share this post Link to post
Geowink 0 Posted November 18, 2020 Here is the error message (DCC Fatal Error) NewXX.dpr(1):F1027 Unit not found:'System.pas' or binary equivalents (.dcu) Not sure what System.pas is. Share this post Link to post
David Heffernan 1134 Posted November 18, 2020 So it doesn't say that the dpr file is missing. It says that the system unit is missing. This is possibly an issue with how you installed delphi. Or some erroneous settings in the existing project files. Share this post Link to post
Kas Ob. 227 Posted November 18, 2020 @Geowink That error message can be interpreted as the compiler found incompatible dcu files and tried to link them, so clean all your project folders from any dcu files and it will build fine. Share this post Link to post
Kryvich 139 Posted November 18, 2020 I have clear.cmd file in my project folders to remove any temporary files, which contains the command: del /f /s *.~* *.bak *.dcu *.identcache *.local *.map *.drc *.cbk *.stat *.tds Share this post Link to post
FPiette 163 Posted November 19, 2020 That clean is OK but look if there are not all DCU available somewhere on disk because of some path. If you have several Delphi versions installed, maybe D2009 "sees" file from other version as well. Check the paths. It is also possible that D2009 is incorrectly installed and system.dcu is really missing. Share this post Link to post
Geowink 0 Posted November 19, 2020 Finally determined the problem. For some reason the location of the files was not in the Library. I tracked down their locations, put them in the Library and things now compile. Thanks for your help in tracking this down. Share this post Link to post