Thanks @jji2019 for providing the detailed error log. IIUC, the error happens when the installed Protobuf was built without -fPIC. It's surprise to me the Protobuf from apt-get is usinglibprotobuf.a, which is a static one... Do you only have one Protobuf installed in your environment...
protoc ? NO protobuf-compiler protobuf protobuf-compiler YES Hardware wallet [1] On Debian/Ubuntu libgtest-dev only includes sources and headers. You must build the library binary manually. This can be done with the following command sudo apt-get install libgtest-dev && cd /usr/src/gtest ...
: WITH_SSL: C:\openssl-3.3.1-install Either 'system' to use system-wide OpenSSL library, or custom OpenSSL location. (default : system) : WITH_PROTOBUF: Enable, disable or point to PROTOBUF installation. : WITH_ZLIB: Enable, disable or point to ZLIB installation. ...
protobuf-dev # apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing opentelemetry-cpp-dev # There is some bug with some platforms and git, so force HTTP/1.1 git config --global http.version HTTP/1.1 git config --global http.postBuffer 157286400 mkdir -p /etc/nginx mk...
mkdir: /Users/mnguyen/Projects/pkgs/protobuf: File exists % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 2345k 3 85616 0 0 116k 0 0:00:20 --:--:-- 0:...
"//third_party/protobuf/src/google/protobuf", ] } ohos_shared_library("zone_util") { public_configs = [ ":zone_util_public_configs" ] sources = [ "src/zone_util.cpp" ] cflags_cc = [ "-Wall", "-fPIC", ] deps = [
这里值得注意的是,TensorFlow 编译protobuf、Eigen 和 absl 时下载并编译了特定的版本,而非来自系统环境,因此我们需要把这些依赖的头文件也打包进去。 GPU 版本的build_gpu.sh主要在于环境变量有区别: # CUDA detailsexportTF_NEED_CUDA=1exportTF_CUDA_VERSION="${cuda_compiler_version}"exportTF_CUDNN_VERSION=...
AUTOHEADER='${SHELL} /tmp/protobuf-2.5.0/missing --run autoheader' AUTOMAKE='${SHELL} /tmp/protobuf-2.5.0/missing --run automake-1.11' AWK='awk' CC='clang' CCDEPMODE='' CFLAGS='-DNDEBUG -g -O0 -pipe -fPIC -fcxx-exceptions -miphoneos-version-min=7.0 -arch arm64 -isysro...
$ ls ../armnn boost boost_1_64_0 ComputeLibrary flatbuffers protobuf protobuf-host tensorflow tensorflow-protobuf valgrind-3.15.0 2. Build the Arm Compute Library Compile the Arm Compute Library using SCons. # arm v7$ scons extra_cxx_flags="-fPIC"benchmark_tests=0validation_tests=0# arm...
-I../../third_party/protobuf/src -Igen/protoc_out -Igen/v8/include -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration ...