Cazax
2009-03-30 23:10:23
[Fatal Error] Project1.dpr(1): Unit not found: 'System.pas' or binary equivalents (DCU,DPU)
That's what I get every time I try to run a project or anything. I tried to to install a component and after that I never get things to run. Can someone send me the System.pas file? if not what can I do? I googled some pages and they said that I need to reinstall Delphi(7 SE). Any help?
Grippy
2009-03-31 00:59:50
Getting a copy of system.pas isn't going to solve your problem. It sounds like either your install is screwed up or you may have removed the library path from your environment options. Go to the Tools menu and select Environment Options. Click on the Library tab.
You should have four edit boxes, Library path, BPL output directory, DCP output directory and Browsing path.
Click the ellipsis button (…) for the Library path. In the Ordered list of Library paths you should have something like this:
$(DELPHI)\Lib;
$(DELPHI)\Bin;
$(DELPHI)\Imports;
$(DELPHI)\Projects\Bpl;
If you do not, add them.
Your BPL output directory and DCP output directory should both be:
$(DELPHI)\Projects\Bpl
And your browsing path something like:
$(DELPHI)\source\vcl;$(DELPHI)\Source\Rtl;$(DELPHI)\source\rtl\Sys;$(DELPHI)\source\rtl\Win;$(DELPHI)\source\rtl\common;$(DELPHI)\source\Internet;$(DELPHI)\source\clx;$(DELPHI)\source\websnap;$(DELPHI)\Source\WebMidas;$(DELPHI)\Source\Samples;$(DELPHI)\Source\ToolsAPI;$(DELPHI)\Source\Xml;
(just paste that into the Browsing path edit, then click the ellipsis button).
If that was all set right already then you probably are having problems with the library path. Go look in the delphi directory and see if the lib directory is there and if it contains system.dcu. If not something is very broken and you should probably reinstall.
Cazax
2009-03-31 18:07:59
I have everything right… before trying to install a component everything was fine, I'm reinstalling it. Though I'll have install all the components I had again.