[wxPython-users] Building wxPython 2.8.6.1 in cygwin
Mark Guagenti
mgenti at gentiweb.com
Tue Nov 6 10:01:46 PST 2007
That seems to have gotten me one step closer but now I'm getting:
./src/expat/lib -DwxUSE_GUI=3D0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=3D1
-D_FILE_OFFSET_
BITS=3D64 -D_LARGE_FILES -D__WXDEBUG__ -I/cygdrive/c/wxPython-src-2.8.6.1
/bld/lib/
wx/include/msw-unicode-debug-2.8 -I../include -mthreads -Wall -Wundef
-Wno-ctor-
dtor-privacy -O2 -fno-strict-aliasing ../src/common/log.cpp
../src/common/log.cpp: In member function `virtual void
wxLogStderr::DoLogString
(const wxChar*, time_t)':
../src/common/log.cpp:571: error: `fputwc' undeclared (first use this
function)
../src/common/log.cpp:571: error: (Each undeclared identifier is reported
only o
nce for each function it appears in.)
make: *** [basedll_log.o] Error 1
If I fix this error I just get another error somewhere else that seems to me
like some libraries are not getting included or are missing.
I am using these options for my configure:
../configure --with-msw --build=3Di686-pc-mingw32 --prefix=3D/opt/wx/2.8
--enable-unicode --enable-optimise --enable-geometry --enable-display
--enable-shared --with-expat=3Dbuiltin --with-regex=3Dbuiltin
--with-zlib=3Dbuiltin --enable-debug_flag --disable-std_string
Thanks,
--Mark
On 11/6/07, Robin Dunn <robin at alldunn.com> wrote:
>
> Mark Guagenti wrote:
> > I recently downloaded the tarball of wxPython 2.8.6.1 <http://2.8.6.1>
> > and was trying to get it to compile in cygwin but get the following
> error:
> > /cygdrive/c/wxPython-src-2.8.6.1/bld/bk-deps g++ -c -o
> > basedll_appbase.o -D__WX
> > MSW__ -I../src/tiff -I../src/jpeg -I../src/png -I../src/zlib
> > -I../src/regex
> > -I../src/expat/lib -DwxUSE_GUI=3D0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=3D1
> > -D_FILE_OFF
> > SET_BITS=3D64 -D_LARGE_FILES -D__WXDEBUG__ -I/cygdrive/c/wxPython-
> > src-2.8.6.1/bld/
> > lib/wx/include/msw-unicode-debug-2.8 -I../include -mthreads -Wall
> > -Wundef -Wno-c
> > tor-dtor-privacy -O2 -fno-strict-aliasing ../src/common/appbase.cpp
> > In file included from ../include/wx/memory.h:16,
> > from ../include/wx/object.h:20,
> > from ../include/wx/list.h:33,
> > from ../src/common/appbase.cpp:31:
> > ../include/wx/string.h:181: error: expected init-declarator before
> > "wxStdString"
> >
> > ../include/wx/string.h:181: error: expected `,' or `;' before
> "wxStdString"
> > ../include/wx/string.h:714: error: expected `,' or `...' before '&'
> token
> > ../include/wx/string.h:715: error: ISO C++ forbids declaration of
> > `wxStdString'
> > with no type
> > ../include/wx/string.h:715: error: `wxString::wxString(int)' and
> > `wxString::wxSt
> > ring(int)' cannot be overloaded
> > ../include/wx/string.h: In constructor `wxString::wxString(int)':
> > ../include/wx/string.h:715: error: `s' undeclared (first use this
> function)
> > ../include/wx/string.h:715: error: (Each undeclared identifier is
> > reported only
> > once for each function it appears in.)
> > make: *** [basedll_appbase.o] Error 1
> >
> > Has anyone seen this error before?
>
> No, but try redoing the configure step with --disable-std_string.
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200711=
06/7e588079/attachment.htm
More information about the wxpython-users
mailing list