Re: DShow Build Issues
Michael Militzer <[email protected]> Fri, 25 Feb 2011 21:14:22 +0100
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Brendan, I am as clueless as you with regard to why your environment is different than mine ;) Note that my build host is linux and not cygwin... I also don't get such warnings upon linking here and am again quite clueless what could be the reason. Have you freshly compiled the strmbase.lib you are linking against with your current toolchain? If not, you should try to recompile baseclasses using your current toolchain (and hope that not too many other new problems arise then ;)). Regards, Michael Quoting Brendan Brewster <[email protected]>: > Hi Michael, > > Thank you but I find it odd that it's like that in your environment and I > have done nothing to either of these header files manually... anyway, > commenting out the entries in winbase.h worked to allow the compilation. > However, I have some interesting xvid.ax linking warnings that I wouldn't > mind your comment on since I believe it's related somehow: > > Br3wski3@f32pj71 ~/xvidcore_1.3.0/dshow > $ make DXTREE=/cygdrive/d/dx90 > C: ./CAbout.cpp > In file included from <command line>:10: > /cygdrive/d/dx90/mingw_dshow_port.h:6:1: warning: "_WINGDI_" redefined > In file included from > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/windows.h:52, > from > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/rpc.h:2, > from > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wtypes.h:1, > from /cygdrive/d/dx90/mingw_dshow_port.h:1, > from <command line>:10: > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wingdi.h:3:1: > warning: this is the location of the previous definition > C: ./CXvidDecoder.cpp > In file included from <command line>:10: > /cygdrive/d/dx90/mingw_dshow_port.h:6:1: warning: "_WINGDI_" redefined > In file included from > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/windows.h:52, > from > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/rpc.h:2, > from > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wtypes.h:1, > from /cygdrive/d/dx90/mingw_dshow_port.h:1, > from <command line>:10: > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wingdi.h:3:1: > warning: this is the location of the previous definition > W: ./xvid.ax.rc > L: xvid.ax > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: > /cygdrive/d/dx90/Samples/C++/DirectShow/BaseClasses/strmbase.lib(cprop.o): > warning: duplicate section `.rdata$_ZTI17CBasePropertyPage[typeinfo for > CBasePropertyPage]' has different size > > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: > /cygdrive/d/dx90/Samples/C++/DirectShow/BaseClasses/strmbase.lib(cprop.o): > warning: duplicate section `.rdata$_ZTI8CUnknown[typeinfo for CUnknown]' has > different size > > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: > /cygdrive/d/dx90/Samples/C++/DirectShow/BaseClasses/strmbase.lib(combase.o): > warning: duplicate section `.rdata$_ZTI8CUnknown[typeinfo for CUnknown]' has > different size > > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: > /cygdrive/d/dx90/Samples/C++/DirectShow/BaseClasses/strmbase.lib(amfilter.o): > warning: duplicate section `.rdata$_ZTI8CUnknown[typeinfo for CUnknown]' has > different size > > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: > /cygdrive/d/dx90/Samples/C++/DirectShow/BaseClasses/strmbase.lib(transfrm.o): > warning: duplicate section `.rdata$_ZTI8CUnknown[typeinfo for CUnknown]' has > different size > > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: > /cygdrive/d/dx90/Samples/C++/DirectShow/BaseClasses/strmbase.lib(vtrans.o): > warning: duplicate section `.rdata$_ZTI8CUnknown[typeinfo for CUnknown]' has > different size > > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: > /cygdrive/d/dx90/Samples/C++/DirectShow/BaseClasses/strmbase.lib(videoctl.o): > warning: duplicate section `.rdata$_ZTI8CUnknown[typeinfo for CUnknown]' has > different size > > Creating library file: xvid.ax.a > > > Thanks again, > -Brendan >