Hi,
it's a long time since I used lazarus.
Yesterday I installed fpc on debian and pulled lazarus from svn.
Today I tried to convert a Delphi-project.
The units and libraries went more or less fine (because I had ported the project to lazarus alreade a few years ago), but finally the compiler stopped at the end of my lpr-file:
yMap.lpr(114,1) Error: Error while compiling resources -> Compile with -vd for more details. Check for duplicates.
Can't get rid of the error message.
if I use -vd I get:
Unable to find file "Debug: Readin/media/work/src.hg/ylazyMap/yMap.lpr".
If it belongs to your project, check search path in
Project -> Compiler Options -> Search Paths -> Other Unit Files. If this file belongs to a package, check the appropriate package compiler options. If this file belongs to Lazarus, make sure compiling clean. If the file belongs to FPC then check fpc.cfg. If unsure, check Project -> CompilerOptions -> Test
lpr-code
program yMap;
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms,
graphics,
sysUtils,
types,
LCLIntf, LCLType, LMessages, //keybd_event
ym_main in 'ym_main.pas' {frm_gm_main};
var frm_yMap_main : Tfrm_yMap_Main;
{$R *.res}
begin
Application.Initialize;
Application.Title := 'yMap';
{$ifdef German}
Application.HelpFile := ExtractFilePath(application.ExeName)+'YMAPD.HLP';
{$else}
//Application.HelpFile := ExtractFilePath(application.ExeName)+'YMAPE.HLP';
{$endif}
Application.CreateForm(Tfrm_yMap_main, frm_yMap_main);
if frm_yMap_main.wCLMode = $FFFF then
begin
frm_yMap_main.Free;
//Keybd_EVENT(VK_RETURN,0,0,0);
//Freeconsole;
end
else
Application.Run; //Action
end.
I have created an empty project and copied the resource-file to my project but to no avail.
Any help apreciated