2.8.4 and VS2005 link errors - Got it...

Mickey Mestel mickm at carmick.com
Mon Jun 25 16:26:19 PDT 2007


forgot to change the include path for general include files to the new 2.8.=
4, i only did the one for the mswud directory under the installed lib direc=
tory.  did that, and that registered as "include" files, and so forgot the =
other one.

thanks,

mickm
      on xp with VS2005, i'\ve been running widgets 2.6.3 for a while, and =
am trying to upgrade to 2.8.4.  there were no .sln and .vcproj files, do i =
did a conversion in VS2005, and then set the settings to what there are in =
my 2.6.3 build, like a unicode debug version instead of dll, (which is what=
 we are using now).  when i try to link with my app, i'm getting the follow=
ing:  (a sample...)



  ------ Build started: Project: NavSDKsamp1, Configuration: Debug Win32 --=
----

  Linking...

  wxmsw28ud_core.lib(spinctrl.obj) : error LNK2005: "public: virtual void _=
_thiscall wxSpinCtrl::SetValue(int)" (?SetValue at wxSpinCtrl@@UAEXH at Z) alread=
y defined in Rmrgui.obj

  wxmsw28ud_core.lib(appcmn.obj) : error LNK2005: "public: virtual class wx=
Window * __thiscall wxAppBase::GetTopWindow(void)const " (?GetTopWindow at wxA=
ppBase@@UBEPAVwxWindow@@XZ) already defined in SandApp.obj

  wxmsw28ud_core.lib(appcmn.obj) : error LNK2005: "public: virtual struct w=
xVideoMode __thiscall wxAppBase::GetDisplayMode(void)const " (?GetDisplayMo=
de at wxAppBase@@UBE?AUwxVideoMode@@XZ) already defined in SandApp.obj

  Creating library .\Debug\NavSDKsamp1/NavSDKsamp1.lib and object .\Debug\N=
avSDKsamp1/NavSDKsamp1.exp

  Rmrgui.obj : error LNK2001: unresolved external symbol "protected: static=
 struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable at wxDialo=
g@@1UwxEventTable@@B)

  Samp1Error.obj : error LNK2001: unresolved external symbol "protected: st=
atic struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable at wxD=
ialog@@1UwxEventTable@@B)

  Featuremenu.obj : error LNK2001: unresolved external symbol "protected: s=
tatic struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable at wx=
Dialog@@1UwxEventTable@@B)

  PointsList.obj : error LNK2001: unresolved external symbol "protected: st=
atic struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable at wxD=
ialog@@1UwxEventTable@@B)

  Coordsmenu.obj : error LNK2001: unresolved external symbol "protected: st=
atic struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable at wxD=
ialog@@1UwxEventTable@@B)

  Regulationmenu.obj : error LNK2001: unresolved external symbol "protected=
: static struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable=
@wxDialog@@1UwxEventTable@@B)



  any thoughts on this?

  thanks,

      mickm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070625/a8c=
23bd9/attachment.htm


More information about the wx-users mailing list