wxwidgets dll problems

whatazor dannox at gmail.com
Mon Jul 2 11:34:14 PDT 2007


On 2 Lug, 13:00, wxWidget <soni.sanj... at gmail.com> wrote:
> On Jul 2, 3:31 pm, wxWidget <soni.sanj... at gmail.com> wrote:
>
>
>
> > On Jul 2, 1:30 am, whatazor <dan... at gmail.com> wrote:
>
> > > > I could be wrong, but I think these errors come from not defining WX_DLL
> > > > when compiling your app.  You need to #define it or use a -DWX_DLL flag for
> > > > Unixy compilers.  Or in the "preprocessor definitions" section of build
> > > > properties under MSVC.
> > > > If you're doing that already, then possibly file1.cpp just didn't get
> > > > recompiled.  Try a full rebuild of your app.
>
> > > > --bb
>
> > > hi, thank you for the answer, I've use -DWX_USE_DLL or something like
> > > this, but nothing changes.
> > > I've tried also to recompile several times, but nothing, and now I try
> > > to change the linking order, because in project properties I'm sure
> > > that all files it needs  are present.
>
> > > bye
>
> > > w
>
> > Hi, whenever any project(.exe or .dll) is trying to use the dll
> > version of wxwidget, specify WXUSINGDLL preprocessor in your project
> > settings. This will solve your problem.- Hide quoted text -
>
> > - Show quoted text -
>
> It's always better and safe approach to use the dll version of the
> widget, if you are using it in multiple dlls of your project.
> Ofcourse, u just have to distribute widgets dll along with other
> binaries.








More information about the wx-users mailing list