Re: Problems building on WIN32

Xenomorph <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1082750631.5921.7.camel@dellkiste>
Am Do, den 22.04.2004 schrieb Michael S. Muegel um 21:28:
> I have built wx.Widgets using the makefile.vc mode. VS.NET 2003 is doing the
> work behind the scenes. My build/msw/config.vc is the default:
> 
>    SHARED = 0
>    WXUNIV = 0
>    UNICODE = 0
>    MSLU = 0
>    BUILD = debug

UNICODE should be 1 (even when using VS.NET ;) and when calling premake
with --with-shared SHARED should also be 1.

> wx-c error LNK2019: unresolved external symbol "public: virtual enum
> wxDragResult __thiscall wxDropTargetBase::OnData(int,int,enum wxDragResult)"
> (?OnData@wxDropTargetBase@@UAE?AW4wxDragResult@@HHW42@@Z) referenced in
> function _wxDropTarget_OnData
> 
> wx-c error LNK2019: unresolved external symbol "protected: virtual class
> wxString __thiscall wxHtmlListBox::OnGetItem(unsigned int)const "
> (?OnGetItem@wxHtmlListBox@@MBE?AVwxString@@I@Z) referenced in function
> "public: class wxString __thiscall _HtmlListBox::VPOnGetItem(unsigned int)"
> (?VPOnGetItem@_HtmlListBox@@QAE?AVwxString@@I@Z)
> 
> wx-c error LNK2019: unresolved external symbol "protected: virtual int
> __thiscall wxVListBox::OnMeasureItem(unsigned int)const "
> (?OnMeasureItem@wxVListBox@@MBEHI@Z) referenced in function "public: int
> __thiscall _VListBox::POnMeasureItem(unsigned int)"
> (?POnMeasureItem@_VListBox@@QAEHI@Z)
> 
> wx-c error LNK2019: unresolved external symbol "protected: virtual int
> __thiscall wxVScrolledWindow::OnGetLineHeight(unsigned int)const "
> (?OnGetLineHeight@wxVScrolledWindow@@MBEHI@Z) referenced in function
> "public: int __thiscall _VScrolledWindow::POnGetLineHeight(int)"
> (?POnGetLineHeight@_VScrolledWindow@@QAEHH@Z)
> 
> wx-c error LNK2019: unresolved external symbol "protected: virtual void
> __thiscall wxVListBox::OnDrawItem(class wxDC &,class wxRect const &,unsigned
> int)const " (?OnDrawItem@wxVListBox@@MBEXAAVwxDC@@ABVwxRect@@I@Z) referenced
> in function "public: void __thiscall _VListBox::POnDrawItem(class wxDC
> &,class wxRect const &,unsigned int)"
> (?POnDrawItem@_VListBox@@QAEXAAVwxDC@@ABVwxRect@@I@Z)

I recently added VListBox, HtmlListBox and made some dnd changes...
but...

Are you sure you are linking against the correct libs ??? 

To be honest.. I am only using Linux to develop wx.NET. So you have to
wait until Bryan answers... Windows is only for playing (Operation
Flashpoint and Flight Simulator... :)

Greetings
Alexander Olk



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.