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

Add implementation of build for protobuf>=22.0 on Windows #5358

Closed
wants to merge 1 commit into from
Closed

Add implementation of build for protobuf>=22.0 on Windows #5358

wants to merge 1 commit into from

Conversation

Galasnow
Copy link
Contributor

@Galasnow Galasnow commented Mar 2, 2024

PR #4955 seems to have not fixed the problem on Windows.

@github-actions github-actions bot added the doc label Mar 2, 2024
@Galasnow
Copy link
Contributor Author

Galasnow commented Mar 2, 2024

-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find absl (missing: absl_DIR)
-- Could NOT find utf8_range (missing: utf8_range_DIR)
CMake Warning at tools/caffe/CMakeLists.txt:2 (find_package):
  Found package configuration file:

    D:/protobuf/build_win/install/cmake/protobuf-config.cmake

  but it set protobuf_FOUND to FALSE so package "protobuf" is considered to
  be NOT FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  absl::absl_check absl::absl_log absl::algorithm absl::base absl::bind_front
  absl::bits absl::btree absl::cleanup absl::cord absl::core_headers
  absl::debugging absl::die_if_null absl::dynamic_annotations absl::flags
  absl::flat_hash_map absl::flat_hash_set absl::function_ref absl::hash
  absl::layout absl::log_initialize absl::log_severity absl::memory
  absl::node_hash_map absl::node_hash_set absl::optional absl::span
  absl::status absl::statusor absl::strings absl::synchronization absl::time
  absl::type_traits absl::utility absl::variant utf8_range::utf8_validity



-- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR)
CMake Warning at tools/caffe/CMakeLists.txt:38 (message):
  Protobuf not found, caffe model convert tool won't be built


-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find absl (missing: absl_DIR)
-- Could NOT find utf8_range (missing: utf8_range_DIR)
CMake Warning at tools/onnx/CMakeLists.txt:2 (find_package):
  Found package configuration file:

    D:/protobuf/build_win/install/cmake/protobuf-config.cmake

  but it set protobuf_FOUND to FALSE so package "protobuf" is considered to
  be NOT FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  absl::absl_check absl::absl_log absl::algorithm absl::base absl::bind_front
  absl::bits absl::btree absl::cleanup absl::cord absl::core_headers
  absl::debugging absl::die_if_null absl::dynamic_annotations absl::flags
  absl::flat_hash_map absl::flat_hash_set absl::function_ref absl::hash
  absl::layout absl::log_initialize absl::log_severity absl::memory
  absl::node_hash_map absl::node_hash_set absl::optional absl::span
  absl::status absl::statusor absl::strings absl::synchronization absl::time
  absl::type_traits absl::utility absl::variant utf8_range::utf8_validity



-- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR)
CMake Warning at tools/onnx/CMakeLists.txt:38 (message):
  Protobuf not found, onnx model convert tool won't be built

@tencent-adm
Copy link
Member

tencent-adm commented Mar 2, 2024

CLA assistant check
All committers have signed the CLA.

@Galasnow
Copy link
Contributor Author

Galasnow commented Mar 2, 2024

Reference protocolbuffers/protobuf#12292

@Galasnow Galasnow closed this Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants