Re: DShow Build Issues

Brendan Brewster <[email protected]> Fri, 25 Feb 2011 15:36:13 -0500
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
Hi Michael,

Well thank you, that last hint to rebuild the strmbase.lib with my current
tool chain (including the header mod) ended up working like a charm!

Thank you for all your help, it was greatly appreciated :)

Thanks,
-Brendan

On Fri, Feb 25, 2011 at 3:14 PM, Michael Militzer <[email protected]> wrote:

> 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
> >
>
>
> _______________________________________________
> Xvid-devel mailing list
> [email protected]
> http://list.xvid.org/mailman/listinfo/xvid-devel
>