1.19 build fails on VS 2017 x64 - Unresolved external symbol cairo_surface_write_to_png
Build command: meson build --prefix=%GSTREAMER_1_0_ROOT_X86_64% && ninja -C build install
Below is the log:
flow_formatting.c.obj : warning LNK4049: locally defined symbol gst_validate_utils_get_strv imported
validate.c.obj : warning LNK4049: locally defined symbol gst_validate_utils_get_strv imported
flow_gstvalidateflow.c.obj : warning LNK4217: locally defined symbol gst_validate_has_colored_output imported in function run_diff
validate.c.obj : warning LNK4217: locally defined symbol gst_validate_report_init imported in function gst_validate_init
validate.c.obj : warning LNK4217: locally defined symbol gst_validate_scenario_deinit imported in function gst_validate_deinit
validate.c.obj : warning LNK4217: locally defined symbol gst_validate_override_registry_preload imported in function gst_validate_init
[7264/7411] Linking target subprojects/gst-devtools/validate/plugins/gapplication/gstvalidategapplication.dll
Creating library subprojects\\gst-devtools\\validate\\plugins\\gapplication\\gstvalidategapplication.lib and object subprojects\\gst-devtools\\validate\\plugins\\gapplication\\gstvalidategapplication.exp
[7266/7411] 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 @subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim.dll.rsp
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
[7270/7411] Compiling C object subprojects/glib-networking/tls/openssl/5bbe7e7@@gioopenssl@sha/openssl-util.c.obj
ninja: build stopped: subcommand failed.
Please find the attached meson log.meson-log.txt
Edited by Nirbheek Chauhan