Hi guys:
I have installation problem when I wan installing detectron. I found that when I make ops, it is always have some pretty strange error like this :+1:
(caffe2_env) (/data1/wdyli/miniconda3) [wdyli@TENCENT64 ~/densepose]$ make ops
mkdir -p build && cd build && cmake .. && make -j56
-- Caffe2: Cannot find gflags automatically. Using legacy find.
-- Caffe2: Found gflags (include: /usr/include, library: /usr/lib64/libgflags.so)
-- Caffe2: Cannot find glog automatically. Using legacy find.
-- Caffe2: Found glog (include: /usr/include, library: /usr/lib64/libglog.so)
-- Caffe2: Found protobuf with new-style protobuf targets.
-- Caffe2: Protobuf version 2.5.0
-- Caffe2: CUDA detected: 8.0
-- Caffe2: CUDA nvcc is: /data1/wdyli/softwares/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /data1/wdyli/softwares/cuda
-- Caffe2: Header version is: 8.0
-- Found cuDNN: v7.1.3 (include: /data1/wdyli/softwares/cuda/include, library: /data1/wdyli/softwares/cuda/lib64/libcudnn.so)
-- Autodetected CUDA architecture(s): 5.2 5.2 5.2 5.2 5.2 5.2 5.2 5.2
-- Added CUDA NVCC flags for: -gencode;arch=compute_52,code=sm_52
-- Summary:
-- CMake version : 3.12.2
-- CMake command : /data1/wdyli/miniconda2/envs/caffe2_env/bin/cmake
-- System name : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler version : 4.8.5
-- CXX flags : -std=c++11 -O2 -fPIC -Wno-narrowing
-- Caffe2 version : 0.8.2
-- Caffe2 include path : /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include
-- Caffe2 found CUDA : True
-- CUDA version : 8.0
-- CuDNN version : 7.1.3
-- Configuring done
-- Generating done
-- Build files have been written to: /data1/wdyli/densepose/build
make[1]: Entering directory `/data1/wdyli/densepose/build'
make[2]: Entering directory `/data1/wdyli/densepose/build'
make[3]: Entering directory `/data1/wdyli/densepose/build'
make[3]: Entering directory `/data1/wdyli/densepose/build'
[ 12%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_pool_points_interp.cu.o
[ 25%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o
make[3]: Leaving directory `/data1/wdyli/densepose/build'
make[3]: Entering directory `/data1/wdyli/densepose/build'
[ 37%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o
[ 50%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/pool_points_interp.cc.o
nvcc fatal : Could not open output file '/tmp/tmpxft_00009d5d_00000000'
CMake Error at caffe2_detectron_custom_ops_gpu_generated_pool_points_interp.cu.o.cmake:219 (message):
Error generating
/data1/wdyli/densepose/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/./caffe2_detectron_custom_ops_gpu_generated_pool_points_interp.cu.o
make[3]: *** [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_pool_points_interp.cu.o] Error 1
make[3]: *** Waiting for unfinished jobs....
nvcc fatal : Could not open output file '/tmp/tmpxft_00009d5e_00000000'
CMake Error at caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cmake:219 (message):
Error generating
/data1/wdyli/densepose/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o
make[3]: *** [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o] Error 1
make[3]: Leaving directory `/data1/wdyli/densepose/build'
make[2]: *** [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/logging.h:11:0,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/allocator.h:6,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/context.h:9,
from /data1/wdyli/densepose/detectron/ops/zero_even_op.h:12,
from /data1/wdyli/densepose/detectron/ops/zero_even_op.cc:9:
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
^
In file included from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/logging.h:11:0,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/allocator.h:6,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/context.h:9,
from /data1/wdyli/densepose/detectron/ops/pool_points_interp.h:13,
from /data1/wdyli/densepose/detectron/ops/pool_points_interp.cc:10:
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
^
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
^
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
^
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:14:2: error: #error your headers.
#error your headers.
^
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:14:2: error: #error your headers.
#error your headers.
^
In file included from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/logging.h:11:0,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/allocator.h:6,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/context.h:9,
from /data1/wdyli/densepose/detectron/ops/pool_points_interp.h:13,
from /data1/wdyli/densepose/detectron/ops/pool_points_interp.cc:10:
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:23:35: fatal error: google/protobuf/arena.h: No such file or directory
#include <google/protobuf/arena.h>
^
compilation terminated.
In file included from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/logging.h:11:0,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/allocator.h:6,
from /data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/core/context.h:9,
from /data1/wdyli/densepose/detectron/ops/zero_even_op.h:12,
from /data1/wdyli/densepose/detectron/ops/zero_even_op.cc:9:
/data1/wdyli/miniconda2/pkgs/caffe2-cuda8.0-cudnn7-0.8.dev-py27_2018.07.20/include/caffe2/proto/caffe2.pb.h:23:35: fatal error: google/protobuf/arena.h: No such file or directory
#include <google/protobuf/arena.h>
^
compilation terminated.
make[3]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/pool_points_interp.cc.o] Error 1
make[3]: Leaving directory `/data1/wdyli/densepose/build'
make[2]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/all] Error 2
make[2]: Leaving directory `/data1/wdyli/densepose/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data1/wdyli/densepose/build'
make: *** [ops] Error 2
can someone help me? I have no idea what's wrong with it. Also, my protoc version is 2.5.0, and I tried protoc version 2.6.1 and 3.5 etc, and none of them works!
Hi guys: I have installation problem when I wan installing detectron. I found that when I make ops, it is always have some pretty strange error like this :+1:
can someone help me? I have no idea what's wrong with it. Also, my protoc version is 2.5.0, and I tried protoc version 2.6.1 and 3.5 etc, and none of them works!