User forums > Using Code::Blocks

Using resources with C::B

(1/1)

Dark_Phoenix:
I am having a problem getting resources to work (i.e. adding a menu bar to my win32 app). I am thinking that there is a setting in C::B that I am not seeing... but I am not sure.  when I go to compile I get an error that simply says 'Nothing to be done.' even though the project has not been compiled yet.  All I have is three files in my project - main.cpp, resource.h and resource.rc.

Everything works fine without the resource files, but when I add them to the project it will not even attempt to compile.

Anyone know what I might be missing here?

TDragon:
Is your resource.rc in a path with spaces? Try enabling full command-line logging (in the last tab of the global compiler settings).

Navigation

[0] Message Index

Go to full version