MATLAB Answers

how to fix the libprotobuf error

조회 수: 23(최근 30일)
xianyou zhong
xianyou zhong 2020년 1월 1일
답변: Jemima Pulipati 2021년 1월 13일
when I use matlab gui, I get the error information as follows:
```
[libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.6.1 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/tmp/B3p3/glnxa64/protobuf3/src/google/protobuf/any.pb.cc".)
```
matlab will crash.
What should I do to fix it?

답변(1개)

Jemima Pulipati
Jemima Pulipati 2021년 1월 13일
Hello,
From my understanding, the issue is due to a mismatch between the versions of Protocol Buffer used by the program and that which is installed.
Basing on the error message, you may have to update the library to version 3.6.1 as that is the version required by the program.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by