Re: Error compiling Gstreamermm for MinGW32/64



On Wed, 2012-08-15 at 23:42 -0400, José Alburquerque wrote:
> On Tue, 2012-08-14 at 22:22 +0200, Dos Santos, Oliveira wrote:
> > Hi everybody,
> > 
> >  
> > 
> > I need some help to compile gstreamermm-0.10.10 for MinGW32/64. I’m on
> > Fedora 17 – x86_64 – with kernel 3.5.1-1.
> > 
> >  
> > 
> > I followed the usual way to compile for MinGW; 
> > 
> >  
> > 
> > I fix some errors before this one ( in wrap.cc ) but this... i don’t
> > know how to correct that... I try some stuff without success
> > especially with pkgconfig path.
> > 
> Could you say (or provide a patch for) what you fixed?
> 
> >  
> > 
> > >mingw32-configure (with and without the pkgconfig path)
> > 
> > >make... and error ...
> > 
> >  
> > 
> > That’s my output (the interesting part, I can provide the output of
> > the configure part)
> > 
> >  
> > 
> > make: *** [all] Error 2
> > 
> > depbase=`echo media_player_gtkmm/player_window.o | sed 's|[^/]*
> > $|.deps/&|;s|\.o$||'`;\
> > 
> > i686-w64-mingw32-g++ -DHAVE_CONFIG_H   -I.. -I../gstreamer
> > -mms-bitfields
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/giomm-2.4
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/giomm-2.4/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/glibmm-2.4
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/glibmm-2.4/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/sigc++-2.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/sigc++-2.0/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml++-2.6
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/libxml++-2.6/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/gstreamer-0.10
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/gtkmm-3.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/gtkmm-3.0/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/atkmm-1.6
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/pangomm-1.4
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/pangomm-1.4/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/cairomm-1.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/cairomm-1.0/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/gdk-pixbuf-2.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/gdkmm-3.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/lib/gdkmm-3.0/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/atk-1.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
> > -I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng15    -Wall -O2
> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> > --param=ssp-buffer-size=4 -MT media_player_gtkmm/player_window.o -MD
> > -MP -MF $depbase.Tpo -c -o media_player_gtkmm/player_window.o
> > media_player_gtkmm/player_window.cc &&\
> > 
> > mv -f $depbase.Tpo $depbase.Po
> > 
> > media_player_gtkmm/player_window.cc:27:22: fatal error: gdk/gdkx.h: No
> > such file or directory
> > 
> > compilation terminated.
> > 
> > make[2]: *** [media_player_gtkmm/player_window.o] Error 1
> > 
> > make[2]: Leaving directory
> > `/home/dossantos/App/gstreamermm-0.10.10/examples'
> > 
> > make[1]: *** [all-recursive] Error 1
> > 
> > make[1]: Leaving directory `/home/dossantos/App/gstreamermm-0.10.10'
> > 
> > make: *** [all] Error 2
> > 
> >  
> > 
> >  
> > 
> > Anyone has an idea ? Just a tips to try again :P
> 
> The problem is that the media player example was written mostly for the
> Linux platform because that is the main platform for which gstreamermm
> has been developed.
> 
> I tweaked the example a little and maybe it can compile under windows
> with the tweaks.
> 
> Could you try the attached patch and see if it helps?

I've pushed the suggested patch to the master branch of gstreamermm
since it doesn't break the example for linux.  Maybe later it can be
tested to ensure that it makes compiling for MinGW possible.  Thanks for
pointing out the problem.

> > 
> >  
> > 
> > Thanks
> > 
> >  
> > 
> > DSO
> > 
> > 
> > ______________________________________________________________________
> > 
> > **************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. 
> > If you have received this email in error, please notify the system
> > manager. This footnote also confirms that this email message has been
> > swept by the mailgateway
> > **************************************************
> > 
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > https://mail.gnome.org/mailman/listinfo/gtkmm-list
> 

-- 
José



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]