Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Install, Compile and run Protobuf for Beginners
ChannelRuchidnya KadamDescription from the creator
**This is a short video showing how to install Protocol Buffer in C++**
**How to write a protobuf file**
**And how to run a protobuf file.**
Commands to install protocol Buffer on terminal (linux):
$ sudo apt-get install autoconf automake libtool curl make g++ unzip
$ wget github.com/protocolbuffers/protobuf/releases/do…
$ tar -xvzf protobuf-cpp-3.11.0.tar.gz
$ cd protobuf-cpp-3.11.0
$ ./configure
$ make
$ make install
$ sudo ldconfig
Commands to run a protobuf file:
1. protoc –I=$SRC_DIR --cpp_out=$DST_DIR $SCR_DIR/protofile.proto
or
protoc --cpp_out=. protofile.proto
2. g++ -std=c++17 C_file.cpp protofile.pb.cc -o binaryfilename `pkg-config --cflags --libs protobuf`
3. ./binaryfilename
**How to write a protobuf file**
**And how to run a protobuf file.**
Commands to install protocol Buffer on terminal (linux):
$ sudo apt-get install autoconf automake libtool curl make g++ unzip
$ wget github.com/protocolbuffers/protobuf/releases/do…
$ tar -xvzf protobuf-cpp-3.11.0.tar.gz
$ cd protobuf-cpp-3.11.0
$ ./configure
$ make
$ make install
$ sudo ldconfig
Commands to run a protobuf file:
1. protoc –I=$SRC_DIR --cpp_out=$DST_DIR $SCR_DIR/protofile.proto
or
protoc --cpp_out=. protofile.proto
2. g++ -std=c++17 C_file.cpp protofile.pb.cc -o binaryfilename `pkg-config --cflags --libs protobuf`
3. ./binaryfilename
About this tutorial
Ruchidnya Kadam published this 6:59 video tutorial on July 15, 2020. It has been watched 26,299 times on YouTube.
- Channel
- Ruchidnya Kadam
- Category
- Science & Technology
- Duration
- 6:59
- Published
- July 15, 2020
- Views
- 26,299
- Likes
- 274
Tags
Share
This tutorial in other languages
- FRComment faire pour installer, compilez et exécutez Protobuf pour les débutants
- ESCómo instalar, compilar y ejecutar Protobuf para principiantes
- PTComo instalar, compilar e executar Protobuf para Iniciantes
- ITCome installare, compilare ed eseguire Protobuf per principianti
- DESo installieren, kompilieren und ausführen Protobuf für Anfänger
- NLHoe te installeren, compileren en uitvoeren Protobuf voor beginners
- RUКак установить, скомпилировать и запустить Protobuf для начинающих
- PLJak zainstalować, skompilować i uruchomić Protobuf dla początkujących
- JAどのように、コンパイルをインストールし、初心者のためにいるProtobufを実行します
- ARكيفية تثبيت، تجميع وتشغيل Protobuf للمبتدئين
- HIकैसे स्थापित करें, संकलित करें और शुरुआती के लिए Protobuf को चलाने के लिए
- IDCara Install, Kompilasi dan menjalankan Protobuf untuk Pemula