Missing library wx2.7.0 vs wx2.5.3 ?
Bob
wxwidgets at gmail.com
Thu Aug 10 10:08:41 PDT 2006
I'm trying to move some code from version wx2.5.3, where everything
compiled and linked fine, to 2.7.0. I can not get the program to link
as there seems to be a missing library, but I'm not sure what I need
to add. This is on Windows XP using the Digital Mars compiler.
Typical message:
DebugMSW\MainFrame.obj(MainFrame)
Error 42: Symbol Undefined ?wxFileDialogNameStr@@3QBDB (const char
const *const wxFileDialogNameStr)
Full spew:
echo /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /su:windows:4.0
/DEBUG /CODEVIEW DebugMSW\app_resources.obj DebugMSW\sc200.obj
DebugMSW\MainFrame.obj DebugMSW\BootLoader.obj DebugMSW\prefdlg.obj
DebugMSW\crc_byte_1021.obj DebugMSW\datalogger.obj
DebugMSW\nameclass.obj DebugMSW\serialport.obj
DebugMSW\displayreadme.obj DebugMSW\supercell.obj
DebugMSW\versioni.obj DebugMSW\CommandLine.obj DebugMSW\GridHtml.obj
DebugMSW\hyperlink.obj DebugMSW\dnd.obj DebugMSW\findapppath.obj
DebugMSW\AboutDialog.obj,DebugMSW\SC200.exe,DebugMSW\SC200.map,
"G:\wx270\lib\dmc_lib\" "G:\DM\lib\" wxmsw27d_core.lib wxbase27d.lib
wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib
wxmsw27d_adv.lib wxmsw27d_html.lib wxmsw27d_xrc.lib wxbase27d_net.lib
wxbase27d_xml.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib
comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib
oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib,,
DebugMSW\SC200.res > SC200.cnf
link @SC200.cnf
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
DebugMSW\MainFrame.obj(MainFrame)
Error 42: Symbol Undefined ?wxFileDialogNameStr@@3QBDB (const char
const *const wxFileDialogNameStr)
DebugMSW\MainFrame.obj(MainFrame)
[snip many simular errors]
Error 42: Symbol Undefined ?wxFrameNameStr@@3QBDB (const char const
*const wxFrameNameStr)
DebugMSW\BootLoader.obj(BootLoader)
DebugMSW\BootLoader.obj(BootLoader)
Error 42: Symbol Undefined ?wxButtonNameStr@@3QBDB (const char const
*const wxButtonNameStr)
DebugMSW\BootLoader.obj(BootLoader)
Error 42: Symbol Undefined ?wxDialogNameStr@@3QBDB (const char const
*const wxDialogNameStr)
DebugMSW\BootLoader.obj(BootLoader)
Error 42: Symbol Undefined ?wxStaticBitmapNameStr@@3QBDB (const char
const *const wxStaticBitmapNameStr)
[Does this mean something was not built when I built the library?:]
G:\wx270\lib\dmc_lib\wxmsw27d_core.lib(fldlgcmn)
Error 42: Symbol Undefined ?wxFileSelectorDefaultWildcardStr@@3QBDB
(const char const *const wxFileSelectorDefaultWildcardStr)
G:\wx270\lib\dmc_lib\wxmsw27d_core.lib(logg)
Error 42: Symbol Undefined ?wxListCtrlNameStr@@3QBDB (const char
const *const wxListCtrlNameStr)
G:\wx270\lib\dmc_lib\wxmsw27d_core.lib(logg)
har const *const wxStatusLineNameStr)
G:\wx270\lib\dmc_lib\wxmsw27d_core.lib(choicdgg)
Error 42: Symbol Undefined ?wxListBoxNameStr@@3QBDB (const char const
*const wxListBoxNameStr)
G:\wx270\lib\dmc_lib\wxmsw27d_adv.lib(grid)
Error 42: Symbol Undefined ?wxComboBoxNameStr@@3QBDB (const char
const *const wxComboBoxNameStr)
More information about the wx-users
mailing list