Open aiqiangbrave opened 2 years ago
感谢感谢,thank you! environment: cuda :10.0 gcc:6.5.0 python3.6
Specific error as follow: ..build_releasebuild_release//liblib//libcaffe.solibcaffe.so:: undefinedundefined referencereference toto ``googlegoogle::::LogMessageLogMessage::::LogMessageLogMessage((charchar constconst,, intint,, intint,, unsignedunsigned longlong,, voidvoid ((googlegoogle::::LogMessageLogMessage::::))(())))''
collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/caffemodel2txt.bin' failed make: [.build_release/tools/caffemodel2txt.bin] Error 1 make: Waiting for unfinished jobs.... Makefile:635: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed make: [.build_release/tools/upgrade_net_proto_binary.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `google::LogMessage::LogMessage(char const, int, int, unsigned long, void (google::LogMessage::)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/caffe_yolov5s.bin' failed make: [.build_release/tools/caffe_yolov5s.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to google::LogMessage::LogMessage(char const*, int, int, unsigned long, void (google::LogMessage::*)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/convert_imageset.bin' failed make: *** [.build_release/tools/convert_imageset.bin] Error 1 .build_release/lib/.libcaffe.so:build_release /undefinedlib /referencelibcaffe.so :to undefined googlereference: :toLogMessage ::googleLogMessage:(:charLogMessage :const:*LogMessage,( charint ,const *int,, intunsigned, longint,, voidunsigned (longgoogle,: :voidLogMessage :(:google*:):(LogMessage):):'* )())' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/extract_features.bin' failed make: *** [.build_release/tools/extract_features.bin] Error 1 Makefile:635: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference togoogle::LogMessage::LogMessage(char const, int, int, unsigned long, void (google::LogMessage::)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/caffe.bin' failed make: [.build_release/tools/caffe.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `google::LogMessage::LogMessage(char const, int, int, unsigned long, void (google::LogMessage::)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/compute_image_mean.bin' failed make: [.build_release/tools/compute_image_mean.bin] Error 1
google::LogMessage::LogMessage(char const*, int, int, unsigned long, void (google::LogMessage::*)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/convert_imageset.bin' failed make: *** [.build_release/tools/convert_imageset.bin] Error 1 .build_release/lib/.libcaffe.so:build_release /undefinedlib /referencelibcaffe.so :to undefined
:googleLogMessage:(:charLogMessage :const:*LogMessage,( charint ,const *int,, intunsigned, longint,, voidunsigned (longgoogle,: :voidLogMessage :(:google*:):(LogMessage):):'* )())' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/extract_features.bin' failed make: *** [.build_release/tools/extract_features.bin] Error 1 Makefile:635: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to
感谢感谢,thank you! environment: cuda :10.0 gcc:6.5.0 python3.6
Specific error as follow: ..build_releasebuild_release//liblib//libcaffe.solibcaffe.so:: undefinedundefined referencereference toto ``googlegoogle::::LogMessageLogMessage::::LogMessageLogMessage((charchar constconst,, intint,, intint,, unsignedunsigned longlong,, voidvoid ((googlegoogle::::LogMessageLogMessage::::))(())))''
collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/caffemodel2txt.bin' failed make: [.build_release/tools/caffemodel2txt.bin] Error 1 make: Waiting for unfinished jobs.... Makefile:635: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed make: [.build_release/tools/upgrade_net_proto_binary.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `google::LogMessage::LogMessage(char const, int, int, unsigned long, void (google::LogMessage::)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/caffe_yolov5s.bin' failed make: [.build_release/tools/caffe_yolov5s.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to
google::LogMessage::LogMessage(char const*, int, int, unsigned long, void (google::LogMessage::*)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/convert_imageset.bin' failed make: *** [.build_release/tools/convert_imageset.bin] Error 1 .build_release/lib/.libcaffe.so:build_release /undefinedlib /referencelibcaffe.so :to undefined
googlereference: :toLogMessage ::googleLogMessage:(:charLogMessage :const:*LogMessage,( charint ,const *int,, intunsigned, longint,, voidunsigned (longgoogle,: :voidLogMessage :(:google*:):(LogMessage):):'* )())' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/extract_features.bin' failed make: *** [.build_release/tools/extract_features.bin] Error 1 Makefile:635: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to
google::LogMessage::LogMessage(char const, int, int, unsigned long, void (google::LogMessage::)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/caffe.bin' failed make: [.build_release/tools/caffe.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `google::LogMessage::LogMessage(char const, int, int, unsigned long, void (google::LogMessage::)())' collect2: error: ld returned 1 exit status Makefile:635: recipe for target '.build_release/tools/compute_image_mean.bin' failed make: [.build_release/tools/compute_image_mean.bin] Error 1