Error: Unresolved external 'wxSplashScreen::~wxSplashScreen()' referenced from FOO.OBJ

Rolf Ackermann rolf.ackermann at spin.ch
Tue Jan 16 06:09:10 PST 2007


Hi Michael

Which version of wxWidgets you are using?

Kind regards

Rolf (aka spieler67)

>
> Hello!
>
> I'm using wxWindgets on Windoof with the free compiler of Borland.
>
> Adding a splash screen, I got a linker error.
>
> ----------
>
> bool MyApp::OnInit()
>
>  ...
>
>   wxImage::AddHandler(new wxPNGHandler);
>   wxBitmap bitmap;
>   wxString image = "splash.png";
>
>   if (bitmap.LoadFile(image, wxBITMAP_TYPE_PNG)) {
>     wxSplashScreen* splash = new wxSplashScreen(bitmap, 
> wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, 2000, NULL, -1, 
> wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER|wxSTAY_ON_TOP);
>   }
>
> ...
>
> ----------
>
>
> Linker error (Borland C++)
> ----------
> ilink32 -Tpe -q  -Le:\bcc55\bin\..\lib -Le:\bcc55\bin\..\lib\psdk -v- -L
> .\..\..\lib\bcc_lib -aa @MAKE0000.@@@
> Error: Unresolved external 'wxSplashScreen::~wxSplashScreen()' 
> referenced from FOO.OBJ
> Error: Unresolved external 'wxSplashScreen::wxSplashScreen(const 
> wxBitmap&, long , int, wxWindow *, int, const wxPoint&, const wxSize&, 
> long)' referenced from E:
>
> ** error 2 ** deleting foo.exe
> ----------
>
> What to do?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
> .
>





More information about the wx-users mailing list