Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-good gst-plugins-good
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 71
    • Merge requests 71
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-goodgst-plugins-good
  • Issues
  • #908
Closed
Open
Issue created Jul 22, 2021 by Kenny Chour@Kchour

qt: Build fails on Ubuntu 18.04: 'size' was not declared in this scope

Currently trying to build the master branch. However, the compilation stops with the following: meson-log.txt

...
../subprojects/gst-plugins-good/ext/qt/qtitem.cc: In member function ‘void QtGLVideoItem::fitStreamToAllocatedSize(GstVideoRectangle*)’:
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:332:13: error: ‘size’ was not declared in this scope
     dst.w = size().width();
             ^~~~
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:332:13: note: suggested alternative: ‘gsize’
     dst.w = size().width();
             ^~~~
             gsize
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:339:17: error: ‘size’ was not declared in this scope
     result->w = size().width();
                 ^~~~
../subprojects/gst-plugins-good/ext/qt/qtitem.cc:339:17: note: suggested alternative: ‘gsize’
     result->w = size().width();
                 ^~~~
                 gsize
[2292/4257] Compiling C++ object subprojects/gst-plugins-good/ext/qt/libgstqmlgl.so.p/qtglrenderer.cc.o
ninja: build stopped: subcommand failed.

Also attached a meson-log.txt; Hope that will help.

Edited Jul 22, 2021 by Tim-Philipp Müller
Assignee
Assign to
Time tracking