<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3676" name=GENERATOR><LINK 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}" 
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2> 
<DIV><FONT face=Verdana size=2>Hi All:</FONT></DIV>
<DIV> </DIV>
<DIV>When i install wxPython on cygwin in windows xp, i get this error and can't 
continue...</DIV>
<DIV> </DIV>
<DIV>my enviroment:</DIV>
<DIV> </DIV>
<DIV>
<DIV>$ cygcheck -c cygwin</DIV>
<DIV>Cygwin Package Information</DIV>
<DIV>Package              Version        Status</DIV>
<DIV>cygwin               1.7.5-1        Incomplete</DIV></DIV>
<DIV> </DIV>
<DIV>wxPython-src-2.8.11.0 </DIV>
<DIV> </DIV>
<DIV>Following the build instructions on <A 
href="http://www.wxpython.org/">www.wxpython.org</A>, before the installing of 
wxPython i have installed additional packages as :</DIV>
<DIV>autoconf<BR>automake<BR>gcc-core<BR>gcc-g++<BR>gcc-mingw<BR>gcc-mingw-core<BR>gcc-mingw-g++<BR>make<BR>mingw-runtime<BR>mingw-zlib<BR>patch<BR>w32api    
// i can't find this package when i am installing cygwin, so it was not be 
installed</DIV>
<DIV> </DIV>
<DIV>Then: i put the sourcecode to /usr/sr/wxPython-src-2.8.11.0 </DIV>
<DIV> </DIV>
<DIV>$cd  /usr/sr/wxPython-src-2.8.11.0</DIV>
<DIV>$CC="gcc -mno-cygwin -mwindows"  \ 
<DIV>CXX="g++ -mno-cygwin -mwindows" \</DIV>
<DIV>LDFLAGS="-mno-cygwin -mwindows" \</DIV>
<DIV>./configure \</DIV>
<DIV>    --with-msw \</DIV>
<DIV>    --build=i686-pc-mingw32 \</DIV>
<DIV>    --prefix=/opt/wx/2.8 \</DIV>
<DIV>    --enable-unicode \</DIV>
<DIV>    --enable-debug \</DIV>
<DIV>    --enable-debug_gdb \</DIV>
<DIV>    --enable-geometry \</DIV>
<DIV>    --enable-display \</DIV>
<DIV>    --enable-shared \</DIV>
<DIV>--enable-optimise \</DIV>
<DIV>    --with-expat=builtin \</DIV>
<DIV>    --with-regex=builtin \</DIV>
<DIV>    --with-zlib=builtin</DIV>
<DIV> </DIV>
<DIV>$make $* \ 
<DIV>    && make -C contrib/src/gizmos $* \</DIV>
<DIV>    && make -C contrib/src/stc $*</DIV></DIV><BR>and 
then :</DIV>
<DIV>
<DIV>./src/msw/utils.cpp: In function ‘const wxChar* wxGetHomeDir(wxString*)’:</DIV>
<DIV>./src/msw/utils.cpp:392: error: cannot convert ‘const char*’ to ‘const wxChar</DIV>
<DIV>*’ for argument ‘1’ to ‘wxChar* wxGetenv(const wxChar*)’</DIV>
<DIV>./src/msw/utils.cpp:408: warning: ‘int cygwin_conv_to_full_win32_path(const cha</DIV>
<DIV>r*, char*)’ is deprecated (declared at /usr/include/sys/cygwin.h:52)</DIV>
<DIV>./src/msw/utils.cpp:408: error: cannot convert ‘wxString’ to ‘const char*’ f</DIV>
<DIV>or argument ‘1’ to ‘int cygwin_conv_to_full_win32_path(const char*, char*)’</DIV>
<DIV>./src/msw/utils.cpp: In function ‘wxChar* wxGetUserHome(const wxString&)’:</DIV>
<DIV>./src/msw/utils.cpp:472: error: new declaration ‘wxChar* wxGetUserHome(const wx</DIV>
<DIV>String&)’</DIV>
<DIV>./include/wx/utils.h:528: error: ambiguates old declaration ‘const wxWCharBuffe</DIV>
<DIV>r wxGetUserHome(const wxString&)’</DIV>
<DIV>make: *** [basedll_msw_utils.o] Error 1</DIV>
<DIV> </DIV>
<DIV>please help!</DIV>
<DIV> </DIV>
<DIV>regards.</DIV></DIV></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2010-06-01 
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>huangqiang.zhou</SPAN> 
</FONT></DIV></FONT></BODY></HTML>