Does anyone know how to link resource (.rc) files either in dev-cpp 4.9.7.0 with mingw3.2 or through the DOS prompt when building a program using the win32 API?
--Eric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I couldn't work out to generate two step makefile (like the wGlade makefile) to Dev-Cpp...
So I compiled the recources by the wGlade makefile on commandline.
Because the complation of the recource is always the same, in further compilations it's enough to link to the .o files.
the windres-thing is not at all clear to me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you included the .rc file into your project? If not: try project options and search for a tab saying resource files. There, add the path to your file and try to compile again, Should work now. windres will be invoked for you, so you don't need the console.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone know how to link resource (.rc) files either in dev-cpp 4.9.7.0 with mingw3.2 or through the DOS prompt when building a program using the win32 API?
--Eric
You don't link an .RC file. You compile it to a .RES file with windres.exe and then link it.
BlakJak :]
I couldn't work out to generate two step makefile (like the wGlade makefile) to Dev-Cpp...
So I compiled the recources by the wGlade makefile on commandline.
Because the complation of the recource is always the same, in further compilations it's enough to link to the .o files.
the windres-thing is not at all clear to me.
Have you included the .rc file into your project? If not: try project options and search for a tab saying resource files. There, add the path to your file and try to compile again, Should work now. windres will be invoked for you, so you don't need the console.
I have try to add the options -v and --u at the command name windres.exe in Tools>Compiler Option>programs ant it work fine.
This options force windres.exe to use temporary files instead of the pipe.
Ciao and Happy New Year :)
Guglielmo