www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - Can't compile using unicode

reply appledelhi <appledelhi_member pathlink.com> writes:
Whenever I try to compile a wxWidgets program using unicode, I get error
messages similar to this one:

OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

ReleaseMSWUnicode\wx.obj(wx) 
Error 42: Symbol Undefined ?Initialize wxApp  UAE_NAAHPAPAD Z
ReleaseMSWUnicode\wx.obj(wx) 
Error 42: Symbol Undefined ?wxEmptyString  3PBDB (const char const
*wxEmptyString)
ReleaseMSWUnicode\wx.obj(wx) 
Error 42: Symbol Undefined ?InitWith wxStringBase  IAEXPBDII Z (void syscall
wxStringBase::InitWith(char const *,unsigned ,unsigned ))
ReleaseMSWUnicode\wx.obj(wx) 
Error 42: Symbol Undefined ?wxStatusLineNameStr  3PBDB (const char const
*wxStatusLineNameStr)
ReleaseMSWUnicode\wx.obj(wx) 
Error 42: Symbol Undefined ?wxFrameNameStr  3PBDB (const char const
*wxFrameNameStr)
ReleaseMSWUnicode\wx.obj(wx) 
Error 42: Symbol Undefined ?Printf wxString  QAAHPBDZZ (int cdecl
wxString::Printf(char const *,...))

--- errorlevel 6
Done.

6 errors, 0 warnings


Any help would be greatly appreciated.
Dec 16 2005
parent reply chris elliott <biol75 york.ac.uk> writes:
Hi, please can you tewll me which version of wxWidgets and which version 
of dmc

thanks
chris

appledelhi wrote:
 Whenever I try to compile a wxWidgets program using unicode, I get error
 messages similar to this one:
 
 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
 
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?Initialize wxApp  UAE_NAAHPAPAD Z
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?wxEmptyString  3PBDB (const char const
 *wxEmptyString)
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?InitWith wxStringBase  IAEXPBDII Z (void syscall
 wxStringBase::InitWith(char const *,unsigned ,unsigned ))
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?wxStatusLineNameStr  3PBDB (const char const
 *wxStatusLineNameStr)
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?wxFrameNameStr  3PBDB (const char const
 *wxFrameNameStr)
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?Printf wxString  QAAHPBDZZ (int cdecl
 wxString::Printf(char const *,...))
 
 --- errorlevel 6
 Done.
 
 6 errors, 0 warnings
 
 
 Any help would be greatly appreciated.
 
 
 
 
Dec 20 2005
parent reply appledelhi <appledelhi_member pathlink.com> writes:
I am using wxwidgets 2.6.2, and dmc 8.45.

Hi, please can you tewll me which version of wxWidgets and which version 
of dmc

thanks
chris

appledelhi wrote:
 Whenever I try to compile a wxWidgets program using unicode, I get error
 messages similar to this one:
 
 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
 
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?Initialize wxApp  UAE_NAAHPAPAD Z
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?wxEmptyString  3PBDB (const char const
 *wxEmptyString)
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?InitWith wxStringBase  IAEXPBDII Z (void syscall
 wxStringBase::InitWith(char const *,unsigned ,unsigned ))
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?wxStatusLineNameStr  3PBDB (const char const
 *wxStatusLineNameStr)
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?wxFrameNameStr  3PBDB (const char const
 *wxFrameNameStr)
 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?Printf wxString  QAAHPBDZZ (int cdecl
 wxString::Printf(char const *,...))
 
 --- errorlevel 6
 Done.
 
 6 errors, 0 warnings
 
 
 Any help would be greatly appreciated.
 
 
 
 
Dec 20 2005
parent chris elliott <biol75 york.ac.uk> writes:
appledelhi wrote:
 I am using wxwidgets 2.6.2, and dmc 8.45.
 
 Hi, please can you tewll me which version of wxWidgets and which version 
 of dmc

 thanks
 chris

 appledelhi wrote:
 Whenever I try to compile a wxWidgets program using unicode, I get error
 messages similar to this one:

 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 ReleaseMSWUnicode\wx.obj(wx) 
 Error 42: Symbol Undefined ?Initialize wxApp  UAE_NAAHPAPAD Z
 ReleaseMSWUnicode\wx.obj(wx) 
I've now built the controls sample with 8.42 and it looks fine, with no undefined symbols; was there a wxW sample that gave the error ? chris
Dec 24 2005