From: Rick Sivernell on


I have dl the 2.6.3 windows sdk. Using VC 6 on Win 2000 w SP4.
The following has been created. I do not understand the _custom
added to the dll.

wxbase26d_net.lib
wxbase26d_odbc.lib
wxbase26d_vc.lib
wxbase26d_xml.lib
wxexpatd.lib
wxjpegd.lib
wxmsw26d_adv.lib
wxmsw26d_core.lib
wxmsw26d_html.lib
wxmsw26d_qa.lib
wxmsw26d_xrc.lib
wxpngd.lib
wxregexd.lib
wxtiffd.lib
wxzlibd.lib

wxbase26d_net_vc_custom.dll
wxbase26d_odbc_vc_custom.dll
wxbase26d_vc_custom.dll
wxbase26d_xml_vc_custom.dll
wxmsw26d_adv_vc_custom.dll
wxmsw26d_core_vc_custom.dll
wxmsw26d_dbgrid_vc_custom.dll
wxmsw26d_gl_vc_custom.dll
wxmsw26d_html_vc_custom.dll
wxmsw26d_qa_vc_custom.dll
wxmsw26d_xrc_vc_custom.dll


In building a simple window with wxApp and a Frame only, I get the
following problems. It appears to be the wxbase26d problem. Any
suggestions?

using the following libs:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib wxbase26d_vc.lib
wxmsw26d_core.lib wxmsw26d_adv.lib wxbase26d_xml.lib wx msw26d_xrc.lib
wxmsw26d_qa.lib wxmsw26d_html.lib

Deleting intermediate files and output files for project 'ConMan -
Win32 Debug'. --------------------Configuration: ConMan - Win32
Debug-------------------- Compiling resources...
Compiling... ConManApp.cpp MainFrame.cpp
F:\D&R\C++\wxWidgets\ConMan\MainFrame.cpp(83) : warning C4100:
'p_Event' : unreferenced formal parameter F:\D&R\C++\wxWidgets\ConMan
\MainFrame.cpp(90) : warning C4100: 'p_Event' : unreferenced formal
parameter wxprec.cpp Linking...
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib wxbase26d_vc.lib
wxmsw26d_core.lib wxmsw26d_adv.lib wxbase26d_xml.lib wx msw26d_xrc.lib
wxmsw26d_qa.lib wxmsw26d_html.lib /incremental:yes
"/pdb:Debug/ConMan.pdb" /machine:IX86 "/out:Debug/ConMan.exe"
"/libpath:d:\wxWidgets-2.6.3\lib\vc_dll d:\wxWidgets-2.6.3\contrib/lib"
".\Debug\ConManApp.obj" ".\Debug\MainFrame.obj" ".\Debug\wxprec.obj" ".
\Debug\ConMan.res" ConManApp.obj :
error LNK2001: unresolved external symbol "public: static unsigned int
const wxStringBase::npos" (? npos(a)wxStringBase@@2IB) MainFrame.obj :

error LNK2001: unresolved external symbol "public: static unsigned int
const wxStringBase::npos" (?npos(a)wxStringBase@@2IB) ConManApp.obj :

error LNK2001: unresolved external symbol "protected: static class
wxAppConsole * wxAppConsole::ms_appInstance" (?
ms_appInstance(a)wxAppConsole@@1PAV1@A) ConManApp.obj :

error LNK2001: unresolved external symbol "class wxWindowList
wxTopLevelWindows" (? wxTopLevelWindows@@3VwxWindowList@@A)
ConManApp.obj :

error LNK2001: unresolved external symbol "protected: static class
wxAppConsole * (__cdecl* wxAppConsole::ms_appInitFn)(void)" (?
ms_appInitFn(a)wxAppConsole@@1P6APAV1(a)XZA) MainFrame.obj :

error LNK2001: unresolved external symbol "protected: static struct
wxEventTable const wxFrame::sm_eventTable" (?
sm_eventTable(a)wxFrame@@1UwxEventTable@@B) MainFrame.obj :

error LNK2001: unresolved external symbol "public: static class
wxClassInfo wxFrame::ms_classInfo" (?
ms_classInfo(a)wxFrame@@2VwxClassInfo@@A) MainFrame.obj :

error LNK2001: unresolved external symbol "public:
static class wxClassInfo * wxClassInfo::sm_first" (?
sm_first(a)wxClassInfo@@2PAV1@A) MainFrame.obj :

error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?
wxEVT_NULL@@3HB) MainFrame.obj :

error LNK2001: unresolved external symbol "int const
wxEVT_COMMAND_MENU_SELECTED" (?wxEVT_COMMAND_MENU_SELECTED@@3HB)
MainFrame.obj :

error LNK2001: unresolved external symbol "char const *
const wxStatusLineNameStr" (?wxStatusLineNameStr@@3PBDB)
MainFrame.obj :

error LNK2001: unresolved external symbol "char const *
const wxFrameNameStr" (?wxFrameNameStr@@3PBDB) MainFrame.obj :

error LNK2001: unresolved external symbol "char const * const
wxEmptyString" (?wxEmptyString@@3PBDB) Debug/ConMan.exe :

fatal error LNK1120: 12 unresolved externals Error executing link.exe.

Any help here?

--
Rick Sivernell
Dallas, Texas 75287
972 306-2296
ricksivernell(a)verizon.net
Registered Linux User


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org