Author Topic: Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..  (Read 7530 times)

armink

  • Guest
Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
« 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 ?

armink

  • Guest
Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
« Reply #1 on: April 12, 2005, 10:41:24 am »
and the application exe doesnt have the icon it should have ...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
« Reply #2 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.
Be patient!
This bug will be fixed soon...

armink

  • Guest
Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
« Reply #3 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 ?

armink

  • Guest
Cant load bitmap 'wxBITMAP_STD_COLOURS' from resources! ..
« Reply #4 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 !