in reply to Getting Wx::MediaCtrl working on 10.10 Maverick Meerkat

http://wiki.wxwidgets.org/WxMediaCtrl
To build wxWidgets with wxMediaCtrl enabled on linux (gstreamer 0.10) libgconf2-dev and libgstreamer0.10-dev are required.
  • Comment on Re: Getting Wx::MediaCtrl working on 10.10 Maverick Meerkat

Replies are listed 'Best First'.
Re^2: Getting Wx::MediaCtrl working on 10.10 Maverick Meerkat
by Steve_BZ (Chaplain) on Jan 11, 2011 at 20:38 UTC

    Hi Anon,

    Well spotted. libgconf2-dev was not installed, so I'm installing and re-running now. I'll update this post when it completes.

    Update: No change. Wx::MediaCtrl still not installed

    Regards

    Steve

      What is in cpp\setup.h? Maybe try perl Makefile.PL --enable-media

        Hi Anon,

        Well I tried both.

        The setup.h file contained:

        // // GENERATED BY Makefile.PL, DO NOT EDIT // #ifndef __CPP_SETUP_H__ #define __CPP_SETUP_H__ #define wxPERL_USE_AUI 1 #define wxPERL_USE_CALENDAR 1 #define wxPERL_USE_DATAVIEW 1 #define wxPERL_USE_DATETIME 1 #define wxPERL_USE_DND 1 #define wxPERL_USE_DOCVIEW 1 #define wxPERL_USE_FILESYS 1 #define wxPERL_USE_GRID 1 #define wxPERL_USE_HELP 1 #define wxPERL_USE_HTML 1 #define wxPERL_USE_MDI 1 #define wxPERL_USE_MEDIA 1 #define wxPERL_USE_PRINT 1 #define wxPERL_USE_RICHTEXT 1 #define wxPERL_USE_SOCKET 1 #define wxPERL_USE_STC 1 #define wxPERL_USE_XRC 1 #endif // __CPP_SETUP_H__
        Which I guess was as expected. And the command:
        perl Makefile.PL --enable-media

        Made no difference.

        The only thing I'd add at this point, is that my 10.4 installation is full of directories called:

        ... /auto/Wx/Media
        Which have two files in them:
        Media.bs Media.so

        These don't appear in the 10.10 build.

        I guess these are created as part of the installation process, but I don't know where to intervene to have them created. Any ideas?

        Update: Well they are created during 'make'. I've re-run the 10.4 'make' on my 10.4 machine and I get:

        make[2]: Entering directory `/home/steve/wxPerl/trunk/ext/media' Skip ../../blib/lib/Wx/Media.pm (unchanged) g++ -pthread -c -I. -I../.. -I/usr/lib/wx/include/gtk2-unicode-rele +ase-2.8 -I/usr/include/wx-2.8 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -f +no-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LA +RGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.01\" -DX +S_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl/5.10/CORE" -DWXPL_EXT -D_F +ILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ Media.c Running Mkbootstrap for Wx::Media () chmod 644 Media.bs rm -f ../../blib/arch/auto/Wx/Media/Media.so g++ -shared -fPIC -shared -O2 -g -L/usr/local/lib -fstack-protector + Media.o -o ../../blib/arch/auto/Wx/Media/Media.so \ -lpthread -lwx_gtk2u_media-2.8 -lwx_gtk2u_core-2.8 -lwx_bas +eu-2.8 \ chmod 755 ../../blib/arch/auto/Wx/Media/Media.so cp Media.bs ../../blib/arch/auto/Wx/Media/Media.bs chmod 644 ../../blib/arch/auto/Wx/Media/Media.bs make[2]: Leaving directory `/home/steve/wxPerl/trunk/ext/media'

        This doesn't appear on my 10.10 machine.

        Regards

        Steve