-
Notifications
You must be signed in to change notification settings - Fork 81
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
no matching function in protobuf #121
Comments
Did you check the build instructions that we provide as a part of Cura? They also include how to build libArcus from source. I've recently tried those from a clean install and those worked. You can find them here: https://github.com/Ultimaker/Cura/wiki/Running-Cura-from-Source-on-Ubuntu#arcus |
In the last releases of protobuf in the master branch some deprecated functions were removed. So, installing protobuf from 3.15.x branch works for me! |
We are using Protobuf 3.15 ourselves in the Cura builds, indeed: It seems the overload we're using was removed a few weeks ago: protocolbuffers/protobuf#8794 It would be quite easy to remove the second parameter from that function call. However libArcus as a library currently supports Protobuf down to 3.0.0. We'd have to increase that minimum requirement if we want to fix this for the newest protobuf versions. Because back then, the suggested alternative didn't exist yet. |
@Ghostkeeper We're using Protobuf 3.9.2 in the MinGW cross-building for Windows |
Okay, interesting! Perhaps we should align that with the rest. In 3.9.2 the new overload already existed so it shouldn't be a problem, luckily. |
Developers, see issue CURA-8467. |
@Ghostkeeper You don't have to drop support for older Protobuf, you just have to take advantage of the There are two issues with the move to Protobuf 3.18.0 or newer: dropping the second argument in |
when I run
make
inside build directory I'm having the following error.home/ubuntu/Desktop/DEAWA_RD/Programs/Codes/libArcus/src/Socket_p.h:551:77: error: no matching function for call to ‘google::protobuf::io::CodedInputStream::SetTotalBytesLimit(const int&, const int&)’
any hep is appreciated
The text was updated successfully, but these errors were encountered: