AW: gst-bad qmlglsink and Windows

Tim Müller tim at centricular.com
Thu Sep 7 09:17:42 UTC 2017


On Thu, 2017-09-07 at 07:00 +0000, Weber, Holger wrote:

Hi Holger,

> Building doesn’t work I get a compiler error which has something to
> doe with GST_PLUGIN_DEFINE. I used qtcreator which is included in
> msys.
>  
> C:/msys64/mingw32/bin/mingw32-make -f Makefile.Debug
> mingw32-make[1]: Entering directory 'C:/msys64/home/nice.guy/gst-
> plugins-bad/ext/build-qtplugin-telerob-Debug'
> g++ -c -fno-keep-inline-dllexport -march=i686 -mtune=core2 -Wa,-mbig-
> obj -pipe -g -pthread -mms-bitfields -pthread -mms-bitfields -pthread
> -mms-bitfields -Wextra -Wall -W -fexceptions -mthreads -DUNICODE
> -DGST_USE_UNSTABLE_API -DHAVE_QT_WIN32 -DGST_PACKAGE_NAME="GStreamer
> Bad Plug-ins (qmake)" -DGST_PACKAGE_ORIGIN="Unknown package origin"
> -DGST_LICENSE="LGPL" -DPACKAGE="gst-plugins-bad (qmake)"
> -DPACKAGE_VERSION="1.9.0.1" -DQT_QML_DEBUG ...
>                  from ../qt/gstplugin.cc:25:
> <command-line>:0:17: error: too many decimal points in number
> ../qt/gstplugin.cc:51:18: note: in expansion of macro
> 'PACKAGE_VERSION'
>      plugin_init, PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME,
                  ^
I can reproduce that on Linux. It looks like a quoting issue.

I've pushed a quick fix here:

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=fcf8b
6bb908ea32073fce3b355f6cc89a67bc52c

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/


More information about the gstreamer-devel mailing list