-
Notifications
You must be signed in to change notification settings - Fork 281
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
Build fails #335
Comments
Hi @Chaojimengnan |
It works, thank you!! |
@alkurbatov hi |
Hi @Andrysky |
We found next fix: modified Libs/third_party/protobuf/protobuf-3.0.0/src/google/protobuf/repeated_field.h
@@ -294,6 +294,9 @@ template<typename Element>
const size_t RepeatedField<Element>::kRepHeaderSize =
reinterpret_cast<size_t>(&reinterpret_cast<Rep*>(16)->elements[0]) - 16;
+const size_t RepeatedField<int32>::kRepHeaderSize =
+ reinterpret_cast<size_t>(&reinterpret_cast<Rep*>(16)->elements[0]) - 16;
+
namespace internal {
template <typename It> class RepeatedPtrIterator;
template <typename It, typename VoidPtr> class RepeatedPtrOverPtrsIterator; Work on Visual Studio 2022 Version 17.7.0 |
I used VS2022 and CMake version 3.21.1 for the build. Here is my error message:
This looks like protobuf's problem, here is the definition of
kRepHeaderSize
, I don't think there is something wrong, but it gets errorThe text was updated successfully, but these errors were encountered: