When to install If you use the protoc command and encounter Protoc not found, it means it is not installed. Or, if an error occurs during execution: This parser only recognizes "proto2", it means it is not version 3.0. Installation process and possible problems Installation Instructions For detailed introduction, please refer to this article: A brief introduction to protobuf and installation in Ubuntu 16.04 environment Execute the following commands in sequence to download the source code, compile and install it. It takes a long time, more than 10 minutes. sudo apt-get install autoconf automake libtool curl make g++ unzip git clone https://github.com/google/protobuf.git cd protobuf git submodule update --init --recursive ./autogen.sh ./configure make make check sudo make install sudo ldconfig # refresh shared library cache. Possible problems It is very likely that the following error message will appear during execution: Solution: Execute the following command. sudo apt-get install autoconf sudo apt-get install automake sudo apt-get install libtool After the installation is complete Run the following command to verify the installation result and view the version number. Congratulations on getting libprotoc 3.9.0 or higher. Summarize The above is the tutorial for installing Protobuf 3 on Ubuntu introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: MySQL multi-instance configuration solution
>>: Detailed explanation of this pointing problem in JavaScript function
In MySQL, databases correspond to directories wit...
Table of contents mysql log files binlog Binlog l...
Table of contents 1. What is an index signature? ...
1. Stop the mysqld.exe process first 2. Open cmd ...
When learning Vue, when I always use webpack inst...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...
This article shares the specific code for importi...
This article shares with you the solution to the ...
Last time, a very studious fan asked if it was po...
There are two types of scheduled tasks in Linux s...
To achieve the association of the frame window, th...
It is difficult to find good image material websi...
Table of contents 1. Introduction to SQL Injectio...
Think big and small, then redirect. Sometimes Lin...
Table of contents Purpose Module Installation Bas...