Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 666
    • Issues 666
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 344
    • Merge requests 344
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamergstreamer
  • Issues
  • #944

Closed
Open
Created Jan 07, 2022 by Tim Autin@autintim

Ubuntu 16.04 / GStreamer 1.19 compilation fails

Hello,

I'm trying to compile the latest version on Ubuntu 16.04. Here are the steps I followed:

git clone https://gitlab.freedesktop.org/gstreamer/gstreamer.git
cd gstreamer
export QMAKE='/path/to/Qt/5.12.3/gcc_64/bin/qmake'
meson build
ninja -C build

I get the following error:

../subprojects/gst-plugins-good/ext/qt/gstqtglutility.h:33:27: error: 'function' in namespace 'std' does not name a template type

Adding a #include <functional> fixes this error but then I get this one:

../subprojects/gst-plugins-good/ext/qt/gstqtglutility.cc:358:39:   required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:693:47: error: static assertion failed:
Type is not registered, please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system
 #define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)

My G++ version is 7.4.0, so C++14 is supported.

What's wrong?

Edited Jan 07, 2022 by Tim Autin
Assignee
Assign to
Time tracking