2.7.1 problem
Jyrki Wahlstedt
jyrki.wahlstedt at hut.fi
Mon Oct 23 07:45:27 PDT 2006
Hi,
tried to build 2.7.1. Stopped in building "animate" with the following:
=============
../../.././bk-deps /usr/bin/g++-4.0 -c -o animatedll_animate.o -I.pch/
wxprec_animatedll -D__WXMAC__ -I../../../../contrib/src/
animate/../../include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE -dynamic -
fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -
I../../../lib/wx/include/mac-unicode-release-2.7 -I../../../../
include -fpascal-strings -I../../../../src/mac/carbon/morefilex -I/
Developer/Headers/FlatCarbon -I/opt/local/include -I/opt/local/
include -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -fno-
common ../../../../contrib/src/animate/animate.cpp
../../../../contrib/src/animate/../../include/wx/animate/animate.h:
37: error: multiple definition of 'enum wxAnimationDisposal'
../../../../include/wx/animdecod.h:56: error: previous definition here
../../../../contrib/src/animate/../../include/wx/animate/animate.h:
39: error: conflicting declaration 'wxANIM_UNSPECIFIED'
../../../../include/wx/animdecod.h:59: error: 'wxANIM_UNSPECIFIED'
has a previous declaration as 'wxAnimationDisposal wxANIM_UNSPECIFIED'
../../../../contrib/src/animate/../../include/wx/animate/animate.h:
40: error: conflicting declaration 'wxANIM_DONOTREMOVE'
../../../../include/wx/animdecod.h:62: error: 'wxANIM_DONOTREMOVE'
has a previous declaration as 'wxAnimationDisposal wxANIM_DONOTREMOVE'
../../../../contrib/src/animate/../../include/wx/animate/animate.h:
41: error: conflicting declaration 'wxANIM_TOBACKGROUND'
../../../../include/wx/animdecod.h:66: error: 'wxANIM_TOBACKGROUND'
has a previous declaration as 'wxAnimationDisposal wxANIM_TOBACKGROUND'
../../../../contrib/src/animate/../../include/wx/animate/animate.h:
42: error: conflicting declaration 'wxANIM_TOPREVIOUS'
../../../../include/wx/animdecod.h:70: error: 'wxANIM_TOPREVIOUS' has
a previous declaration as 'wxAnimationDisposal wxANIM_TOPREVIOUS'
../../../../contrib/src/animate/animate.cpp: In member function
'virtual int wxGIFAnimation::GetFrameCount() const':
../../../../contrib/src/animate/animate.cpp:406: error: 'class
wxGIFDecoder' has no member named 'GetNumberOfFrames'
../../../../contrib/src/animate/animate.cpp: In member function
'virtual wxImage* wxGIFAnimation::GetFrame(int) const':
../../../../contrib/src/animate/animate.cpp:413: error: 'class
wxGIFDecoder' has no member named 'GoFrame'
../../../../contrib/src/animate/animate.cpp:416: error: no matching
function for call to 'wxGIFDecoder::ConvertToImage(wxImage*&)'
../../../../include/wx/gifdecod.h:103: note: candidates are: virtual
bool wxGIFDecoder::ConvertToImage(size_t, wxImage*) const
../../../../contrib/src/animate/animate.cpp: In member function
'virtual wxAnimationDisposal wxGIFAnimation::GetDisposalMethod(int)
const':
../../../../contrib/src/animate/animate.cpp:425: error: 'class
wxGIFDecoder' has no member named 'GoFrame'
../../../../contrib/src/animate/animate.cpp:427: error: no matching
function for call to 'wxGIFDecoder::GetDisposalMethod()'
../../../../include/wx/gifdecod.h:79: note: candidates are: virtual
wxAnimationDisposal wxGIFDecoder::GetDisposalMethod(size_t) const
../../../../contrib/src/animate/animate.cpp: In member function
'virtual wxRect wxGIFAnimation::GetFrameRect(int) const':
../../../../contrib/src/animate/animate.cpp:435: error: 'class
wxGIFDecoder' has no member named 'GoFrame'
../../../../contrib/src/animate/animate.cpp:437: error: 'class
wxGIFDecoder' has no member named 'GetLeft'
../../../../contrib/src/animate/animate.cpp:437: error: 'class
wxGIFDecoder' has no member named 'GetTop'
../../../../contrib/src/animate/animate.cpp:437: error: 'class
wxGIFDecoder' has no member named 'GetWidth'
../../../../contrib/src/animate/animate.cpp:437: error: 'class
wxGIFDecoder' has no member named 'GetHeight'
../../../../contrib/src/animate/animate.cpp: In member function
'virtual int wxGIFAnimation::GetDelay(int) const':
../../../../contrib/src/animate/animate.cpp:446: error: 'class
wxGIFDecoder' has no member named 'GoFrame'
../../../../contrib/src/animate/animate.cpp:448: error: no matching
function for call to 'wxGIFDecoder::GetDelay()'
../../../../include/wx/gifdecod.h:80: note: candidates are: virtual
long int wxGIFDecoder::GetDelay(size_t) const
../../../../contrib/src/animate/animate.cpp: In member function
'virtual wxSize wxGIFAnimation::GetLogicalScreenSize() const':
../../../../contrib/src/animate/animate.cpp:455: error: 'class
wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
../../../../contrib/src/animate/animate.cpp:455: error: 'class
wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
../../../../contrib/src/animate/animate.cpp: In member function
'virtual bool wxGIFAnimation::GetBackgroundColour(wxColour&) const':
../../../../contrib/src/animate/animate.cpp:462: error: cannot
convert 'wxColour' to 'int' in initialization
../../../../contrib/src/animate/animate.cpp:466: error: no matching
function for call to 'wxGIFDecoder::GetPalette()'
../../../../include/wx/gifdecod.h:72: note: candidates are: unsigned
char* wxGIFDecoder::GetPalette(size_t) const
../../../../contrib/src/animate/animate.cpp: In member function
'virtual bool wxGIFAnimation::GetTransparentColour(wxColour&) const':
../../../../contrib/src/animate/animate.cpp:479: error: no matching
function for call to 'wxGIFDecoder::GetTransparentColour()'
../../../../include/wx/gifdecod.h:75: note: candidates are: virtual
wxColour wxGIFDecoder::GetTransparentColour(size_t) const
../../../../contrib/src/animate/animate.cpp:483: error: no matching
function for call to 'wxGIFDecoder::GetPalette()'
../../../../include/wx/gifdecod.h:72: note: candidates are: unsigned
char* wxGIFDecoder::GetPalette(size_t) const
../../../../contrib/src/animate/animate.cpp: In member function
'virtual bool wxGIFAnimation::LoadFile(const wxString&)':
../../../../contrib/src/animate/animate.cpp:514: error: no matching
function for call to 'wxGIFDecoder::wxGIFDecoder(wxFileInputStream*,
bool)'
../../../../include/wx/gifdecod.h:111: note: candidates are:
wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
../../../../include/wx/gifdecod.h:88: note:
wxGIFDecoder::wxGIFDecoder()
../../../../contrib/src/animate/animate.cpp:516: error: 'class
wxGIFDecoder' has no member named 'ReadGIF'
=============
I am using 10.4.8, Xcode 2.4, but the build is done with the
traditional make & configure stuff in the context of MacPorts
(previous DarwinPorts). The configuration is like in MacPorts 2.6.3,
i.e.:
configure.cmd ../configure
configure.env CPPFLAGS="-I${prefix}/include" \
CFLAGS="-I${prefix}/include" \
LDFLAGS="-L${prefix}/lib"
configure.args --mandir=${prefix}/share/man \
--with-libiconv-prefix=${prefix} \
--with-libjpeg \
--with-libtiff \
--with-libpng \
--with-zlib \
--with-sdl \
--with-opengl \
--with-mac \
--disable-sdltest \
--enable-unicode \
--enable-display \
--enable-monolithic
Is there something obvious to fix in the build options? 2.7.0 went ok
with these. I could omit "animate", but I'd like to keep it, and then
there are the other additional parts "gizmos" and "stc" that could
cause problems, too (animate is the first of the additional targets
to build here). The build of the libraries themselves seems to pass
fine.
!
! Jyrki Wahlstedt
! Kolmas linja 12 A 18 mob. +358-400-347 015
skype:jyrkiwahlstedt
! FI-00530 Helsinki http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20061023/08cf0cc7/attachment.htm
More information about the wx-dev
mailing list