Re: how to build wx-3.0.3 using GStreamer 1.0
Matthew Newville <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Monday, May 1, 2017 at 2:25:52 AM UTC-5, Cece Hedrick wrote:
>
> I've noticied both on the projects github page and here in the Google
> group that there is a way to build this project using GStreamer 1.0
>
> Here is how I'm attempting to build the project
>
> python2 build.py clean
> python2 build.py build
>
> What do I need to add to these command line commands to feed in
> GST_VERSION_MAJOR=1 GST_VERSION_MINOR=0?
>
>
> I tried hacking the configuration.in and was unsuccessful ..... It is
> time to ask for help from the experts
>
I am by no means an expert, but on one machine (running Fedora 24), I found
that I had to install the gstreamer1-devel and
gstreamer1-plugins-base-devel packages in addition to several others known
to be needed for building wxPython (webkigtk-devel freeglut-devel
libnotify-devel libtiff-devel libjpeg-devel SDL-devel).
With these and the gstreamer devel packages all installed, you need to set
GST environmental variables:
export GST_LIBS=`pkg-config gstreamer-1.0 --libs`
export GST_CFLAGS=`pkg-config gstreamer-1.0 --cflags`
and then follow the "normal build" of
python build.py dox etg --nodoc sip build build_py
python setup.py install
This worked and installed for me, I have tested a few non-trivial apps, but
have not tested this thoroughly.
Hope that helps,
--Matt
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.