Alway see this error: 'glib:default' is already set as default. is_default can be set to true only once
i am keep getting this error when trying to compile the latest library, any suggestion will be appreciated.
-----------
env[PKG_CONFIG_PATH]:
Called `/usr/bin/pkg-config --cflags gstreamer-gl-1.0` -> 0
stdout:
-pthread -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-----------
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called `/usr/bin/pkg-config --libs gstreamer-gl-1.0` -> 0
stdout:
-L/usr/lib/x86_64-linux-gnu -lgstgl-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
-----------
env[PKG_CONFIG_PATH]:
Called `/usr/bin/pkg-config --libs gstreamer-gl-1.0` -> 0
stdout:
-lgstgl-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
-----------
Run-time dependency gstreamer-gl-1.0 found: YES 1.18.5
Program ../build-aux/meson/gen-demo-header.py found: YES (/home/chchia/gtk/demos/../build-aux/meson/gen-demo-header.py)
Program glib-compile-resources found: YES (overridden)
Pkg-config binary for 1 is cached.
Determining dependency 'librsvg-2.0' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called `/usr/bin/pkg-config --modversion librsvg-2.0` -> 1
stderr:
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `librsvg-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librsvg-2.0' found
-----------
CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
Run-time dependency librsvg-2.0 found: NO (tried pkgconfig and cmake)
Program geninclude.py found: YES (/home/chchia/gtk/demos/gtk-demo/geninclude.py)
Program glib-compile-schemas found: YES (overridden)
Configuring org.gtk.Demo4.appdata.xml using configuration
Program glib-compile-resources found: YES (overridden)
Configuring org.gtk.IconBrowser4.appdata.xml using configuration
Program glib-compile-resources found: YES (overridden)
Configuring org.gtk.gtk4.NodeEditor.appdata.xml using configuration
Configuring org.gtk.WidgetFactory4.appdata.xml using configuration
testsuite/meson.build:48:4: ERROR: 'glib:default' is already set as default. is_default can be set to true only once
Edited by VC CHIA