I have just installed today's snapshot for win32 with fp 2.2.3:

2009-01-03 v0.9.27 rUnknown i386-win32-win32/win64

If I create a new project and assign a project icon, version information or 
select the manifest option (anything that will create a .rc file) compilation 
fails with:

windres: C:\Documents and Settings\Paul Michell\My 
Documents\Projects\project1.rc:1: syntax error
Hint: Start of reading config file C:\Lazarus\fpc\2.2.3\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\Lazarus\fpc\2.2.3\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.2.3 [2009/01/03] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling project1.lpr
Compiling Unit1.pas
Compiling resource C:\Documents and Settings\Paul Michell\My 
Documents\Projects\project1.rc
c:\Lazarus\fpc\2.2.3\bin\i386-win32\windres.exe: C:\Documents and 
Settings\Paul Michell\My Documents\Projects\project1.rc:1: syntax error
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

This used to work with my prior snapshot installation from: 2008-12-09 
v0.9.27 rUnknown i386-win32-win32/win64. 

The issue seems to be the existance of spaces in the project folder name. It 
will work if the source files are moved to a folder with no spaces in the 
path. I habitually create projects in a folder within the 'My Documents' 
folder so I will always have spaces in the project path.

I know there is an issue with installing Lazarus itself to a folder with 
spaces in the path so I let the installer use the default 'C:\Lazarus'.

Is this the same issue as:

0011484: Windows: windres does not support using directories with spaces

If so I don't understand why it used to work before Christmas?

Thanks,

Paul Michell
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to