Home > other >  Installed under ubuntu16.04 GCC 4.8 g cuda8 caffe compilation problems, noise, and the error
Installed under ubuntu16.04 GCC 4.8 g cuda8 caffe compilation problems, noise, and the error

Time:05-21

Make: * * * [. Build_release/tools/convert_imageset. Bin] Error 1
STD... Stringconstgoogle
: : build_releaseprotobuf/: tools:/iocaffe oCodedOutputStream Chuang latent 檕 尮? StdstringgoogleMakeCheckOpString
CudaError cudaError> (cudaError const& , cudaError const& , char const *) : '
Caffe. CPP (collect2: error: ld returned 1 exit status
. Text. _ZN6google17MakeCheckOpStringI9cudaErrorS1_EEPSsRKT_RKT0_PKc [_ZN6google17MakeCheckOpStringI9cudaErrorS1_EEPSsRKT_RKT0_PKc] + 0 x43) : the 'Google: : base: : CheckOpMessageBuilder: : NewString ()' undefined reference
. Build_release/tools/caffe. O: in function 'STD: : string * Google: : MakeCheckOpString (unsigned long const& , int const& , char const *) : '
Caffe. CPP: (. Text. _ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc [_ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc] + 0 x43) : the 'Google: : base: : CheckOpMessageBuilder: : NewString ()' in the Makefile: 625: a recipe for target '. Build_release/tools/compute_image_mean. Bin 'failed
Make: * * * [. Build_release/tools/compute_image_mean. Bin] Error 1
Refer to
. Build_release/tools/caffe. O: : in the function 'main'
Caffe. CPP: (. Text. The startup + 0 x3e) : the 'Google: : SetVersionString (STD: : string const&) Undefined reference to '
Caffe. CPP: (. Text. The startup + 0 x6e) : the 'Google: : SetUsageMessage (STD: : string const&) Undefined reference to '
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : Message: : InitializationErrorString () const undefined reference to'
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : WireFormatLite: : WriteStringMaybeAliased (int, STD: : string const& , Google: : protobuf: : IO: : CodedOutputStream *) undefined reference to '
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : IO: : CodedOutputStream: : WriteStringWithSizeToArray (STD: : string const& , unsigned char *) undefined reference to '
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : WireFormatLite: : ReadString (Google: : protobuf: : IO: : CodedInputStream *, STD: : string *)' undefined reference
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : Message: : GetTypeName () const undefined reference to'
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : Message: : DebugString () const undefined reference to'
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : empty_string_ undefined reference to'
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : MessageLite: : ParseFromString (STD: : string const&) Undefined reference to '
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : NameOfEnum (Google: : protobuf: : EnumDescriptor const *, int)' undefined reference
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : DescriptorPool: : FindFileByName (STD: : string const&) Undefined reference to const '
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : WireFormatLite: : ReadBytes (Google: : protobuf: : IO: : CodedInputStream *, STD: : string *)' undefined reference
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : StringTypeHandlerBase: : Delete (STD: : string *)' undefined reference
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : MessageFactory: : InternalRegisterGeneratedFile (char const *, void (*) (STD: : string const&) 'undefined reference
. Build_release/lib/libcaffe. So: the 'leveldb: : DB: : Open (leveldb: : Options const& , STD: : string const& , leveldb: : DB * *) undefined reference to '
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : WireFormatLite: : WriteBytesMaybeAliased (int, STD: : string const& , Google: : protobuf: : IO: : CodedOutputStream *) undefined reference to '
. Build_release/lib/libcaffe. So: the 'leveldb: : Status: : ToString () const undefined reference to'
. Build_release/lib/libcaffe. So: the 'Google: : protobuf: : internal: : WireFormatLite: : WriteString (int, STD: : string const& , Google: : protobuf: : IO: : CodedOutputStream *) undefined reference to '
Collect2: error: ld returned 1 exit status
Makefile: 625: the recipe for target '. Build_release/tools/caffe. Bin 'failed
Make: * * * [. Build_release/tools/caffe. Bin] Error 1
Complete error so I started to GCC g + + downgraded, cuda is 8, don't know what the code is the reason, cuda can that is not downgrade, only by online said in the dark? And if is a problem of GCC, 14, will be better?

Great god help genuflect is begged


CodePudding user response:

You change the permissions to try

CodePudding user response:

Solved?? I also encountered this problem,