User forums > Help

Resource compiler directories seems to be ignored

(1/3) > >>

iw2nhl:
Hi,
may be I'm doing something wrong, but it seems that additional resource directories are not passed to the command line during build.
I added a directory (Project build options -> Directories -> Resource compiler -> "Add" button), but it is not added to the command line of "windres.exe" and it (rightly) says that cannot find the images I used in my RC file.
Is there something else that must be done?

Version 1.0 revision 2758 () gcc 3.4.5 Windows/unicode

killerbot:
could you post here how the generated command looks like.

And how it should look !!!

iw2nhl:
Now it is like this:

--- Code: ---windres.exe -i adelay\editor\resources\surrounddelay.rc -J rc -o obj\Debug\adelay\editor\resources\surrounddelay.res -O coff -IC:\MinGW
\include
windres.exe: can't open bitmap file `bmp00128.bmp': No such file or directory
--- End code ---
While it should be:

--- Code: ---windres.exe -i adelay\editor\resources\surrounddelay.rc -J rc -o obj\Debug\adelay\editor\resources\surrounddelay.res -O coff -IC:\MinGW
\include -ID:\Lavori\CodeBlocks\VST\adelay\editor\resources
--- End code ---
That is: it does not add the include dir "D:\Lavori\CodeBlocks\VST\adelay\editor\resources" that I added in the project build options.

MortenMacFly:

--- Quote from: iw2nhl on July 18, 2006, 11:00:20 pm ---That is: it does not add the include dir "D:\Lavori\CodeBlocks\VST\adelay\editor\resources" that I added in the project build options.

--- End quote ---
Where did you add this directory to? To the resource compiler's directories, or the compiler directories?

iw2nhl:
To the resource compiler directories.
That is the only one directory in that field.

Navigation

[0] Message Index

[#] Next page

Go to full version