Sign in Join

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

Mailing lists / lazarus / 2008-12

ressource compiling

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Benito van der Zander

Hi,
I also have a problem with ressource compiling, after updating to the latest svn,
although it worked in older versions of 0.9.27.
Error: Can't create resource file: U:\programs\system\APIV\cursor.res says the IDE and stops compiling the project, when I write {$R cursor.res} in
the source.

However there is actually no need to create this resource file because it already
exists and is compiled (in the Windows binary format). Any ideas how to solve the problem? (by the way, the temporary directory doesn't contains spaces)

Benito

Reply by email

Paul Ishenin
to Benito van der Zander
Benito van der Zander wrote 15 lines
Hi, I also have a problem with ressource compiling, after updating to the latest svn, although it worked in older versions of 0.9.27. Error: Can't create resource file: U:\programs\system\APIV\cursor.res says the IDE and stops compiling the project, when I write {$R cursor.res} in the source. However there is actually no need to create this resource file because it already exists and is compiled (in the Windows binary format). Any ideas how to solve the problem? (by the way, the temporary directory doesn't contains spaces)

IDE can try to write manifest, icon and version information to the .rc file. On 64bit windows there was problems before today. Today I fixed manifest resource compiling by GoRc. Previous format was compatible only with windres.
If you update your lazarus after today commits and will have problems then please create a very simple test application and attach it to your new bug report. Then we will try to find what is wrong and where is wrong.

Best regards,
Paul Ishenin.

Reply by email

Paul Ishenin
to Benito van der Zander: I also have a problem with ressource compiling, after updating to the although it worked…
Benito van der Zander wrote 14 lines
Hi, I also have a problem with ressource compiling, after updating to the latest svn, although it worked in older versions of 0.9.27. Error: Can't create resource file: U:\programs\system\APIV\cursor.res says the IDE and stops compiling the project, when I write {$R cursor.res} in the source. However there is actually no need to create this resource file because it already exists and is compiled (in the Windows binary format). Any ideas how to solve the problem? (by the way, the temporary directory doesn't contains spaces)

You have found a bug in the compiler. I have found a fix for that bug and attached a fix into your report. And I also moved your report to the fpc project. Hope they will fix it in the svn soon.

Best regards,
Paul Ishenin.

Reply by email