Questions tagged [windres]

22 questions
5
votes
1 answer

TDM-GCC w64 script to change windres for 32bit?

Trying to get the TDM-GCC(4.7.1) running on XP SP3 - I just need a c++ 32bit build for now. It seems that windres is not in the right format, my .rc file is failing the build: x86_64-w64-mingw32-g++.exe -Wall -m32 -s -D_M_X86 -DBUILD_DLL -DNDEBUG …
ichad.c
  • 131
  • 2
  • 8
4
votes
1 answer

Version info .EXE with gcc and windres

I have a problem with version information into a console program. I use Code::Blocks and mingw/gcc, under Windows. I have two programs. The first (wxWidgets based) have no version problem, all is visible in information window. The second (console)…
bdanos
  • 141
  • 9
2
votes
0 answers

Launch4J, Windres preprocessing failed

I had an error when I use the plugin-maven of launch4j to convert jar into exe. This error : net.sf.launch4j.ExecException: Exec failed (1). When I see the log, i see this error : ...windres.exe: preprocessing failed. So, I've downloaded Launch4J…
JMA
  • 33
  • 1
  • 5
2
votes
0 answers

cmake fails with path having spaces in a hierarchical organization

I'm encountering a path problem when going to a per directory CMakeList.txt to a hierarchical organization. Platform: windows 7 Cmake portable : cmake-3.10.2-win64-x64 git-bash in Git : PortableGit-2.16.1.3-64-bit MinGW : the one shipped with…
2
votes
1 answer

Resource.rc Windres Syntax Error (Mingw)

I got a project from MS VS, and at the moment I'm migrating it to compile using gcc for Windows. The C code is completely ported, but I'm having a problem using windres to compile the projet resources. I'm having a syntax error, reported by windres,…
smorf
  • 23
  • 4
1
vote
0 answers

Globalizing the properties (details) of an EXE

In Windows 10, when you right-click on an executable (EXE) file, select Properties, and click on "Details", you see some strings and numbers that come from the resources section of the executable. I am a stickler for details, so I am wondering if it…
David Grayson
  • 84,103
  • 24
  • 152
  • 189
1
vote
0 answers

What Executable Icons/Thumbnails are Chosen by Windows?

The Visual compilers and GCC use .rc files to add resources to your executable. One can specify a resource type called ICON, to add an Icon to your executable. If I specify multiple ICONs in my .rc files, which one is chosen to be displayed as a…
The A
  • 188
  • 1
  • 9
1
vote
1 answer

windres fatal error: when writing output to : Invalid argument

I was trying to make windres compile a resource file from Visual Studio. I properly converted all the files (and the one included) to ANSI, but I still get this error every time I try to compile it : windres.exe -J rc -O coff -i…
Gabriel Ravier
  • 358
  • 1
  • 6
  • 17
1
vote
0 answers

gcc: fatal error: no input files when compiling and linking a resource file with Code::Blocks

I grow tired from badly-made non-working or unnecessarily obfuscated user-hostile tools and programs. I am using Code::Blocks set to compile with Cygwin GCC (Compiler toolchain directory: C:\msys64\usr), I add a .rc file within my project and then…
1
vote
1 answer

windres tool of mingw32 utility is generating file name with ^M character

I am trying to generate one resource file using windres tool of mingw32 utils in Linux using the below command: i586-mingw32msvc-windres my.rc -O coff my.res But, it is generating a file with name my.res^M. I verified this with ls -l command.…
Ayush Gupta
  • 77
  • 10
1
vote
1 answer

unable to add icon to exe using windres

I'd like to add an Icon to my exe compiled with mingw-gcc. I followed instructions in this SO post but the Icon does not show up on my exe in windows explorer. [edit] Meanwhile I found out that windres destroys my executable. Before applying…
Timothy Truckle
  • 15,071
  • 2
  • 27
  • 51
1
vote
1 answer

windres: The filename, directory name, or volume label syntax is incorrect

I'm using windows 10. I'm trying to compile a c++ file within c# using MinGW(the MinGW folder is in the projects directory), but it won't compile a resource script (using windres). Whenever I use windres in cmd it says:…
Yaron
  • 173
  • 2
  • 12
1
vote
1 answer

"unrecognized escape sequence" error on windres

I'm trying to compile a C program with a icon attached. I'm following this instructions: How do I add an icon to a mingw-gcc compiled executable? Both Evan's and Steven's replies. I'm getting this error 4x: ico.rc:1: unrecognized escape…
0
votes
2 answers

Windres not compiling .rc file no matter what I do

So I am making a desktop application using C and the Win32 API. I am also using CMake/Make in conjunction with MinGW. Everything went smoothly until I wanted to add an .rc file to the executable. From my understanding you write an .rc file which is…
0
votes
1 answer

windres cannot find "wx/msw/wx.rc" building wxWidgets project with MSYS2-minGW64 and Codelite

Opening a new questions as some older answer does not apply to my case. As per subject, I cannot compile a basic wxWidgets "Hello, World" program in Windows 10 with CodeLite 14 and wxWidgets 3.1.4 (compiled using MSYS2-mingW64). The error message is…
Federico Perini
  • 1,414
  • 8
  • 13
1
2