Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: armink on April 12, 2005, 10:02:26 am

Title: Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
Post by: armink on April 12, 2005, 10:02:26 am
Check rc file.

Well I Imported a project from DEVC++ where all worked fine to CB.

All compiles fine but when I start the App, I get the message above ...

I checked the rc file, it is compiled and says

#include <wx/msw/wx.rc>

The path D:\wxWindows-2.4.2\include , the mother of wx/msw/wx.rc is included in the linker dir ...

wx.rc exists ...


Whats wrong please ?
Title: Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
Post by: armink on April 12, 2005, 10:41:24 am
and the application exe doesnt have the icon it should have ...
Title: Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
Post by: mandrav on April 12, 2005, 11:12:38 am
Quote
The path D:\wxWindows-2.4.2\include , the mother of wx/msw/wx.rc is included in the linker dir ...

This should go in the compiler's dirs, not the linker's...

Yiannis.
Title: Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
Post by: armink on April 12, 2005, 12:14:54 pm
Hi Yannis,

it is also in the compiler dir ... I put both to be sure ... thats not the problem , have you any other idea what it may be ?
Title: Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
Post by: armink on April 12, 2005, 01:37:47 pm
Hi again the solution was:

In "Project/Properties/Targets" select the "rc" file, click "Selected file options" and enable "link file"


Thanx to all how tortured their brains with me :-) :D

I surely will come back, there is a lot to discover in CB, its great !