Author Topic: windres: No resources error, can't seem to fix.  (Read 7415 times)

Cualli

  • Guest
windres: No resources error, can't seem to fix.
« 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.
« Last Edit: August 20, 2007, 08:24:03 am by Cualli »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: windres: No resources error, can't seem to fix.
« Reply #1 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

« Last Edit: August 20, 2007, 03:38:19 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Cualli

  • Guest
Re: windres: No resources error, can't seem to fix.
« Reply #2 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.

Offline killua

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: windres: No resources error, can't seem to fix.
« Reply #3 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.

Cualli

  • Guest
Re: windres: No resources error, can't seem to fix.
« Reply #4 on: August 21, 2007, 04:51:11 am »
Solution found: Don't use more than one rc file.