Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
Windows (32/64)
»
Error Can't create resource file
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Error Can't create resource file (Read 9175 times)
typo
Hero Member
Posts: 1368
Error Can't create resource file
«
on:
June 04, 2009, 07:05:10 pm »
It is my first time on 0.9.26. Win XP.
Thanks.
Logged
LazarusBrasil.Org
Vincent Snijders
Administrator
Hero Member
Posts: 2626
Re: Error Can't create resource file
«
Reply #1 on:
June 04, 2009, 09:29:58 pm »
Can you save the project before you compile/run it?
Logged
typo
Hero Member
Posts: 1368
Re: Error Can't create resource file
«
Reply #2 on:
June 04, 2009, 09:37:13 pm »
Yes, but the message on the compilation is Error: Can't open resource file.
Logged
LazarusBrasil.Org
Vincent Snijders
Administrator
Hero Member
Posts: 2626
Re: Error Can't create resource file
«
Reply #3 on:
June 04, 2009, 09:48:55 pm »
In what directory did you save the project?
Logged
typo
Hero Member
Posts: 1368
Re: Error Can't create resource file
«
Reply #4 on:
June 04, 2009, 10:41:22 pm »
In a folder on the desktop.
Logged
LazarusBrasil.Org
Vincent Snijders
Administrator
Hero Member
Posts: 2626
Re: Error Can't create resource file
«
Reply #5 on:
June 04, 2009, 10:45:40 pm »
Depending on your localization and windows version, that path may contain spaces. What is the full path? Can you save the project in a path without spaces?
Logged
typo
Hero Member
Posts: 1368
Re: Error Can't create resource file
«
Reply #6 on:
June 04, 2009, 11:49:44 pm »
Yes. Done. Thanks.
Logged
LazarusBrasil.Org
typo
Hero Member
Posts: 1368
Re: Error Can't create resource file
«
Reply #7 on:
June 06, 2009, 01:11:09 pm »
unitprincipal.pas(362,1) Error: Can't create resource file: C:\lazfilesplitter\lazfilesplitter\source\source\WINRES.RES
Without spaces. Any suggestions?
Thanks.
Logged
LazarusBrasil.Org
Vincent Snijders
Administrator
Hero Member
Posts: 2626
Re: Error Can't create resource file
«
Reply #8 on:
June 06, 2009, 01:18:51 pm »
I don't have any suggestions, except to disable manifest and version info.
Logged
Zaher
Sr. Member
Posts: 392
Re: Error Can't create resource file
«
Reply #9 on:
June 06, 2009, 07:00:55 pm »
May be check the PATH for external tools make problem.
Logged
typo
Hero Member
Posts: 1368
Re: Error Can't create resource file
«
Reply #10 on:
June 08, 2009, 09:41:10 pm »
Solved. The exe name had spaces.
Logged
LazarusBrasil.Org
Vincent Snijders
Administrator
Hero Member
Posts: 2626
Re: Error Can't create resource file
«
Reply #11 on:
June 08, 2009, 09:46:51 pm »
Typo, can you create a bug report for the problem with the exe name with spaces? That way it won't be forgetten and it will be fixed in the future.
Logged
TDelphiHobbyist
New member
Posts: 9
Re: Error Can't create resource file
«
Reply #12 on:
July 26, 2009, 10:47:44 pm »
Sorry or the hijack but this is the only thread I can find that is even close to my problem. I'm very
very
new to Lazarus - still looking at examples to figure out what's going on. I can't get a sample project, containing a res file to compile at all. I do have quite a bit of Delphi experience.
I'm using the latest release [0.9.26.2 beta] and trying to compile the example:
E:\Lazarus\examples\trayicon
I keep getting:
wndtray.dpr(42,1) Error: Can't create resource file: E:\Lazarus\examples\trayicon\magnifier.res
The reason I'm posting here is that it looks like it is possible but I just can't figure it out and expect it is some setting I have yet to find.
I've been searching the internet all morning for a solution and decided to try here. Nothing else has worked. I'm a bit frustrated that examples that don't compile are shipped - but then, as I've indicated, it's probably some setting I have yet to find.
Thanks,
Dave
Logged
Many thanks ...
--
Dave
Marc
Administrator
Hero Member
Posts: 2454
Re: Error Can't create resource file
«
Reply #13 on:
July 30, 2009, 12:14:15 pm »
I had the same issue a while ago, but unfortunately I cannot remember how it was solved.
What OS are you using? 32 or 64 bit ?
Logged
//--
{$I stdsig.inc}
//-Patches are always welcome at patch (at) dommelstein.net (please put the word "patch" in the subject)
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
TDelphiHobbyist
New member
Posts: 9
Re: Error Can't create resource file
«
Reply #14 on:
July 30, 2009, 06:46:44 pm »
Quote from: Marc on July 30, 2009, 12:14:15 pm
What OS are you using? 32 or 64 bit ?
Sorry, I should have mentioned that ... I'm using Win32 [WinXP]
Thanks for responding.
Logged
Many thanks ...
--
Dave
Print
Pages: [
1
]
2
« previous
next »
Lazarus
»
Forum
»
Installation
»
Windows (32/64)
»
Error Can't create resource file
Recent
ListBox Filter
by
lainz
[
Today
at 05:00:07 am]
BGRAControls
by
lainz
[
Today
at 03:10:41 am]
FPCUp FPC/Lazarus SVN ins...
by
lainz
[
Today
at 03:09:38 am]
What is this Delphi Heade...
by
DirkS
[
Today
at 12:11:59 am]
Build of SQLite3 for WINC...
by
bambamns
[
Today
at 12:09:01 am]
Lazarus crashes after “Re...
by
and4977
[May 20, 2012, 11:26:31 pm]
Scrambled dragimage
by
Ocye
[May 20, 2012, 10:30:19 pm]
Transparency with Qt on D...
by
Ocye
[May 20, 2012, 08:14:43 pm]
DragImage adds as new win...
by
Ocye
[May 20, 2012, 08:05:24 pm]
TFrame size
by
iru
[May 20, 2012, 07:03:22 pm]