Hi,...
I ve a running project with some bitmap buttons (loading images from a subdir ...).
Now i want to load them from a resource.
First i wrote the RC file:
#include "resource.h"
IDB_BITMAP BITMAP ".\\images\\image.bmp"
the resource.h file:
#define IDB_BITMAP 101
i have the following toolchain executables defined on Codeblocks (running on Gentoo)
" C Compiler = gcc
C++ Compiler = g++
Linker for static libs = ar
Resource compiler = wrc (it was blank after installation of codeblocks, then i changed to wrc because it
is the unique resource compiler i found on my machine).
Make program = make "
After trying to build the project i get following error (the .res was generated but could not be linked to the executable ...) :
" Linking executable: bin/Debug/MyApp
obj/Debug/MyApp.res: file not recognized: File format not recognized "
no idea what else i could do ...
Every suggestion or idea welcome.
thks.