Hello I have a problem compiling with sample codes. The error is in red color text.
Thank you for your reply in advance. 1. error message jts@jts:~/gst-examples/playback/player/gst-play$ meson builddir The Meson build system Version: 0.29.0 Source dir: /home/jts/gst-examples/playback/player/gst-play Build dir: /home/jts/gst-examples/playback/player/gst-play/builddir Build type: native build Build machine cpu family: x86_64 Build machine cpu: x86_64 Project name: gst-player Native c compiler: cc (gcc 5.4.0-6ubuntu1) Found pkg-config: /usr/bin/pkg-config (0.29.1) Native dependency gstreamer-1.0 found: YES 1.8.3 Native dependency gstreamer-player-1.0 found: YES 1.8.3 Meson encountered an error in file meson.build, line 6, column 0: Unknown method "find_library" in object. 2. file: meson.build jts@jts:~/gst-examples/playback/player/gst-play$ cat *.build project ('gst-player','c') => I append this gst_dep = dependency('gstreamer-1.0') gstplayer_dep = dependency('gstreamer-player-1.0', version: '>= 1.7.1.1') cc = meson.get_compiler('c') m_dep = cc.find_library('m', required : true) executable('gst-play', ['gst-play.c', 'gst-play-kb.c', 'gst-play-kb.h'], dependencies : [gst_dep, gstplayer_dep, m_dep]) _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fri, Jun 9, 2017 at 3:43 PM, 박민호 <[hidden email]> wrote:
> Hello I have a problem compiling with sample codes. The error is in red > color text. > Thank you for your reply in advance. > > 1. error message > jts@jts:~/gst-examples/playback/player/gst-play$ meson builddir > The Meson build system > Version: 0.29.0 Your version of Meson is too old. Please update to the latest version (0.40.1). You can get this via `pip3 --user` (which will install in ~/local/.bin) or you can clone the git repository, checkout the 0.40.1 tag, and run ./meson.py (you can also symlink it into ~/.local/bin/ or something). > Source dir: /home/jts/gst-examples/playback/player/gst-play > Build dir: /home/jts/gst-examples/playback/player/gst-play/builddir > Build type: native build > Build machine cpu family: x86_64 > Build machine cpu: x86_64 > Project name: gst-player > Native c compiler: cc (gcc 5.4.0-6ubuntu1) > Found pkg-config: /usr/bin/pkg-config (0.29.1) > Native dependency gstreamer-1.0 found: YES 1.8.3 > Native dependency gstreamer-player-1.0 found: YES 1.8.3 > > Meson encountered an error in file meson.build, line 6, column 0: > Unknown method "find_library" in object. > > 2. file: meson.build > > jts@jts:~/gst-examples/playback/player/gst-play$ cat *.build > project ('gst-player','c') => I append this > gst_dep = dependency('gstreamer-1.0') > gstplayer_dep = dependency('gstreamer-player-1.0', version: '>= 1.7.1.1') > > cc = meson.get_compiler('c') > m_dep = cc.find_library('m', required : true) > > executable('gst-play', > ['gst-play.c', > 'gst-play-kb.c', > 'gst-play-kb.h'], > dependencies : [gst_dep, gstplayer_dep, m_dep]) > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |