cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Problem with compiling with MinGW while
Problem with compiling with MinGW while using resources
Oct 29, 2010 at 2:23am UTC
Dark Byte
(25)
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 UTC
Athar
(4466)
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 UTC
Topic archived. No new replies allowed.