Results 1 to 3 of 3

Thread: System.pas not found

  1. #1
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default System.pas not found

    delphi Code:
    [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?


  2. #2
    Join Date
    Feb 2009
    Location
    Nebraska
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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;$(DE LPHI)\source\clx;$(DELPHI)\source\websnap;$(DELPHI )\Source\WebMidas;$(DELPHI)\Source\Samples;$(DELPH I)\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.
    Grippy has approximately 30,000 hours of Delphi coding experience. srsly.

  3. #3
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •