wxAboutBox unresolved external symbol Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
dentiol
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 205
Joined: Thu Nov 01, 2007 6:21 pm
Location: B800 - B7FF

wxAboutBox unresolved external symbol

Post by dentiol » Mon Nov 05, 2007 9:57 pm

I tried this code from the documentation:

Code: Select all

    wxAboutDialogInfo info;
    info.SetName(_("My Program"));
    info.SetVersion(_("1.2.3 Beta"));
    info.SetDescription(_("This program does something great."));
    info.SetCopyright(_T("(C) 2007 Me <[email protected]>"));

    wxAboutBox(info);
but I am getting:

Error 6 error LNK2019: unresolved external symbol "void __cdecl wxAboutBox(class wxAboutDialogInfo const &)" ([email protected]@[email protected]@@Z) referenced in function "public: void __thiscall MainFrame::OnAbout(class wxCommandEvent &)" ([email protected]@@[email protected]@@Z) MyApp.obj

I searched lib directory but I was unable to find appropriate library (I assume there is none).

Here is the list of libs I have included in my project:

Code: Select all

wxmsw28ud_core.lib
wxmsw28ud_aui.lib
wxbase28ud.lib
wxtiffd.lib
wxjpegd.lib
wxpngd.lib
wxzlibd.lib
wxregexud.lib
wxexpatd.lib
winmm.lib
comctl32.lib
rpcrt4.lib
wsock32.lib
odbc32.lib

timg
Earned some good credits
Earned some good credits
Posts: 148
Joined: Mon Jan 23, 2006 6:52 pm

Post by timg » Mon Nov 05, 2007 11:08 pm

I am not positive which one it is in, but it works fine in my program that links to these additional libraries:

wxmsw28_adv.lib
wxbase28_net.lib

If I had to guess it would be in the _adv.lib

dentiol
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 205
Joined: Thu Nov 01, 2007 6:21 pm
Location: B800 - B7FF

Post by dentiol » Mon Nov 05, 2007 11:16 pm

timg wrote:I am not positive which one it is in, but it works fine in my program that links to these additional libraries:

wxmsw28_adv.lib
wxbase28_net.lib

If I had to guess it would be in the _adv.lib
It is this one wxmsw28_adv.lib (or wxmsw28ud_adv.lib for unicode).

Post Reply