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 1399 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 2345 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
Guest 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 165 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 384 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
gkobler 38 Posted April 11, 2023 Have the same issue after returning from vacation. Delphi 11.3 Version 28.0.47991.2819 When i create a new VCL project and try to compile, i got the follow error The dcc32 parameter looks also good. I checked the file "system.dcu". The file are exists and is in the correct directory Also the extry in the librarypath is correct. I did an update this morning to a 3 party library from TMS. I did this also at my notebook too, At the notebook i can compile any project, but at my desktop PC i'm not be able to compile any project. I haven't had such a problem all these years. I no longer understand the world. I am grateful for any advice. Gregor Share this post Link to post
gkobler 38 Posted April 11, 2023 Have been able to fix the problem. Was very funny, the TMS FNC Core components was the cause. I uninstalled all the TMS FNC components and then reinstalled them. Can not explain the error, because I had made the same update on the notebook. There I had no problems. Share this post Link to post
TomF 2 Posted April 11, 2023 Had exactly the same issue on one computer a few days ago. I exported the Delphi 11.3 setup with the migration-tool - removed and re-installed Delphi and then imported the setup with the migration-tool. Everything worked fine then on both computers. I never saw this "hickup" before on my environment... Share this post Link to post