Ziti sdk-c compilation issues

Hi all. I'm trying to import ziti-sdk-c into a flutter project for windows in the way described in BUILD.md , when I build project in debug mode the error below are thrown

Build started at 9:19 AM...
1>------ Build started: Project: flutter_assemble, Configuration: Debug x64 ------
1>Generating C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/flutter_windows.dll, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/flutter_export.h, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/flutter_windows.h, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/flutter_messenger.h, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/flutter_plugin_registrar.h, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/flutter_texture_registrar.h, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, C:/Users/icristea/AndroidStudioProjects/ziti_test_1/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_
2>------ Build started: Project: ziti_test_1, Configuration: Debug x64 ------
2>   Creating library C:/Users/icristea/AndroidStudioProjects/ziti_test_1/build/windows/x64/runner/Debug/ziti_test_1.lib and object C:/Users/icristea/AndroidStudioProjects/ziti_test_1/build/windows/x64/runner/Debug/ziti_test_1.exp
2>LINK : warning LNK4217: symbol 'uv_link_init' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(http.obj)' in function 'make_links'
2>LINK : warning LNK4286: symbol 'uv_link_init' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(tls_link.obj)'
2>LINK : warning LNK4217: symbol 'uv_link_close' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(http.obj)' in function 'close_connection'
2>LINK : warning LNK4217: symbol 'uv_link_chain' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(http.obj)' in function 'make_links'
2>LINK : warning LNK4217: symbol 'uv_link_propagate_alloc_cb' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(defaults.obj)' in function 'uv_link_default_alloc_cb_override'
2>LINK : warning LNK4286: symbol 'uv_link_propagate_alloc_cb' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(tls_link.obj)'
2>LINK : warning LNK4217: symbol 'uv_link_propagate_read_cb' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(defaults.obj)' in function 'uv_link_default_read_cb_override'
2>LINK : warning LNK4286: symbol 'uv_link_propagate_read_cb' defined in 'tlsuv.lib(uv_link_t.obj)' is imported by 'tlsuv.lib(tls_link.obj)'
2>tlsuv.lib(tcp_src.obj) : error LNK2019: unresolved external symbol __imp_uv_link_source_init referenced in function tcp_connect_cb
2>C:\Users\icristea\AndroidStudioProjects\ziti_test_1\build\windows\x64\runner\Debug\ziti_test_1.exe : fatal error LNK1120: 1 unresolved externals
2>Done building project "ziti_test_1.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
========== Build completed at 9:19 AM and took 07.540 seconds ==========

@Icristea welcome to OpenZiti forums, and thanks for trying our C-sdk.

It seems that you're building it as part of a flutter project. Do you get the same results if you build it standalone?

@ekoby No, I encounter this issue after I include ziti/zitilib.h and call Ziti_lib_init() in main.cpp. If you asking about build c sdk itself then I do this without problems on windows PC.

is there any chance you can share your project so I can try it myself?

Repository with the code where issue can be reproduced.