Problem with compiling with MinGW while using resources

Oct 29, 2010 at 2:23am
I use MinGW to compile all my programs. And it appears as it does not recognize resource scripts in a directory. What argument can I pass in the command line to make it load my resources?
I currently use this:
 
gcc [filename] -obin/output.exe -mwindows
Oct 29, 2010 at 12:54pm
You can use windres (part of MinGW) to compile .rc files into object files, which you can then link normally.

windres resource.rc resource.o
Last edited on Oct 29, 2010 at 12:57pm
Topic archived. No new replies allowed.