[Windows] Link Error

ABE Hiroshi habe36 at gmail.com
Mon Apr 7 05:42:42 PDT 2008


VZ,

Thank you for your info.
As you said, 2.8 solved the problem, but brings another problem  
regarding wxGLCanvas.

Eventually, I found my fault with 2.6. My fault was MultiThread  
compiler option is mismatched between the wxWigets Lib and the  
application.

The problem regarding wxGLCanvas is still remained on 2.8, which is  
that LIGHTING doesn't work. All the objects are in dark. And the  
transform/rotation of OpenGL models doesn't work. All my code is  
worked on 2.6. I will find the point of the problem. Maybe something  
is missing, in my app. or wxWidgets.

Thank you for helps,

Hiroshi


On 2008/04/02, at 22:54, Vadim Zeitlin wrote:
> 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/
>
> _______________________________________________
> wx-users mailing list
> wx-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-users

ABE Hiroshi
  from Tokorozawa, JAPAN



More information about the wx-users mailing list