Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Variable GST_VERSION is not defined.
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Variable GST_VERSION is not defined.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 3.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zola
    wrote on last edited by Zola
    #1

    I am trying to build multimedia package with i386 qmake from qt-opensource-linux-x86-5.5.1.run on Ubuntu 14.04.3 and I get the following error:

    Variable GST_VERSION is not defined.

    libgstreamer packages are installed on Ubuntu, but still getting that error.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Did you install the development packages for GStreamer?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zola
        wrote on last edited by
        #3

        yes @jsulm, with command: sudo apt-get install gstreamer*

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zola
          wrote on last edited by Zola
          #4

          I passed that error with running qmake:

          /usr/local/Qt-5.5.0/bin/qmake GST_VERSION=1.0

          but now I am getting following error:

          qgstreameraudioinputselector.cpp:42:28: fatal error: alsa/asoundlib.h: No such file or directory
          #include <alsa/asoundlib.h>
          ^
          compilation terminated.
          make[2]: *** [.obj/qgstreameraudioinputselector.o] Error 1
          make[2]: Leaving directory /home/ubuntu/Qt5.5.1/5.5/Src/qtmultimedia/src/gsttools' make[1]: *** [sub-gsttools-make_first] Error 2 make[1]: Leaving directory /home/ubuntu/Qt5.5.1/5.5/Src/qtmultimedia/src'
          make: *** [sub-src-make_first] Error 2

          1 Reply Last reply
          0
          • jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            You need alsa developer package - probably libasound2-dev

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            Z 1 Reply Last reply
            0
            • jsulmJ jsulm

              You need alsa developer package - probably libasound2-dev

              Z Offline
              Z Offline
              Zola
              wrote on last edited by
              #6

              @Zola said:

              alsa/asoundlib.h: No such file or directory

              Yes @jsulm

              QtMultimedia package depends in this situation on two packages, so solution will be:

              sudo apt-get install gstreamer* libasound2-dev

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved