SSD安装问题:.build_release/src/caffe/proto/caffe.pb.h:34304:59: error: no matching function for call to
Issue summary
In file included from ./include/caffe/util/cudnn.hpp:8:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from src/caffe/common.cpp:7:
.build_release/src/caffe/proto/caffe.pb.h: In member function ‘const string& caffe::V0LayerParameter::det_crop_mode() const’:
.build_release/src/caffe/proto/caffe.pb.h:34304:59: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::GetNoArena(std::cxx11::string*&) const’
return det_crop_mode.GetNoArena(default_det_crop_mode);
^
In file included from .build_release/src/caffe/proto/caffe.pb.h:23:0,
from ./include/caffe/util/cudnn.hpp:8,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from src/caffe/common.cpp:7:
/usr/local/include/google/protobuf/arenastring.h:231:31: note: candidate: const string& google::protobuf::internal::ArenaStringPtr::GetNoArena() const
inline const ::std::string& GetNoArena() const { return *ptr; }
^
/usr/local/include/google/protobuf/arenastring.h:231:31: note: candidate expects 0 arguments, 1 provided
Makefile:576: recipe for target '.build_release/src/caffe/common.o' failed
make: *** [.build_release/src/caffe/common.o] Error 1
Steps to reproduce
i am configureing the environment of SSD in caffe. after make all -j8 , the problem is arised
System configuration
Operating system: Ubuntu16.04
Compiler: gcc ++ 5.4.0
CUDA version (if applicable): 9.1.0
CUDNN version (if applicable): 5.0.0
BLAS:
Python version (if using pycaffe): 2.7
protobuf-3.0.0
In file included from ./include/caffe/util/cudnn.hpp:8:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from src/caffe/common.cpp:7:
.build_release/src/caffe/proto/caffe.pb.h: In member function ‘const string& caffe::V0LayerParameter::det_crop_mode() const’:
.build_release/src/caffe/proto/caffe.pb.h:34304:59: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::GetNoArena(std::cxx11::string*&) const’
return det_crop_mode.GetNoArena(default_det_crop_mode);
^
In file included from .build_release/src/caffe/proto/caffe.pb.h:23:0,
from ./include/caffe/util/cudnn.hpp:8,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from src/caffe/common.cpp:7:
/usr/local/include/google/protobuf/arenastring.h:231:31: note: candidate: const string& google::protobuf::internal::ArenaStringPtr::GetNoArena() const
inline const ::std::string& GetNoArena() const { return *ptr; }
^
/usr/local/include/google/protobuf/arenastring.h:231:31: note: candidate expects 0 arguments, 1 provided
Makefile:576: recipe for target '.build_release/src/caffe/common.o' failed
make: *** [.build_release/src/caffe/common.o] Error 1
Steps to reproduce
i am configureing the environment of SSD in caffe. after make all -j8 , the problem is arised
System configuration
Operating system: Ubuntu16.04
Compiler: gcc ++ 5.4.0
CUDA version (if applicable): 9.1.0
CUDNN version (if applicable): 5.0.0
BLAS:
Python version (if using pycaffe): 2.7
protobuf-3.0.0
1 个回复
sunshine123 - 90后IT
赞同来自: