[wxPython] build wxWindows from CVS sources

I try to build wxWindows from CVS sources. It works fine for some time, but then the following command fails:

gcc --pipe -fvtable-thunks -c -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN
95__ -D__GNUWIN32__ -D__WIN32__ -I../../lib/msw -I../../include -I../../contrib/
include -I../../src/regex -I../../src/png -I../../src/jpeg -I../../src/zlib -I..
/../src/tiff -I../../include/wx/msw/gnuwin32 -DSTRICT -D__WXMSW__ -D__WINDOWS
__ -D__WXDEBUG__ -Wall -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions -o
  ../../src/common/imagjpeg.o ../../src/common/imagjpeg.cpp

Error message is:

In file included from /usr/include/w32api/winnt.h:144,
                  from /usr/include/w32api/windef.h:145,
                  from /usr/include/w32api/windows.h:98,
                  from ../../src/common/imagjpeg.cpp:51:
/usr/include/w32api/basetsd.h:8: conflicting types for `typedef int INT32'
../../src/jpeg/jmorecfg.h:185: previous declaration as `typedef long int INT32'
make: *** [../../src/common/imagjpeg.o] Error 1

I use latest Cygwin version on Win2000.

I have no idea what to do. Can somebody help me?

Luc

Problem solved after cvs update.
Sorry
Luc

···

At 07:18 8/12/2001 +0200, Luc Saffre wrote:

I try to build wxWindows from CVS sources. It works fine for some time, but then the following command fails:

gcc --pipe -fvtable-thunks -c -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN
95__ -D__GNUWIN32__ -D__WIN32__ -I../../lib/msw -I../../include -I../../contrib/
include -I../../src/regex -I../../src/png -I../../src/jpeg -I../../src/zlib -I..
/../src/tiff -I../../include/wx/msw/gnuwin32 -DSTRICT -D__WXMSW__ -D__WINDOWS
__ -D__WXDEBUG__ -Wall -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions -o
../../src/common/imagjpeg.o ../../src/common/imagjpeg.cpp

Error message is:

In file included from /usr/include/w32api/winnt.h:144,
                 from /usr/include/w32api/windef.h:145,
                 from /usr/include/w32api/windows.h:98,
                 from ../../src/common/imagjpeg.cpp:51:
/usr/include/w32api/basetsd.h:8: conflicting types for `typedef int INT32'
../../src/jpeg/jmorecfg.h:185: previous declaration as `typedef long int INT32'
make: *** [../../src/common/imagjpeg.o] Error 1

I use latest Cygwin version on Win2000.

I have no idea what to do. Can somebody help me?

Luc

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users