Reputation: 118
i need to make the res runtime and it need to contain some icons i have in a list in my application. the res file has to be placed in a project "Resource File" field. so it needs to be win32 compatable.
i so fa tried to:
do you have any idea of how i can achieve this?
if i try to compile a .rc file i get this output:
Microsoft (R) Windows (R) Resource Compiler, Version 5.1.2264.1 - Build 2264
Copyright (C) Microsoft Corp. 1985-1998. All rights reserved.
Using codepage 1252 as default
Creating rc - ResourceFile.res
RC: RCPP -CP 1252 -f C:\Users\itis\Desktop\RCa18040 -g C:\Users\itis\Desktop\RDa18040 -DRC_INVOKED -D_WIN32 -pc\:/ -E -I C:\Users\itis\Desktop\ -I .
C:\Users\itis\Desktop\_mingw.h(51) : error RC2188: #error : ERROR: You must use a GNU Compiler.
C:\Users\itis\Desktop\_mingw.h(55) : error RC2188: #error : ERROR: You must use a GNU Compiler version >= 3.4.5.
C:\Users\itis\Desktop\afxres.h(34) : fatal error RC1015: cannot open include file 'windows.h'.
Premere un tasto per continuare . . .
Upvotes: 1
Views: 2878