mirror of https://github.com/gnss-sdr/gnss-sdr
Improve Protocol Buffers info
This commit is contained in:
parent
2cba1c5e0a
commit
b3ca9bda99
|
@ -1789,8 +1789,6 @@ endif()
|
|||
################################################################################
|
||||
# Protocol Buffers https://github.com/protocolbuffers/protobuf
|
||||
################################################################################
|
||||
option(ENABLE_PROTOBUF "Enable Protocol Buffers" ON)
|
||||
if(ENABLE_PROTOBUF)
|
||||
set(Protobuf_VERSION "0.0.0")
|
||||
find_package(Protobuf)
|
||||
set_package_properties(Protobuf PROPERTIES
|
||||
|
@ -1910,7 +1908,7 @@ if(ENABLE_PROTOBUF)
|
|||
PURPOSE "Protocol Buffers v${GNSSSDR_PROTOCOLBUFFERS_LOCAL_VERSION} will be downloaded and built when doing '${CMAKE_MAKE_PROGRAM_PRETTY_NAME}'."
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -286,6 +286,14 @@ In case the GnuTLS library with openssl extensions package is not available in y
|
|||
|
||||
#### Install [Protocol Buffers](https://developers.google.com/protocol-buffers/ "Protocol Buffers' Homepage"), a portable mechanism for serialization of structured data:
|
||||
|
||||
GNSS-SDR requires Protocol Buffers v3.0.0 or later. If the packages that come with your distribution are older, you will need to install it manually. First, install the dependencies:
|
||||
|
||||
~~~~~~
|
||||
$ sudo apt-get install autoconf automake libtool curl make g++ unzip
|
||||
~~~~~~
|
||||
|
||||
and then:
|
||||
|
||||
~~~~~~
|
||||
$ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protobuf-cpp-3.7.1.tar.gz
|
||||
$ tar xvfz protobuf-cpp-3.7.1.tar.gz
|
||||
|
@ -294,6 +302,7 @@ $ ./autogen.sh
|
|||
$ ./configure
|
||||
$ make
|
||||
$ sudo make install
|
||||
$ sudo ldconfig
|
||||
~~~~~~
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue