Just right where you would the rest of your object files being passed to the linker. That's all a .res is anyways, I think it is just an object file in COFF format but I could be mistaken.
Kip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't get this to work either. I'm trying to compile the source from an app that was made with MinGW/GCC but not Dev-C++, so I have no project file to work with. Everything compiles fine when added to an empty project, but I can't figure out how/where to add the damn .res file. Could someone provide some decent instructions please.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) Select Project > Project Options.
2) Click on the Parameters tab.
3) Click on Add Library or Object, go to the folder containing the .res file and then change 'File of type' from Library to All files so you can see the .res file.
4) Select the .res file. The .res file should now be under the Linker. Click the OK button.
5) Rebuild your project (i.e. Execute > Rebuild All). It is important that you do that or the .res file will not be included. Compile or Compile and Run will not link the .res file to your program except if it is the first time it is compiled.
I know that this works cause I just successfully linked a .res file to a program. The only issue you may have is if you have unresolved references in the res file, since you don't have the original source. Good Luck.
See Ya
Butch
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How would I link .res files to my project?
Lets say I have a precompiled resource the ends in ".res". How would I link the file to my project?
Interesting. I've tried that before and I get "File format not recognized"
Just right where you would the rest of your object files being passed to the linker. That's all a .res is anyways, I think it is just an object file in COFF format but I could be mistaken.
Kip
I can't get this to work either. I'm trying to compile the source from an app that was made with MinGW/GCC but not Dev-C++, so I have no project file to work with. Everything compiles fine when added to an empty project, but I can't figure out how/where to add the damn .res file. Could someone provide some decent instructions please.
Hi Everyone:
Its really not that hard to do. Try this:
1) Select Project > Project Options.
2) Click on the Parameters tab.
3) Click on Add Library or Object, go to the folder containing the .res file and then change 'File of type' from Library to All files so you can see the .res file.
4) Select the .res file. The .res file should now be under the Linker. Click the OK button.
5) Rebuild your project (i.e. Execute > Rebuild All). It is important that you do that or the .res file will not be included. Compile or Compile and Run will not link the .res file to your program except if it is the first time it is compiled.
I know that this works cause I just successfully linked a .res file to a program. The only issue you may have is if you have unresolved references in the res file, since you don't have the original source. Good Luck.
See Ya
Butch
Just use wxFormBuilder under Ubuntu. There is no reason to even still require a separate resource compiler in the year 2008 anymore.
wxGTK+'s runtime and dev kit is available via apt.
Kip