I know that this problem is asked some times ago in the forum, but i didn't find a solution for my problem either. I want to add some resources to my console application, such as a icon, so Windows shows this icon in explorer. But when i add a *.rc file to my project, it always says:
Compiling: icon.rc
gcc: icon.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres.exe: no resources
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 1 warnings
The resource file i am using looks like this:
Application ICON DISCARDABLE "auido.ico"
The icon "auido.ico" is placed in the same folder as the project file is placed (in my case:
N:\xaudio).
if have also added
N:\xaudio
N:\xaudio\.objs
to Project's Build options\Directories\Resource compiler, but it always has the same error when i add the *.rc file. Without the resource file i can compile it without any problems or warnings. I have also stopped my AV while compiling the resources (I have read this anywhere here), but still no effect at all.
I'm using
C::B 1.0rc2
Build: Oct 24 2005, 23:49:28 - wx2.6.1 (Windows, ANSI)
(I hope i get qualified answers, and not something like: use the forum search, because i have searched already this forum
)