Meson build failing(not completing) on windows server 2019
Moiz
moiz at playpixel.app
Wed Oct 14 04:48:39 UTC 2020
I am using gst-build repo to build gstreamer using meson and ninja
Most of it builds successfully however it doesn't complete the build, and as
a result of this I am missing some plugins.
After running ninja -C builddir, my build fails with the following errors
[7/101] Linking target
subprojects/gst-devtools/validate/tools/gst-validate-images-check-1.0.exe
FAILED:
subprojects/gst-devtools/validate/tools/gst-validate-images-check-1.0.exe
subprojects/gst-devtools/validate/tools/gst-validate-images-check-1.0.pdb
"link" /MACHINE:x86
/OUT:subprojects/gst-devtools/validate/tools/gst-validate-images-check-1.0.exe
subprojects/gst-devtools/validate/tools/gst-validate-images-check-1.0.exe.p/gst-validate-images-check.c.obj
"/nologo" "/release" "/nologo" "/DEBUG"
"/PDB:subprojects\gst-devtools\validate\tools\gst-validate-images-check-1.0.pdb"
"subprojects\gst-devtools\validate\gst-libs\gst\video\libgstvalidatevideo.a"
"subprojects\gstreamer\gst\gstreamer-1.0.lib"
"subprojects\glib\glib\glib-2.0.lib" "subprojects\proxy-libintl\intl.lib"
"subprojects\glib\gobject\gobject-2.0.lib"
"subprojects\glib\gmodule\gmodule-2.0.lib"
"subprojects\gst-plugins-base\gst-libs\gst\video\gstvideo-1.0.lib"
"subprojects\gstreamer\libs\gst\base\gstbase-1.0.lib"
"subprojects\orc\orc\orc-0.4.lib"
"subprojects\gst-plugins-base\gst-libs\gst\pbutils\gstpbutils-1.0.lib"
"subprojects\gst-plugins-base\gst-libs\gst\audio\gstaudio-1.0.lib"
"subprojects\gst-plugins-base\gst-libs\gst\tag\gsttag-1.0.lib"
"subprojects\zlib\z.lib" "subprojects\cairo\src\cairo.lib"
"subprojects\glib\gio\gio-2.0.lib"
"subprojects\gst-devtools\validate\gst\validate\gstvalidate-1.0.lib"
"subprojects\gstreamer\libs\gst\check\gstcheck-1.0.lib"
"subprojects\gstreamer\libs\gst\controller\gstcontroller-1.0.lib"
"subprojects\json-glib\json-glib\json-glib-1.0.lib" "/SUBSYSTEM:CONSOLE"
"kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "shell32.lib"
"ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib" "advapi32.lib"
libgstvalidatevideo.a(gstvalidatessim.c.obj) : error LNK2019: unresolved
external symbol _cairo_surface_write_to_png referenced in function
_gst_validate_ssim_save_out
libgstvalidatevideo.a(gstvalidatessim.c.obj) : error LNK2019: unresolved
external symbol _cairo_image_surface_create_from_png referenced in function
_gst_validate_ssim_get_frame_from_png
subprojects/gst-devtools/validate/tools/gst-validate-images-check-1.0.exe :
fatal error LNK1120: 2 unresolved externals
[8/101] Linking target
subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim.dll
FAILED: subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim.dll
subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim.pdb
"link" /MACHINE:x86
/OUT:subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim.dll
subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim.dll.p/gstvalidatessim.c.obj
"/nologo" "/release" "/nologo" "/DEBUG"
"/PDB:subprojects\gst-devtools\validate\plugins\ssim\gstvalidatessim.pdb"
"/DLL"
"/IMPLIB:subprojects\gst-devtools\validate\plugins\ssim\gstvalidatessim.lib"
"subprojects\gst-devtools\validate\gst-libs\gst\video\libgstvalidatevideo.a"
"subprojects\gstreamer\gst\gstreamer-1.0.lib"
"subprojects\glib\glib\glib-2.0.lib" "subprojects\proxy-libintl\intl.lib"
"subprojects\glib\gobject\gobject-2.0.lib"
"subprojects\glib\gmodule\gmodule-2.0.lib"
"subprojects\gst-plugins-base\gst-libs\gst\video\gstvideo-1.0.lib"
"subprojects\gstreamer\libs\gst\base\gstbase-1.0.lib"
"subprojects\orc\orc\orc-0.4.lib"
"subprojects\gst-plugins-base\gst-libs\gst\pbutils\gstpbutils-1.0.lib"
"subprojects\gst-plugins-base\gst-libs\gst\audio\gstaudio-1.0.lib"
"subprojects\gst-plugins-base\gst-libs\gst\tag\gsttag-1.0.lib"
"subprojects\zlib\z.lib" "subprojects\cairo\src\cairo.lib"
"subprojects\glib\gio\gio-2.0.lib"
"subprojects\gst-devtools\validate\gst\validate\gstvalidate-1.0.lib"
"kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "shell32.lib"
"ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib" "advapi32.lib"
Creating library
subprojects\gst-devtools\validate\plugins\ssim\gstvalidatessim.lib and
object subprojects\gst-devtools\validate\plugins\ssim\gstvalidatessim.exp
gstvalidatessim.c.obj : error LNK2019: unresolved external symbol
_cairo_surface_write_to_png referenced in function __save_frame
libgstvalidatevideo.a(gstvalidatessim.c.obj) : error LNK2001: unresolved
external symbol _cairo_surface_write_to_png
libgstvalidatevideo.a(gstvalidatessim.c.obj) : error LNK2019: unresolved
external symbol _cairo_image_surface_create_from_png referenced in function
_gst_validate_ssim_get_frame_from_png
subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim.dll : fatal
error LNK1120: 2 unresolved externals
[12/101] Compiling C object
subprojects/gst-editing-services/ges/ges-1.0-0.dll.p/ges-audio-uri-source.c.obj
ninja: build stopped: subcommand failed.
As a result of this I am missing base plugins such as vorbis enc
When I run python gst-env.py, then gst-inspect-1.0 vorbisenc I get
no such element vorbisenc
Is there any issues with my build, I have python3.9, tried with visual
studio community 2017 and 2019, ninja 1.10, meson 0.55, Built using meson
builddir & ninja -C builddir
I am also on windows server 2019
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list