Hi,
I've created New Project for Win32 GUI application and I've added new resource file rs.rc with these lines:
#include <windows.h>
Background_Bmp RCDATA DISCARDABLE "bg.bmp"
Background_Region RCDATA DISCARDABLE "region.rgn"
When I've tried to rebuild project, windres.exe has aborted that with these error:
mingw32-g++.exe -Wall -g -c C:\Users\PC\Desktop\test\main.cpp -o obj\Debug\main.o
windres.exe -J rc -O coff -i C:\Users\PC\Desktop\test\test.rc -o obj\Debug\test.res
windres.exe: C:\\Users\\PC\\Desktop\\test\\test.rc:7: syntax error
When I open command line with this command:
C:\Users\PC\Desktop\test>windres -J rc -O coff -i C:\Users\PC\Desktop\test\test. rc -o obj\Debug\test.res
There's no problem..
What I doing wrong?
(Win7, MinGW64, i686-5.1.0-posix-dwarf-rt_v4-rev0)
Thank you