Command Line Compiler:  "File Not Found" error

Posted on 2006-04-18
Last Modified: 2008-02-07

I'm using Delphi 7 and trying to use the Command line compiler.  I use Eureka Log in this project.  I'm trying to compile with the following command:

dcc32 -B -DEUREKALOG Q_Goldseries.dpr

But I always get this error:

Borland Delphi Version 15.0
Copyright (c) 1983,2002 Borland Software Corporation
Q_GoldSeries.Dpr(26) Fatal: File not found: 'ExceptionLog.dcu'

This project compiles great from the command line.

Here's the content of my Q_Goldseries.dpr file:

Program Q_GoldSeries;

  qocMain in 'qocMain.Pas' {frmQOCMain},
  sDM in 'sDM.Pas' {dm: TDataModule},
  sProject in 'sProject.Pas' {dlgProject: TFCEmbeddedForm},
  sCollector in 'sCollector.Pas' {dlgCollector: TFCEmbeddedForm},
  sCompile in 'sCompile.Pas' {dlgCompile: TFCEmbeddedForm},
  sOptions in 'sOptions.Pas' {dlgOptions: TFCEmbeddedForm},
  sDischarge in 'sDischarge.Pas' {dlgDischarge: TFCEmbeddedForm},
  gsDefs in 'gsDefs.Pas',
  sInspector in 'sInspector.Pas' {frmInspector},
  sCustom in 'sCustom.Pas' {dlgCustom: TFCEmbeddedForm},
  srcRTFEditor in 'srcRTFEditor.Pas' {dlgEditor},
  srcCustomItem in 'srcCustomItem.Pas' {frmCustomItem: TFCEmbeddedForm},
  sSnips in 'sSnips.Pas' {frmSnips},
  sFans in 'sFans.Pas' {dlgFans: TFCEmbeddedForm},
  srcCustomers in 'srcCustomers.Pas' {frmCustomers},
  srcRepData in 'srcRepData.Pas' {frmRepData},
  srcProjectManager in 'srcProjectManager.Pas' {frmProjectManager},
  srcWorkSheet in 'srcWorkSheet.Pas' {frmWorkSheet},
  fanPerf in 'fanPerf.Pas' {frmFanPerformance},
  sCurveViewer in 'sCurveViewer.Pas' {frmCurveViewer},
  srcBrowseCopy in 'srcBrowseCopy.Pas' {frmBrowseCopy};

{$R *.res}

    Application.Title := 'Gold Series QOC';
    Application.HelpFile := 'Support Files\Help\GoldSeries.hlp';
  Application.CreateForm(TfrmQOCMain, frmQOCMain);
  Application.CreateForm(Tdm, dm);
  Application.CreateForm(TfrmInspector, frmInspector);
  Application.CreateForm(TdlgEditor, dlgEditor);
  Application.CreateForm(TfrmSnips, frmSnips);
  Application.CreateForm(TfrmCustomers, frmCustomers);
  Application.CreateForm(TfrmRepData, frmRepData);
  Application.CreateForm(TfrmProjectManager, frmProjectManager);
  Application.CreateForm(TfrmWorkSheet, frmWorkSheet);
  Application.CreateForm(TfrmFanPerformance, frmFanPerformance);
  Application.CreateForm(TfrmCurveViewer, frmCurveViewer);
  Application.CreateForm(TfrmBrowseCopy, frmBrowseCopy);

Any ideas?  
Question by:light_bulb
    LVL 10

    Accepted Solution

    In which directory is the ExceptionLog.pas (or dcu) located?

    You probably should add it using a "-UC:\EurekaDir" to the command line.

    If you code compile correctly in Delphi you can look at the settings:

    Search Path


    Environment options
    Library path

    To find where the sources of EurekaLog are located

    Regards Jacco
    LVL 3

    Author Comment

    That did it!

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now