Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support windows #4

Open
LucioFranco opened this issue May 25, 2022 · 4 comments
Open

Support windows #4

LucioFranco opened this issue May 25, 2022 · 4 comments

Comments

@LucioFranco
Copy link
Contributor

protobuf-src should support windows by building via cmake. While on unix it can continue to use autotools.

cc @benesch

@patrickkuo
Copy link

Hi Team, are there plan to support windows anytime soon?

@benesch
Copy link
Member

benesch commented May 13, 2024

I believe this was likely fixed by 36ae20e. Someone with a Windows machine will have to check, though.

@andrepaul
Copy link

I believe this was likely fixed by 36ae20e. Someone with a Windows machine will have to check, though.

At least it doesn't build for me. Following the log if its of any help. Tons of LNK4286 and LNK4217 warnings but also many Errors LNK2019 LNK2038 LNK2001

C:\rust-protobuf-native>cargo build
Compiling protobuf-src v2.1.0+27.1 (C:\rust-protobuf-native\protobuf-src)
error: failed to run custom build command for protobuf-src v2.1.0+27.1 (C:\rust-protobuf-native\protobuf-src)

Caused by:
process didn't exit successfully: C:\rust-protobuf-native\target\debug\build\protobuf-src-2da5a3899ba87760\build-script-build (exit code: 101)
--- stdout
CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-msvc = None
CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_msvc = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-pc-windows-msvc = None
CMAKE_GENERATOR_x86_64_pc_windows_msvc = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-pc-windows-msvc = None
CMAKE_PREFIX_PATH_x86_64_pc_windows_msvc = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-pc-windows-msvc = None
CMAKE_x86_64_pc_windows_msvc = None
HOST_CMAKE = None
CMAKE = None
running: "cmake" "C:\rust-protobuf-native\protobuf-src\protobuf" "-G" "Visual Studio 17 2022" "-Thost=x64" "-Ax64" "-DABSL_PROPAGATE_CXX_STD=ON" "-Dprotobuf_BUILD_TESTS=OFF" "-Dprotobuf_DEBUG_POSTFIX=" "-DCMAKE_CXX_STANDARD=14" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_PREFIX=C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_BUILD_TYPE=Debug"

-- 27.2.0
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Configuring done (0.8s)
-- Generating done (3.4s)
-- Build files have been written to: C:/rust-protobuf-native/target/debug/build/protobuf-src-834783d995f2013a/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Debug" "--parallel" "16"
MSBuild-Version 17.10.4+10fbfbf2e für .NET Framework

1>Checking Build System
int128.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\numeric\Debug\absl_int128.lib
civil_time.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\time\Debug\absl_civil_time.lib
spinlock_wait.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_spinlock_wait.lib
exponential_biased.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\profiling\Debug\absl_exponential_biased.lib
utf8_for_code_point.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_utf8_for_code_point.lib
time_zone.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\time\Debug\absl_time_zone.lib
flags_commandlineflag_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_commandlineflag_internal.lib
log_severity.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_log_severity.lib
leak_check.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_leak_check.lib
strerror.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_strerror.lib
log_internal_nullguard.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_nullguard.lib
decode_rust_punycode.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_decode_rust_punycode.lib
random_internal_platform.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_platform.lib
random_seed_gen_exception.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_seed_gen_exception.lib
utf8_range.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\utf8_range\Debug\utf8_range.lib
demangle_rust.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_demangle_rust.lib
raw_logging_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_raw_logging_internal.lib
random_internal_randen_slow.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_randen_slow.lib
periodic_sampler.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\profiling\Debug\absl_periodic_sampler.lib
random_internal_randen_hwaes_impl.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_randen_hwaes_impl.lib
Building Custom Rule C:/rust-protobuf-native/protobuf-src/protobuf/CMakeLists.txt
random_internal_randen_hwaes.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_randen_hwaes.lib
demangle_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_demangle_internal.lib
bad_any_cast_impl.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\types\Debug\absl_bad_any_cast_impl.lib
throw_delegate.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_throw_delegate.lib
scoped_set_env.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_scoped_set_env.lib
bad_variant_access.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\types\Debug\absl_bad_variant_access.lib
bad_optional_access.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\types\Debug\absl_bad_optional_access.lib
cordz_functions.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_cordz_functions.lib
base.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_base.lib
debugging_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_debugging_internal.lib
random_internal_randen.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_randen.lib
stacktrace.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_stacktrace.lib
libupb.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\Debug\libupb.lib
malloc_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_malloc_internal.lib
crc_cpu_detect.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\crc\Debug\absl_crc_cpu_detect.lib
log_internal_conditions.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_conditions.lib
strings_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_strings_internal.lib
city.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\hash\Debug\absl_city.lib
low_level_hash.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\hash\Debug\absl_low_level_hash.lib
string_view.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_string_view.lib
poison.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\base\Debug\absl_poison.lib
graphcycles_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\synchronization\Debug\absl_graphcycles_internal.lib
crc_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\crc\Debug\absl_crc_internal.lib
strings.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_strings.lib
log_internal_proto.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_proto.lib
log_internal_fnmatch.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_fnmatch.lib
random_distributions.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_distributions.lib
utf8_validity.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\utf8_range\Debug\utf8_validity.lib
str_format_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_str_format_internal.lib
symbolize.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_symbolize.lib
random_internal_seed_material.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_seed_material.lib
hash.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\hash\Debug\absl_hash.lib
time.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\time\Debug\absl_time.lib
flags_marshalling.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_marshalling.lib
random_internal_distribution_test_util.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_distribution_test_util.lib
flags_commandlineflag.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_commandlineflag.lib
kernel_timeout_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\synchronization\Debug\absl_kernel_timeout_internal.lib
log_internal_globals.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_globals.lib
examine_stack.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_examine_stack.lib
log_entry.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_entry.lib
flags_private_handle_accessor.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_private_handle_accessor.lib
log_internal_format.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_format.lib
random_internal_pool_urbg.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_internal_pool_urbg.lib
synchronization.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\synchronization\Debug\absl_synchronization.lib
crc32c.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\crc\Debug\absl_crc32c.lib
log_sink.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_sink.lib
failure_signal_handler.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\debugging\Debug\absl_failure_signal_handler.lib
crc_cord_state.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\crc\Debug\absl_crc_cord_state.lib
random_seed_sequences.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\random\Debug\absl_random_seed_sequences.lib
cordz_handle.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_cordz_handle.lib
hashtablez_sampler.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\container\Debug\absl_hashtablez_sampler.lib
cord_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_cord_internal.lib
vlog_config_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_vlog_config_internal.lib
flags_program_name.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_program_name.lib
raw_hash_set.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\container\Debug\absl_raw_hash_set.lib
cordz_info.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_cordz_info.lib
log_globals.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_globals.lib
flags_config.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_config.lib
cord.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_cord.lib
cordz_sample_token.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\strings\Debug\absl_cordz_sample_token.lib
log_initialize.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_initialize.lib
flags_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_internal.lib
log_internal_log_sink_set.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_log_sink_set.lib
status.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\status\Debug\absl_status.lib
flags_reflection.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_reflection.lib
statusor.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\status\Debug\absl_statusor.lib
log_internal_message.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_message.lib
flags_usage_internal.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_usage_internal.lib
log_flags.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_flags.lib
log_internal_check_op.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_log_internal_check_op.lib
die_if_null.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\log\Debug\absl_die_if_null.lib
flags_usage.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_usage.lib
Building Custom Rule C:/rust-protobuf-native/protobuf-src/protobuf/CMakeLists.txt
Building Custom Rule C:/rust-protobuf-native/protobuf-src/protobuf/CMakeLists.txt
flags_parse.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\third_party\abseil-cpp\absl\flags\Debug\absl_flags_parse.lib
libprotobuf-lite.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\Debug\libprotobuf-lite.lib
libprotobuf.vcxproj -> C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\Debug\libprotobuf.lib
Building Custom Rule C:/rust-protobuf-native/protobuf-src/protobuf/CMakeLists.txt
Building Custom Rule C:/rust-protobuf-native/protobuf-src/protobuf/CMakeLists.txt
Building Custom Rule C:/rust-protobuf-native/protobuf-src/protobuf/CMakeLists.txt

absl_cord.lib(cord.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_cord.lib(cord_analysis.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_hash.lib(hash.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_status.lib(status_internal.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_status.lib(status.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_status.lib(status_payload_printer.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_statusor.lib(statusor.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_strings.lib(str_replace.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
absl_strings.lib(ascii.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
... many more LNK2038
absl_strings_internal.lib(escaping.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_string_view.lib(string_view.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_spinlock_wait.lib(spinlock_wait.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_throw_delegate.lib(throw_delegate.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_raw_logging_internal.lib(raw_logging.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@qeaa@H@Z) ist bereits in libcpmtd.lib(xlock.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: __cdecl std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@qeaa@XZ) ist bereits in libcpmtd.lib(xlock.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: struct _Cvtvec __cdecl std::_Locinfo::_Getcvt(void)const " (?_Getcvt@_Locinfo@std@@qeba?AU_Cvtvec@@xz) ist bereits in libprotobuf.lib(descriptor.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: char const * __cdecl std::_Locinfo::_Getdays(void)const " (?_Getdays@_Locinfo@std@@QEBAPEBDXZ) ist bereits in libcpmtd.lib(wlocale.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: char const * __cdecl std::_Locinfo::_Getmonths(void)const " (?_Getmonths@_Locinfo@std@@QEBAPEBDXZ) ist bereits in libcpmtd.lib(wlocale.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
... many more LNK 2005
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & __cdecl std::basic_ostream<char,struct std::char_traits >::write(char const *,__int64)" (?write@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@PEBD_J@Z) ist bereits in libprotobuf.lib(zero_copy_stream_impl.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & __cdecl std::basic_ostream<char,struct std::char_traits >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@XZ) ist bereits in protoc-gen-upb.obj definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & __cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(int)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@H@Z) ist bereits in libprotobuf.lib(descriptor.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & __cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(__int64)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@_J@Z) ist bereits in libprotobuf.lib(descriptor.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: virtual __cdecl std::basic_istream<char,struct std::char_traits >::~basic_istream<char,struct std::char_traits >(void)" (??1?$basic_istream@DU?$char_traits@D@std@@@std@@UEAA@XZ) ist bereits in libprotobuf.lib(descriptor.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: bool __cdecl std::basic_istream<char,struct std::char_traits >::_Ipfx(bool)" (?_Ipfx@?$basic_istream@DU?$char_traits@D@std@@@std@@QEAA_N_N@Z) ist bereits in libprotobuf.lib(zero_copy_stream_impl.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
LINK : warning LNK4098: Standardbibliothek "MSVCRTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
LINK : warning LNK4286: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_time_zone.lib(time_zone_posix.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
LINK : warning LNK4286: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_time_zone.lib(time_zone_if.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
LINK : warning LNK4217: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_time_zone.lib(time_zone_info.obj)" in die Funktion ""protected: virtual int __cdecl std::basic_filebuf<char,struct std::char_traits >::overflow(int)" (?overflow@?$basic_filebuf@DU?$char_traits@D@std@@@std@@MEAAHH@Z)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
LINK : warning LNK4286: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_time_zone.lib(time_zone_libc.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb_minitable.vcxproj]
....... many more warnings
LINK : warning LNK4217: Das in "__tzname" definierte Symbol "libucrtd.lib(timeset.obj)" wird durch "absl_time_zone.lib(time_zone_libc.obj)" in die Funktion ""char * & __cdecl absl::time_internal::cctz::anonymous namespace'::tm_zone(struct tm const &)" (?tm_zone@?A0x48b7f02b@cctz@time_internal@absl@@YAAEAPEADAEBUtm@@@Z)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj] absl_cord.lib(cord_analysis.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_ceilf" in Funktion ""protected: unsigned __int64 __cdecl std::_Hash<class std::_Uset_traits<struct absl::cord_internal::CordRep const *,class std::_Uhash_compare<struct absl::cord_internal::CordRep const *,struct std::hash<struct absl::cord_internal::CordRep const *>,struct std::equal_to<struct absl::cord_internal::CordRep const *> >,class std::allocator<struct absl::cord_internal::CordRep const *>,0> >::_Min_load_factor_buckets(unsigned __int64)const " (?_Min_load_factor_buckets@?$_Hash@V?$_Uset_traits@PEBUCordRep@cord_internal@absl@@V?$_Uhash_compare@PEBUCordRep@cord_internal@absl@@U?$hash@PEBUCordRep@cord_internal@absl@@@std@@U?$equal_to@PEBUCordRep@cord_internal@absl@@@5@@std@@V?$allocator@PEBUCordRep@cord_internal@absl@@@5@$0A@@std@@@std@@IEBA_K_K@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj] absl_str_format_internal.lib(parser.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_ceilf". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj] absl_time_zone.lib(time_zone_impl.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_ceilf". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj] absl_strings.lib(charconv.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_nanf" in Funktion ""public: static float __cdecl absl::anonymous namespace'::FloatTraits::MakeNan(char const *)" (?MakeNan@?$FloatTraits@M@?A0xf4ad47e7@absl@@SAMPEBD@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_time.lib(duration.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_modf" in Funktion ""void __cdecl absl::anonymous namespace'::AppendNumberUnit(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,double,struct absl::A0x57038578::DisplayUnit)" (?AppendNumberUnit@?A0x57038578@absl@@YAXPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NUDisplayUnit@12@@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj] absl_time.lib(duration.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_round" in Funktion ""void __cdecl absl::anonymous namespace'::AppendNumberUnit(class std::basic_string<char,struct std::char_traits,class std::allocator > *,double,struct absl::A0x57038578::DisplayUnit)" (?AppendNumberUnit@?A0x57038578@absl@@YAXPEAV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@NUDisplayUnit@12@@z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_log_internal_check_op.lib(check_op.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__stricmp" in Funktion ""class std::basic_string<char,struct std::char_traits,class std::allocator > * __cdecl absl::log_internal::CheckstrcasecmptrueImpl(char const *,char const *,char const *)" (?CheckstrcasecmptrueImpl@log_internal@absl@@YAPEAV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@PEBD00@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_str_format_internal.lib(arg.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_ldexp" in Funktion ""public: __cdecl absl::int128::operator double(void)const " (??Bint128@absl@@QEBANXZ)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_str_format_internal.lib(float_conversion.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_ldexp". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
absl_int128.lib(int128.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_ldexp". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upb.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "protected: virtual __int64 __cdecl std::basic_streambuf<char,struct std::char_traits >::xsputn(char const *,__int64)" (?xsputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MEAA_JPEBD_J@Z) ist bereits in libcpmtd.lib(cout.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: char __cdecl std::basic_ios<char,struct std::char_traits >::widen(char)const " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBADD@Z) ist bereits in libcpmtd.lib(cout.obj) definiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_base.lib(cycleclock.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_base.lib(spinlock.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_base.lib(thread_identity.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in common.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
LINK : warning LNK4098: Standardbibliothek "MSVCRTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
LINK : warning LNK4286: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_base.lib(cycleclock.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
LINK : warning LNK4286: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_base.lib(spinlock.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
LINK : warning LNK4286: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_time_zone.lib(time_zone_info.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
LINK : warning LNK4217: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_time_zone.lib(time_zone_libc.obj)" in die Funktion ""public: __cdecl std::chrono::duration<__int64,struct std::ratio<1,10000000> >::duration<__int64,struct std::ratio<1,10000000> ><__int64,struct std::ratio<1,1>,0>(class std::chrono::duration<__int64,struct std::ratio<1,1> > const &)" (??$?0_JU?$ratio@$00$00@std@@$0A@@?$duration@_JU?$ratio@$00$0JIJGIA@@std@@@chrono@std@@qeaa@AEBV?$duration@_JU?$ratio@$00$00@std@@@12@@z)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
LINK : warning LNK4286: Das in "_invalid_parameter" definierte Symbol "libucrtd.lib(invalid_parameter.obj)" wird durch "absl_time_zone.lib(zone_info_source.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
.... many LNK4286, 4217 warnings...
LINK : warning LNK4286: Das in "free" definierte Symbol "libucrtd.lib(free.obj)" wird durch "absl_time_zone.lib(time_zone_info.obj)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
LINK : warning LNK4217: Das in "malloc" definierte Symbol "libucrtd.lib(malloc.obj)" wird durch "absl_base.lib(sysinfo.obj)" in die Funktion ""int __cdecl absl::base_internal::anonymous namespace'::Win32NumCPUs(void)" (?Win32NumCPUs@?A0xbf5075e5@base_internal@absl@@YAHXZ)" importiert. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_strings.lib(charconv.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_nanf" in Funktion ""public: static float __cdecl absl::anonymous namespace'::FloatTraits::MakeNan(char const *)" (?MakeNan@?$FloatTraits@M@?A0xf4ad47e7@absl@@SAMPEBD@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_strerror.lib(strerror.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_strerror_s" in Funktion ""char const * __cdecl absl::base_internal::anonymous namespace'::StrErrorAdaptor(int,char *,unsigned __int64)" (?StrErrorAdaptor@?A0x70759558@base_internal@absl@@YAPEBDHPEAD_K@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_str_format_internal.lib(arg.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_ldexp" in Funktion ""public: __cdecl absl::int128::operator double(void)const " (??Bint128@absl@@QEBANXZ)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_str_format_internal.lib(float_conversion.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_ldexp". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_int128.lib(int128.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_ldexp". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_str_format_internal.lib(float_conversion.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__ldsign" in Funktion ""bool __cdecl signbit(long double)" (?signbit@@YA_NO@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_str_format_internal.lib(output.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_ferror" in Funktion ""public: void __cdecl absl::str_format_internal::FILERawSink::Write(class absl::string_view)" (?Write@FILERawSink@str_format_internal@absl@@QEAAXVstring_view@3@@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_str_format_internal.lib(parser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_ceilf" in Funktion ""protected: unsigned __int64 __cdecl std::_Hash<class std::_Uset_traits<int,class std::_Uhash_compare<int,struct std::hash<int>,struct std::equal_to<int> >,class std::allocator<int>,0> >::_Min_load_factor_buckets(unsigned __int64)const " (?_Min_load_factor_buckets@?$_Hash@V?$_Uset_traits@HV?$_Uhash_compare@HU?$hash@H@std@@U?$equal_to@H@2@@std@@V?$allocator@H@2@$0A@@std@@@std@@IEBA_K_K@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_time_zone.lib(time_zone_impl.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_ceilf". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj] absl_time.lib(duration.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_modf" in Funktion ""void __cdecl absl::anonymous namespace'::AppendNumberUnit(class std::basic_string<char,struct std::char_traits,class std::allocator > *,double,struct absl::A0x57038578::DisplayUnit)" (?AppendNumberUnit@?A0x57038578@absl@@YAXPEAV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@NUDisplayUnit@12@@z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_time.lib(duration.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_round" in Funktion ""void __cdecl absl::`anonymous namespace'::AppendNumberUnit(class std::basic_string<char,struct std::char_traits,class std::allocator > *,double,struct absl::A0x57038578::DisplayUnit)" (?AppendNumberUnit@?A0x57038578@absl@@YAXPEAV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@NUDisplayUnit@12@@z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_time_zone.lib(time_zone_libc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__gmtime64_s" in Funktion "gmtime_s". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_time_zone.lib(time_zone_libc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__localtime64_s" in Funktion "localtime_s". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
absl_time_zone.lib(time_zone_libc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__mktime64" in Funktion "mktime". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\Debug\protoc-gen-upbdefs.exe : fatal error LNK1120: 11 nicht aufgelöste Externe [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc-gen-upbdefs.vcxproj]
Building Custom Rule C:/rust-protobuf-native/protobuf-src/protobuf/CMakeLists.txt
absl_cord.lib(cord.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in main.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
absl_cord.lib(cord_analysis.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in main.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
absl_hash.lib(hash.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in main.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
absl_status.lib(status_internal.obj) : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MDd_DynamicDebug" stimmt nicht mit dem Wert "MTd_StaticDebug" in main.obj überein. [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
... again many LNK2019, 2005, 2038 errors
absl_str_format_internal.lib(float_conversion.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__ldsign" in Funktion ""bool __cdecl signbit(long double)" (?signbit@@YA_NO@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
absl_symbolize.lib(symbolize.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_strncpy" in Funktion ""bool __cdecl absl::Symbolize(void const *,char *,int)" (?Symbolize@absl@@YA_NPEBXPEADH@Z)". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
absl_time_zone.lib(time_zone_libc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__gmtime64_s" in Funktion "gmtime_s". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
absl_time_zone.lib(time_zone_libc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__localtime64_s" in Funktion "localtime_s". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
absl_time_zone.lib(time_zone_libc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__mktime64" in Funktion "mktime". [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]
C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\Debug\protoc.exe : fatal error LNK1120: 11 nicht aufgelöste Externe [C:\rust-protobuf-native\target\debug\build\protobuf-src-834783d995f2013a\out\build\protoc.vcxproj]

--- stderr
thread 'main' panicked at C:\Users\apa.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098:5:

command did not execute successfully, got: exit code: 1

build script failed, must exit now
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

C:\rust-protobuf-native>

@skibon02
Copy link

Does not build on windows for me, stable rustc v1.81

A lot of unresolved external symbols

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants