Article 59CS9 Aspera: Transfer-sdk - This file was generated by an older version of protoc

Aspera: Transfer-sdk - This file was generated by an older version of protoc

by
TheIndependentAquarius
from LinuxQuestions.org on (#59CS9)
Have downloaded Transfer SDK from here:

https://api.ibm.com/explorer/catalog...k/doc/overview

Have installed protobuf-2.6.1 from source. Default protobuf that comes with Ubuntu is of higher version.

Code: ~$ protoc --version
libprotoc 2.6.1cmake .. result:

Code: /aspera/transfer-sdk/linux-amd64/connectors/cpp/build$ cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found version "2.6.1")
-- Configuring done
-- Generating done
-- Build files have been written to: .....work/aspera/transfer-sdk/linux-amd64/connectors/cpp/buildIt is detecting protobuf 2.6.1 but make doesn't want this version of protobuf.

Code: $ make
Scanning dependencies of target asperatransfer
[ 14%] Building CXX object CMakeFiles/asperatransfer.dir/transfer.pb.cc.o
In file included from .../work/aspera/transfer-sdk/linux-amd64/connectors/cpp/transfer.pb.cc:4:0:
.../work/aspera/transfer-sdk/linux-amd64/connectors/cpp/transfer.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
.../work/aspera/transfer-sdk/linux-amd64/connectors/cpp/transfer.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
.../work/aspera/transfer-sdk/linux-amd64/connectors/cpp/transfer.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.According to the errors of make I am not sure which version of protobuf does it want?

What more information should I provide here?
Please help.latest?d=yIl2AUoC8zA latest?i=RuTcf1GX7mk:q-3JRri3hqI:F7zBnMy latest?i=RuTcf1GX7mk:q-3JRri3hqI:V_sGLiP latest?d=qj6IDK7rITs latest?i=RuTcf1GX7mk:q-3JRri3hqI:gIN9vFwRuTcf1GX7mk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments