[Windows] Link Error

Vadim Zeitlin vadim at wxwidgets.org
Wed Apr 2 06:54:08 PDT 2008


On Wed, 2 Apr 2008 08:36:00 +0900 Hiroshi ABE <habe36 at gmail.com> wrote:

HA> I'm troubling with a link error as;
HA> 
HA> wxbase26.lib(datetime.obj) : error LNK2019: unresolved extern
HA> symbol _timezone is refered in "int __cdecl GetTimeZone(void)"
HA> (?GetTimeZone@@YAHXZ)
HA> OLDNAMES.lib(timezone.obj) : error LNK2001: extern symbol "_timezone" is
HA> unresolved.
HA> OLDNAMES.lib(timezone.obj) : error LNK2001: extern symbol "__timezone" is
HA> unresolved.

 I don't really understand why do you link in OLDNAMES.lib and you
definitely shouldn't have to do this:

HA> Property->Linker->Input
HA>                                      'libcmt' is set to be ignored.


 Also, I think _timezone problem was solved in 2.8 so you should really
try 2.8.7, there will be no more fixes in 2.6 branch.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/



More information about the wx-users mailing list