Code::Blocks Forums

User forums => Help => Topic started by: Cualli on August 20, 2007, 08:14:35 am

Title: windres: No resources error, can't seem to fix.
Post by: Cualli on August 20, 2007, 08:14:35 am
Code
Opening C:\MinGW\CodeBlocks\Projects\winapi\winapi.cbp: done


As you can see, no spaces in that project name. I still get:
Code
-------------- Build: Debug in winapi ---------------
windres.exe -i C:\MinGW\CODEBL~1\Projects\winapi\dialogrc.rc -J rc -o obj\Debug\dialogrc.res -O coff -IC:\MinGW\include
windres.exe: no resources
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
 

Windows XP SP2, August 16th release. It just started doing this. I updated MinGW, too.
Title: Re: windres: No resources error, can't seem to fix.
Post by: stahta01 on August 20, 2007, 03:31:04 pm
Try using a different version of windres.

windres --version

Note, I use GNU windres 2.17.50 20060824

windres is part of binutils

Tim S

Title: Re: windres: No resources error, can't seem to fix.
Post by: Cualli on August 20, 2007, 06:01:29 pm
Try using a different version of windres.

windres --version

Note, I use GNU windres 2.17.50 20060824

windres is part of binutils

Tim S



My version:
Code
C:\MinGW\bin>windres.exe --version
GNU windres 2.17.50 20060824
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

I also used:
Code
C:\MinGW\bin>windres.exe --version
GNU windres 2.16.91 20060119
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

Same error for both versions.
Title: Re: windres: No resources error, can't seem to fix.
Post by: killua on August 20, 2007, 08:45:27 pm
I was encountering a similar error earlier today.  I'm using the technological preview of mingw, so my gcc file name was called, gcc-sjlj.exe / g++-sjlj.exe.  I created copies of these files, and renamed them to gcc.exe and g++.exe and that error went away.

I came across another error [unrelated], but I won't hijack your thread with that.
Title: Re: windres: No resources error, can't seem to fix.
Post by: Cualli on August 21, 2007, 04:51:11 am
Solution found: Don't use more than one rc file.