[Lazarus] Solved - Runtime error -- File Not Found

Peter Williams pewtas at gmail.com
Tue Sep 22 22:39:11 CEST 2009


Hi All Fellow Lazarus ppl,n

I am working on porting a Delphi 5 project to Lazarus. I used the Lazarus
tool to convert the Delphi projects to Lararus project. The project compiles
OK but when I run it I get the following run time error:

File Not Found
No program file "/home/peter/Lazarus_source_code/wumpuz/delphi_code/wumpuz"
found
[Cancel]

Note that Lazarus appears to be looking in the wrong folder e.g.

correct folder is

/home/peter/Lazarus_source_code/wumpuz/lazarus_code/

Any suggestions on what I need to do to correct this error will be
appreciated.

Lazarus version 0.9.26-4 beta

-----------------------------------------
{%RunWorkingDir /home/peter/Lazarus_source_code/wumpuz/lazarus_code/}
program wumpuz;

{$MODE Delphi}

uses
  Forms,
  main_unit in 'main_unit.pas' {main_form},
  arrow_unit in 'arrow_unit.pas' {arrow_form},
  map_unit in 'map_unit.pas' {map_form},
  move_unit in 'move_unit.pas' {move_form},
  quit_unit in 'quit_unit.pas' {Quit_form};

{$R *.res}

begin
  Application.Initialize;
  Application.Title := 'Hunt the Wumpuz';
  Application.CreateForm(Tmain_form, main_form);
  Application.Run;
end.
-------------------------------------



Fond Regards,
Peter Eric (aka 'pew') WILLIAMS
from Hobart, Tasmania, Australia -- phone (03) 6236-9675

My free website is: http://pewtas.googlepages.com  (or)
http://tinyurl.com/yuyejs

(please visit my free website and let me know what you think about it.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090922/6cb4370d/attachment-0004.html>


More information about the Lazarus mailing list