Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-10

'no resources' on new project

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Stijn Sanders

I've installed 0.9.28 over 0.9.26 to upgrade.
I noticed most things still linked to 2.2.2, I tried to change that manually, but fouled up, so I deleted environmentoptions.xml and ran the 0.9.28 installer again.

Now, If I start a new blank project and compile it, I get this. What's wrong? Is it a bug or should I correct something in the settings?

windres: no resources
Hint: Start of reading config file C:\Lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg Hint: End of reading config file C:\Lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg Free Pascal Compiler version 2.2.4 [2009/09/29] for i386 Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling project1.lpr
Compiling unit1.pas
Compiling resource C:\Data\R&D\WinCE\P2\project1.rc C:\Lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: no resources project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

Reply by email

Vincent Snijders
to Stijn Sanders
Stijn Sanders wrote 17 lines
I've installed 0.9.28 over 0.9.26 to upgrade. I noticed most things still linked to 2.2.2, I tried to change that manually, but fouled up, so I deleted environmentoptions.xml and ran the 0.9.28 installer again. Now, If I start a new blank project and compile it, I get this. What's wrong? Is it a bug or should I correct something in the settings? windres: no resources Hint: Start of reading config file C:\Lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg Hint: End of reading config file C:\Lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg Free Pascal Compiler version 2.2.4 [2009/09/29] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Win32 for i386 Compiling project1.lpr Compiling unit1.pas Compiling resource C:\Data\R&D\WinCE\P2\project1.rc C:\Lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: no resources project1.lpr(20,1) Error: Error while linking project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

It might be that windres trips over the & in the path C:\Data\R&D\WinCE\P2\project1.rc. Can you try a path without &?

Vincent

Reply by email

Stijn Sanders
to Vincent Snijders

I did, and that works. Should I post an issue somewhere about it? I've had a look around and found this one:
http://sourceware.org/bugzilla/show_bug.cgi?id=4933

Earlier message 34 lines
-----Original Message----- From: Vincent Snijders [mailto:] Sent: vrijdag 16 oktober 2009 14:31 To: Lazarus mailing list Subject: Re: [Lazarus] 'no resources' on new project Stijn Sanders schreef: > I've installed 0.9.28 over 0.9.26 to upgrade. > I noticed most things still linked to 2.2.2, I tried to change that > manually, but fouled up, so I deleted environmentoptions.xml and ran > the 0.9.28 installer again. > > Now, If I start a new blank project and compile it, I get this. What's > wrong? Is it a bug or should I correct something in the settings? > > windres: no resources > Hint: Start of reading config file > C:\Lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg > Hint: End of reading config file C:\Lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg > Free Pascal Compiler version 2.2.4 [2009/09/29] for i386 > Copyright (c) 1993-2008 by Florian Klaempfl > Target OS: Win32 for i386 > Compiling project1.lpr > Compiling unit1.pas > Compiling resource C:\Data\R&D\WinCE\P2\project1.rc > C:\Lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: no resources > project1.lpr(20,1) Error: Error while linking > project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping It might be that windres trips over the & in the path C:\Data\R&D\WinCE\P2\project1.rc. Can you try a path without &? Vincent

Reply by email