Print Page | Close Window

Error while compiling

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=540
Printed Date: 18 May 24 at 4:37PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Error while compiling
Posted By: daerik
Subject: Error while compiling
Date Posted: 21 Oct 06 at 8:46AM

Hi.

The first time I tried to use quickPDF ver. 5.14 i got the following error when trying to compile.

[Fatal Error] File not found: 'c:\programfiler\borland\delphi7\Rave5\Lib\uiSEDQuickPDF.pas'

Please help. I don't know what to do.

 

Sincerely,

DEE

 




Replies:
Posted By: swb1
Date Posted: 21 Oct 06 at 11:48AM

I don’t know that exact cause of your problem however I would check:

 

1.) The Library path under Environment Options.

2.) The Runtime Packages, on the Packages Page, Under Project->Options.

3.) Any User Components that where created and compiled with an earlier version of QuickPDF

Good Luck

Steve



Posted By: daerik
Date Posted: 14 Nov 06 at 7:31AM

Hi.

I am still using version 4.41 but I tried to use 5.14 again. I checked what you desribed in your last response but could not find anything. So I created a new project. The code is below. The code works find until I add - uiSEDQuickPDF - in the Uses clause. I use Delphi 7.

The error message is still:

[Fatal Error] File not found: 'c:\programfiler\borland\delphi7\Rave5\Lib\uiSEDQuickPDF.pas'

Any idea what this could be?

Do I really need the file ==> uiSEDQuickPDF.pas  ?

Sincerely Dag

==========================

unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,  Dialogs, StdCtrls, uiSEDQuickPDF;

type
  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
  beep; beep;
end;

end.

 



Posted By: Ingo
Date Posted: 14 Nov 06 at 8:25AM
Hi Daerik!

In your project you're using a file called uiSEDQuickPDF.dcu - your uses clause references to it. You can use only dcu-files which are compiled with the same delphi version you're using. It seems that this dcu was compiled with another delphi version. Now you're starting your project and delphi see that the dcu is wrong - so delphi is looking for the source (pas) to compile a correct dcu-file.
Please try the correct version out of our download-section - this should work.

Best regards,
Ingo


Posted By: daerik
Date Posted: 17 Nov 06 at 2:26AM

Hi Ingo.

 

Your solution worked. Thanks!

 

Best regards,

Dag




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk