Open ghost opened 2 years ago
me too
Me Too
Caffe is using an older version of protobuf when you get the error:
function for call to ‘google::protobuf::io::CodedInputStream::SetTotalBytesLimit(const int&, int)’
coded_input->SetTotalBytesLimit(kProtoReadBytesLimit, 536870912);
/usr/local/include/google/protobuf/io/coded_stream.h:384:8: note: candidate expects 1 argument, 2 provided
This mean you're using a newer version of protobuf installed in your distro.
Simple fix is to edit the file:
/home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/io.cpp
and remove: 536870912
.
Example:
Find: SetTotalBytesLimit(kProtoReadBytesLimit, 536870912);
and edit it to: SetTotalBytesLimit(kProtoReadBytesLimit);
Save and remake.
Issue Summary
Not sure if this is the correct place to ask (new to all this) I am using openPose as a student project, and i get a compilation error with protobuf at 86% of the installation.
If this is the wrong place to ask please let me know where to ask and delete this post with my apologise
Thank You
here is the resume of the compilation in the terminal
$ make -j
nproc`[ 12%] Creating directories for 'openpose_lib' [ 25%] No download step for 'openpose_lib' [ 37%] No update step for 'openpose_lib' [ 50%] No patch step for 'openpose_lib' [ 62%] Performing configure step for 'openpose_lib' CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
The C compiler identification is GNU 7.5.0 The CXX compiler identification is GNU 7.5.0 Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working C compiler: /usr/bin/cc - skipped Detecting C compile features Detecting C compile features - done Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/c++ - skipped Detecting CXX compile features Detecting CXX compile features - done CMake Warning (dev) at cmake/Misc.cmake:32 (set): implicitly converting 'BOOLEAN' to 'STRING' type. Call Stack (most recent call first): CMakeLists.txt:25 (include) This warning is for project developers. Use -Wno-dev to suppress it.
Looking for pthread.h Looking for pthread.h - found Performing Test CMAKE_HAVE_LIBC_PTHREAD Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed Looking for pthread_create in pthreads Looking for pthread_create in pthreads - not found Looking for pthread_create in pthread Looking for pthread_create in pthread - found Found Threads: TRUE
Found Boost: /usr/include (found suitable version "1.65.1", minimum required is "1.54") found components: system thread filesystem chrono date_time atomic Found GFlags: /usr/include
Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so) Found Glog: /usr/include
Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so) Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found version "3.20.1") Found PROTOBUF Compiler: /usr/local/bin/protoc HDF5 C compiler wrapper is unable to compile a minimal HDF5 program. HDF5 CXX compiler wrapper is unable to compile a minimal HDF5 program. Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so (found version "1.10.0.1") found components: HL HDF5 C compiler wrapper is unable to compile a minimal HDF5 program. HDF5 CXX compiler wrapper is unable to compile a minimal HDF5 program. CUDA detected: 10.1 Found cuDNN: ver. 7.6.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so) Added CUDA NVCC flags for: sm_61 Found Atlas: /usr/include/x86_64-linux-gnu
Found Atlas (include: /usr/include/x86_64-linux-gnu library: /usr/lib/x86_64-linux-gnu/libatlas.so lapack: /usr/lib/x86_64-linux-gnu/liblapack.so Python interface is disabled or not all required dependencies found. Building without it... Found Git: /usr/bin/git (found version "2.17.1")
Caffe Configuration Summary General: Version : 1.0.0 Git : 1.0-149-g1807aada System : Linux C++ compiler : /usr/bin/c++ Release CXX flags : -O3 -DNDEBUG -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized Debug CXX flags : -g -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized Build type : Release
Dependencies: BLAS : Yes (Atlas) Boost : Yes (ver. 1.65) glog : Yes gflags : Yes protobuf : Yes (ver. ..) CUDA : Yes (ver. 10.1)
NVIDIA CUDA: Target GPU(s) : Auto GPU arch(s) : sm_61 cuDNN : Yes (ver. 7.6.5)
Install: Install path : /home/toor/Desktop/openpose/openpose/build/caffe
Configuring done CMake Warning at src/caffe/CMakeLists.txt:23 (add_library): Cannot generate a safe runtime search path for target caffe because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at src/caffe/test/CMakeLists.txt:29 (add_executable): Cannot generate a safe runtime search path for target test.testbin because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at tools/CMakeLists.txt:14 (add_executable): Cannot generate a safe runtime search path for target caffe.bin because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at tools/CMakeLists.txt:14 (add_executable): Cannot generate a safe runtime search path for target compute_image_mean because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at tools/CMakeLists.txt:14 (add_executable): Cannot generate a safe runtime search path for target convert_imageset because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at tools/CMakeLists.txt:14 (add_executable): Cannot generate a safe runtime search path for target extract_features because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at tools/CMakeLists.txt:14 (add_executable): Cannot generate a safe runtime search path for target upgrade_net_proto_binary because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at tools/CMakeLists.txt:14 (add_executable): Cannot generate a safe runtime search path for target upgrade_net_proto_text because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at tools/CMakeLists.txt:14 (add_executable): Cannot generate a safe runtime search path for target upgrade_solver_proto_text because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at examples/CMakeLists.txt:11 (add_executable): Cannot generate a safe runtime search path for target convert_cifar_data because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at examples/CMakeLists.txt:11 (add_executable): Cannot generate a safe runtime search path for target classification because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at examples/CMakeLists.txt:11 (add_executable): Cannot generate a safe runtime search path for target convert_mnist_data because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at examples/CMakeLists.txt:11 (add_executable): Cannot generate a safe runtime search path for target convert_mnist_siamese_data because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
-- Generating done CMake Warning: Manually-specified variables were not used by the project:
-- Build files have been written to: /home/toor/Desktop/openpose/openpose/build/caffe/src/openpose_lib-build [ 75%] Performing build step for 'openpose_lib' [ 1%] Running C++/Python protocol buffer compiler on /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/proto/caffe.proto [ 1%] Building CXX object src/caffe/CMakeFiles/caffeproto.dir///include/caffe/proto/caffe.pb.cc.o [ 1%] Linking CXX static library ../../lib/libcaffeproto.a [ 1%] Built target caffeproto [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_accuracy_layer.cu.o [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_norm_layer.cu.o [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_reindex_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_base_data_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bias_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bnll_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_concat_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_contrastive_loss_layer.cu.o [ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_clip_layer.cu.o [ 6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_conv_layer.cu.o In file included from /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0: /usr/local/cuda-10.1/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
^
~~ In file included from /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0: /usr/local/cuda-10.1/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
^
~~ In file included from /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0: /usr/local/cuda-10.1/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
^
~~ In file included from /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/math_functions.cu:1:0: /usr/local/cuda-10.1/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
^
~~ [ 6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_layer.cu.o [ 6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_conv_layer.cu.o [ 8%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_deconv_layer.cu.o [ 8%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lcn_layer.cu.o [ 9%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lrn_layer.cu.o [ 9%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_pooling_layer.cu.o [ 9%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_relu_layer.cu.o [ 10%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_sigmoid_layer.cu.o [ 10%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_softmax_layer.cu.o [ 10%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_tanh_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_deconv_layer.cu.o [ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_dropout_layer.cu.o [ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_eltwise_layer.cu.o [ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_elu_layer.cu.o [ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_embed_layer.cu.o [ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_euclidean_loss_layer.cu.o [ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_exp_layer.cu.o [ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_filter_layer.cu.o [ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_data_layer.cu.o [ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_output_layer.cu.o [ 17%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_im2col_layer.cu.o [ 17%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_inner_product_layer.cu.o [ 17%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_log_layer.cu.o [ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lrn_layer.cu.o [ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lstm_unit_layer.cu.o [ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_mvn_layer.cu.o [ 20%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_pooling_layer.cu.o [ 20%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_power_layer.cu.o [ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_prelu_layer.cu.o [ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_recurrent_layer.cu.o [ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_reduction_layer.cu.o [ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_relu_layer.cu.o [ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_scale_layer.cu.o [ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_cross_entropy_loss_layer.cu.o [ 24%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_layer.cu.o [ 24%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_silence_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_slice_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_loss_layer.cu.o [ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_split_layer.cu.o [ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_swish_layer.cu.o [ 28%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tanh_layer.cu.o [ 28%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_threshold_layer.cu.o [ 28%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tile_layer.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adadelta_solver.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adagrad_solver.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adam_solver.cu.o [ 31%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_nesterov_solver.cu.o [ 31%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_rmsprop_solver.cu.o [ 32%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_sgd_solver.cu.o [ 32%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_im2col.cu.o [ 32%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layer.cpp.o [ 32%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o [ 32%] Building CXX object src/caffe/CMakeFiles/caffe.dir/common.cpp.o [ 34%] Building CXX object src/caffe/CMakeFiles/caffe.dir/blob.cpp.o [ 35%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/argmax_layer.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_conv_layer.cpp.o [ 38%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_data_layer.cpp.o [ 39%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_norm_layer.cpp.o [ 39%] Building CXX object src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o [ 39%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_reindex_layer.cpp.o [ 41%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/bias_layer.cpp.o [ 41%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/bnll_layer.cpp.o [ 41%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/clip_layer.cpp.o [ 42%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/concat_layer.cpp.o [ 42%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/contrastive_loss_layer.cpp.o [ 42%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/conv_layer.cpp.o [ 43%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/crop_layer.cpp.o [ 43%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o [ 45%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_deconv_layer.cpp.o [ 45%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lcn_layer.cpp.o [ 45%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lrn_layer.cpp.o [ 46%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_pooling_layer.cpp.o [ 46%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_relu_layer.cpp.o [ 46%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_sigmoid_layer.cpp.o [ 47%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_softmax_layer.cpp.o [ 47%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_tanh_layer.cpp.o [ 49%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/data_layer.cpp.o [ 49%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/deconv_layer.cpp.o [ 49%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/dropout_layer.cpp.o [ 50%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/dummy_data_layer.cpp.o [ 50%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/eltwise_layer.cpp.o [ 50%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/elu_layer.cpp.o [ 52%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/embed_layer.cpp.o [ 52%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/euclidean_loss_layer.cpp.o [ 53%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/exp_layer.cpp.o [ 53%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/filter_layer.cpp.o [ 53%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/flatten_layer.cpp.o [ 54%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_data_layer.cpp.o [ 54%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_output_layer.cpp.o [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hinge_loss_layer.cpp.o [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/im2col_layer.cpp.o [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/image_data_layer.cpp.o [ 57%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/infogain_loss_layer.cpp.o [ 57%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/inner_product_layer.cpp.o [ 57%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/input_layer.cpp.o [ 58%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/log_layer.cpp.o [ 58%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/loss_layer.cpp.o [ 60%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/lrn_layer.cpp.o [ 60%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/lstm_layer.cpp.o [ 60%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/lstm_unit_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/memory_data_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/multinomial_logistic_loss_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/mvn_layer.cpp.o [ 63%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/neuron_layer.cpp.o [ 63%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/parameter_layer.cpp.o [ 64%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/pooling_layer.cpp.o [ 64%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/power_layer.cpp.o [ 64%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/prelu_layer.cpp.o [ 65%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/recurrent_layer.cpp.o [ 65%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/reduction_layer.cpp.o [ 65%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/relu_layer.cpp.o [ 67%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/reshape_layer.cpp.o [ 67%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/rnn_layer.cpp.o [ 68%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/scale_layer.cpp.o [ 68%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_cross_entropy_loss_layer.cpp.o [ 68%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_layer.cpp.o [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/silence_layer.cpp.o [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/slice_layer.cpp.o [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_layer.cpp.o [ 71%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_loss_layer.cpp.o [ 71%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/split_layer.cpp.o [ 72%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/spp_layer.cpp.o [ 72%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/swish_layer.cpp.o [ 72%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/tanh_layer.cpp.o [ 73%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/threshold_layer.cpp.o [ 73%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/tile_layer.cpp.o [ 73%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/window_data_layer.cpp.o [ 75%] Building CXX object src/caffe/CMakeFiles/caffe.dir/net.cpp.o [ 75%] Building CXX object src/caffe/CMakeFiles/caffe.dir/parallel.cpp.o [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solver.cpp.o [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adadelta_solver.cpp.o [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adagrad_solver.cpp.o [ 78%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adam_solver.cpp.o [ 78%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/nesterov_solver.cpp.o [ 78%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/rmsprop_solver.cpp.o [ 79%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/sgd_solver.cpp.o [ 79%] Building CXX object src/caffe/CMakeFiles/caffe.dir/syncedmem.cpp.o [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/benchmark.cpp.o [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/blocking_queue.cpp.o [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/cudnn.cpp.o [ 82%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db.cpp.o [ 82%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db_leveldb.cpp.o [ 83%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db_lmdb.cpp.o [ 83%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/hdf5.cpp.o [ 83%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/im2col.cpp.o [ 84%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/insert_splits.cpp.o [ 84%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o [ 84%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/math_functions.cpp.o [ 86%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/signal_handler.cpp.o [ 86%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/upgrade_proto.cpp.o /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/io.cpp: In function ‘bool caffe::ReadProtoFromBinaryFile(const char, google::protobuf::Message)’: /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/io.cpp:57:66: error: no matching function for call to ‘google::protobuf::io::CodedInputStream::SetTotalBytesLimit(const int&, int)’ coded_input->SetTotalBytesLimit(kProtoReadBytesLimit, 536870912); ^ In file included from /home/toor/Desktop/openpose/openpose/3rdparty/caffe/src/caffe/util/io.cpp:2:0: /usr/local/include/google/protobuf/io/coded_stream.h:384:8: note: candidate: void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int) void SetTotalBytesLimit(int total_bytes_limit); ^~~~~~ /usr/local/include/google/protobuf/io/coded_stream.h:384:8: note: candidate expects 1 argument, 2 provided src/caffe/CMakeFiles/caffe.dir/build.make:1902: recipe for target 'src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o' failed make[5]: [src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o] Error 1 make[5]: Waiting for unfinished jobs.... CMakeFiles/Makefile2:376: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make[4]: [src/caffe/CMakeFiles/caffe.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make[3]: [all] Error 2 CMakeFiles/openpose_lib.dir/build.make:85: recipe for target 'caffe/src/openpose_lib-stamp/openpose_lib-build' failed make[2]: [caffe/src/openpose_lib-stamp/openpose_lib-build] Error 2 CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/openpose_lib.dir/all' failed make[1]: [CMakeFiles/openpose_lib.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2 `