[wxWin 2.8.7] Build error

Steven Van Ingelgem steven at vaningelgem.be
Mon Dec 31 01:00:14 PST 2007


Hi Vadim,


I decided to check on this and here are my findings:

* the visual studio project files should use dependencies. For example
a lot of projects depend on tiff/jpeg to be compiled & linked already
and this is easily changed by a dependency. I believe it's also easy
to add one in bakefile. (dll build is ok though, but just try in a
clean environment to build from the wx.dsp file, already the first
project in a batch build of all ("gl") encounters an unresolved
dependency (wxtiff)).

* core, dll, debug I got the same errors as Bob ( both unicode and ansi build).

* core, dll, universal unicode debug :
..\..\src\generic\listctrl.cpp(774) : warning C4251:
'wxListMainWindow::m_aColWidths' : class 'ColWidthArray' needs to have
dll-interface to be used by clients of class 'wxListMainWindow'
        ..\..\src\generic\listctrl.cpp(125) : see declaration of 'ColWidthArray'

* base, dll, unicode release : ..\..\src\msw\thread.cpp(545) : warning
C4535: calling _set_se_translator() requires /EHa

* qa, dll, (unicode) debug : 13 errors

* odbc, DLL Universal Unicode Release : wxVariant errors


Hopes this helps so you could locate the problem.
If you want, I can do the same for trunk?


--
Steven


On 12/31/07, Vadim Zeitlin <vadim at wxwidgets.org> wrote:
> On Fri, 28 Dec 2007 14:55:06 -0500 Bob McCown <rmccown at insors.com> wrote:
>
> BM> I get the following errors in some of the libraries when I build:
> BM>
> BM> app.obj : error LNK2019: unresolved external symbol "protected: virtual class
> BM> wxString __thiscall wxAppTraitsBase::GetAssertStackTrace(void)"
> BM> (?GetAssertStackTrace at wxAppTraitsBase@@MAE?AVwxString@@XZ) referenced in
> BM> function "public: virtual bool __thiscall wxApp::Yield(bool)"
> BM> (?Yield at wxApp@@UAE_N_N at Z)
> ...
> BM> This is on XP, VS2005.  I haven't made any changes at all to the
> BM> wxWidgets-2.8.7 directory, or any of its files.  I'm building both the
> BM> wx.dsp and wx_dll.dsp, they both give me the same errors.
>
>  This is not the first time this comes up so there is definitely something
> wrong here but I just don't see what can it be and, of course, everything
> works just fine for me here so I can't even reproduce the problem myself.
>
>  If you search for GetAssertStackTrace() in the archives you will find all
> the suggestions I could make in the past and I'm afraid I don't have any
> new ones.
>
>  I'd also appreciate if you could post here again if/when you manage to
> solve the problem.
>
>  Good luck,
> VZ
>
> --
> TT-Solutions: wxWidgets consultancy and technical support
>                http://www.tt-solutions.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>




More information about the wx-users mailing list