Questions tagged [windres]

22 questions
0
votes
0 answers

Syntax error when running Winres, trying to set executable icon

When running ([filename] is just a placeholder]) windres -v -i [filename].rc -o [filename].o in the terminal I get the following messages: gcc -E -xc -DRC_INVOKED [filename].rc' Using popen to read preprocessor output windres.exe: [filename].rc:1:…
0
votes
1 answer

How to generate "resource.h" from "resource.rc" under mingw

Context - using mingw64/gcc/windres in a Windows 7 environment to compile and build some simple Windows utilities. Is there any way to get windres (or some other utility?) to automatically generate a header file with all the resource IDs that I've…
David
  • 962
  • 2
  • 10
  • 29
0
votes
1 answer

Makefile circular dependency with Windows resource files

There have been several questions regarding circular dependencies being dropping when running a Makefile (here and here), however, I am still a bit confused as to why they are occurring. For example, I am trying to compile a Win32 GUI program that…
Code Doggo
  • 2,146
  • 6
  • 33
  • 58
0
votes
1 answer

What does "inappropriate modifiers for non-VIRTKEY" error means in windres?

I'm trying to port an application written years ago in Borland C++ 5.0 to be able to compile with MinGW. I sorted out most of the problems but I have problems with one RC file: Windres complains for these entries in the following accelerator…
Calmarius
  • 18,570
  • 18
  • 110
  • 157
0
votes
0 answers

ifdef not working in resource file

I'm trying to use: #include "Resource.h" #ifdef __x86_64 IDR_D3D9X43 BINARY "D3DX9_43_64.dll" #else IDR_D3D9X43 BINARY "D3DX9_43_32.dll" #endif in my resource file (.rc). When I compile for x64, it should include…
Brandon
  • 22,723
  • 11
  • 93
  • 186
0
votes
2 answers

Compiling vim with MinGW results in mingw-get install --reinstall binutils=2.22-1

I am trying to compile VIM with native support for ruby and am using MinGW for that. The compilation goes as expected until the make file tries to execute windres -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 ..... vim.rc gobj/vimres.res This step…
René Nyffenegger
  • 39,402
  • 33
  • 158
  • 293
-2
votes
1 answer

Why is version info not being displayed

So I was developing my C++ application when a came across windows resource files (.rc), my application is in portuguese of portugal so I wrote my file like this: MAIN ICON "icon.ico" MAIN VERSIONINFO FILEVERSION 1,0,0,0 PRODUCTVERSION 1,0,0,0 BEGIN …
1
2