8000 I tried to run the initial version of hdrnet. · Issue #27 · google/hdrnet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

I tried to run the initial version of hdrnet. #27

Open
AMDNO2022 opened this issue Mar 9, 2023 · 0 comments
Open

I tried to run the initial version of hdrnet. #27

AMDNO2022 opened this issue Mar 9, 2023 · 0 comments

Comments

@AMDNO2022
Copy link
AMDNO2022 commented Mar 9, 2023

I ran into this issue during the process of building the benchmark and couldn't solve it.

(hdrnet) root@ubuntu20.04:~/projects/hdrnet/benchmark$ make
c++ -std=c++11 -O2 -o bin/benchmark src/main.cc src/renderer.cc src/utils.cc src/processor.cc -fPIC -I 'pkg-config opencv --cflags' -Iinclude 'pkg-config opencv --libs' -L -ltensowflow -lglut -lGLEW -lGL -lgflags 
/usr/bin/ld: /tmp/ccwxiCGQ.o: in function 'main':
main.cc:(.text.startup+0x504): undefined reference to 'tensorflow::Tensor::Tensor()'
/usr/bin/ld: /tmp/ccwxiCGQ.o: in function 'std::string* tensorflow::internal::MakeCheckOpString<long, int>(long const&, int const&, char const*)':
main.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc]+0x1a): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::CheckOpMessageBuilder(char const*)'
/usr/bin/ld: main.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc]+0x30): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::ForVar2()'
/usr/bin/ld: main.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc]+0x43): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::NewString()'
/usr/bin/ld: main.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc]+0x50): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::~CheckOpMessageBuilder()'
/usr/bin/ld: main.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIliEEPSsRKT_RKT0_PKc]+0x69): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::~CheckOpMessageBuilder()'
/usr/bin/ld: /tmp/ccwxiCGQ.o: in function 'tensorflow::core::RefCounted::~RefCounted()':
main.cc:(.text._ZN10tensorflow4core10RefCountedD2Ev[_ZN10tensorflow4core10RefCountedD5Ev]+0x68): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: main.cc:(.text._ZN10tensorflow4core10RefCountedD2Ev[_ZN10tensorflow4core10RefCountedD5Ev]+0x84): undefined reference to 'tensorflow::internal::LogMessageFatal::~LogMessageFatal()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'HybridGLProcessor::process(cv::Mat const&, cv::Mat&)':
processor.cc:(.text+0x1b0): undefined reference to 'tensorflow::Tensor::CheckTypeAndIsAligned(tensorflow::DataType) const'
/usr/bin/ld: processor.cc:(.text+0x440): undefined reference to 'tensorflow::Tensor::CheckTypeAndIsAligned(tensorflow::DataType) const'
/usr/bin/ld: processor.cc:(.text+0x636): undefined reference to 'tensorflow::Status::ToString() const'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'DirectNetProcessor::process(cv::Mat const&, cv::Mat&)':
processor.cc:(.text+0x7fc): undefined reference to 'tensorflow::TensorShape::TensorShape(tensorflow::gtl::ArraySlice<long long>)'
/usr/bin/ld: processor.cc:(.text+0x80c): undefined reference to 'tensorflow::Tensor::Tensor(tensorflow::DataType, tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text+0x8cd): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x984): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x9c9): undefined reference to 'tensorflow::Tensor::CheckTypeAndIsAligned(tensorflow::DataType) const'
/usr/bin/ld: processor.cc:(.text+0xcad): undefined reference to 'tensorflow::Tensor::CheckTypeAndIsAligned(tensorflow::DataType) const'
/usr/bin/ld: processor.cc:(.text+0xe56): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: processor.cc:(.text+0xe72): undefined reference to 'tensorflow::internal::LogMessageFatal::~LogMessageFatal()'
/usr/bin/ld: processor.cc:(.text+0xe92): undefined reference to 'tensorflow::TensorShape::SlowCopyFrom(tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text+0xedd): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: processor.cc:(.text+0xf11): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: processor.cc:(.text+0xf20): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: processor.cc:(.text+0xf7a): undefined reference to 'tensorflow::Status::ToString() const'
/usr/bin/ld: processor.cc:(.text+0x1061): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: processor.cc:(.text+0x1189): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x11c3): undefined reference to 'tensorflow::internal::LogMessageFatal::~LogMessageFatal()'
/usr/bin/ld: processor.cc:(.text+0x11db): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'Processor::~Processor()':
processor.cc:(.text+0x1259): undefined reference to 'tensorflow::GraphDef::~GraphDef()'
/usr/bin/ld: processor.cc:(.text+0x12a0): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x12d5): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x1303): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'Processor::Processor(int, int, std::string, bool)':
processor.cc:(.text+0x15e0): undefined reference to 'tensorflow::Tensor::Tensor()'
/usr/bin/ld: processor.cc:(.text+0x1651): undefined reference to 'tensorflow::GraphDef::GraphDef()'
/usr/bin/ld: processor.cc:(.text+0x1660): undefined reference to 'tensorflow::SessionOptions::SessionOptions()'
/usr/bin/ld: processor.cc:(.text+0x1678): undefined reference to 'tensorflow::NewSession(tensorflow::SessionOptions const&, tensorflow::Session**)'
/usr/bin/ld: processor.cc:(.text+0x1681): undefined reference to 'tensorflow::ConfigProto::~ConfigProto()'
/usr/bin/ld: processor.cc:(.text+0x16d2): undefined reference to 'tensorflow::Env::Default()'
/usr/bin/ld: processor.cc:(.text+0x16e9): undefined reference to 'tensorflow::ReadBinaryProto(tensorflow::Env*, std::string const&, google::protobuf::MessageLite*)'
/usr/bin/ld: processor.cc:(.text+0x1702): undefined reference to 'tensorflow::Status::SlowCopyFrom(tensorflow::Status::State const*)'
/usr/bin/ld: processor.cc:(.text+0x1866): undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
/usr/bin/ld: processor.cc:(.text+0x1875): undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const*)'
/usr/bin/ld: processor.cc:(.text+0x1880): undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
/usr/bin/ld: processor.cc:(.text+0x1888): undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
/usr/bin/ld: processor.cc:(.text+0x18a5): undefined reference to 'google::protobuf::internal::fixed_address_empty_string'
/usr/bin/ld: processor.cc:(.text+0x18f8): undefined reference to 'tensorflow::Status::SlowCopyFrom(tensorflow::Status::State const*)'
/usr/bin/ld: processor.cc:(.text+0x1975): undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
/usr/bin/ld: processor.cc:(.text+0x1984): undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const*)'
/usr/bin/ld: processor.cc:(.text+0x198f): undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
/usr/bin/ld: processor.cc:(.text+0x1997): undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
/usr/bin/ld: processor.cc:(.text+0x1a12): undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
/usr/bin/ld: processor.cc:(.text+0x1a43): undefined reference to 'tensorflow::GraphDef::~GraphDef()'
/usr/bin/ld: processor.cc:(.text+0x1a87): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x1abb): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x1ae9): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x1bb2): undefined reference to 'tensorflow::Status::ToString() const'
/usr/bin/ld: processor.cc:(.text+0x1c48): undefined reference to 'tensorflow::ConfigProto::~ConfigProto()'
/usr/bin/ld: processor.cc:(.text+0x1cc5): undefined reference to 'tensorflow::Status::ToString() const'
/usr/bin/ld: processor.cc:(.text+0x1d9a): undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
/usr/bin/ld: processor.cc:(.text+0x1eb4): undefined reference to 'tensorflow::Status::ToString() const'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'HybridGLProcessor::HybridGLProcessor(int, int, std::string, bool, std::string)':
processor.cc:(.text+0x2034): undefined reference to 'tensorflow::TensorShape::TensorShape(tensorflow::gtl::ArraySlice<long long>)'
/usr/bin/ld: processor.cc:(.text+0x204c): undefined reference to 'tensorflow::Tensor::Tensor(tensorflow::DataType, tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text+0x20fa): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x21a8): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x2332): undefined reference to 'tensorflow::TensorShape::dim_size(int) const'
/usr/bin/ld: processor.cc:(.text+0x2346): undefined reference to 'tensorflow::TensorShape::dim_size(int) const'
/usr/bin/ld: processor.cc:(.text+0x235a): undefined reference to 'tensorflow::TensorShape::dim_size(int) const'
/usr/bin/ld: processor.cc:(.text+0x23f5): undefined reference to 'tensorflow::TensorShape::SlowCopyFrom(tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text+0x2432): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: processor.cc:(.text+0x244a): undefined reference to 'tensorflow::internal::LogMessageFatal::~LogMessageFatal()'
/usr/bin/ld: processor.cc:(.text+0x248c): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: processor.cc:(.text+0x24a8): undefined reference to 'tensorflow::internal::LogMessageFatal::~LogMessageFatal()'
/usr/bin/ld: processor.cc:(.text+0x24b4): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: processor.cc:(.text+0x24c1): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: processor.cc:(.text+0x259a): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text+0x25ac): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: processor.cc:(.text+0x25dd): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'std::pair<std::string, tensorflow::Tensor>::~pair()':
processor.cc:(.text._ZNSt4pairISsN10tensorflow6TensorEED2Ev[_ZNSt4pairISsN10tensorflow6TensorEED5Ev]+0xd): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'void google::protobuf::Arena::Own<std::string>(std::string*)':
processor.cc:(.text._ZN6google8protobuf5Arena3OwnISsEEvPT_[_ZN6google8protobuf5Arena3OwnISsEEvPT_]+0xd): undefined reference to 'google::protobuf::Arena::AddListNode(void*, void (*)(void*))'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'google::protobuf::internal::ArenaStringPtr::CreateInstance(google::protobuf::Arena*, std::string const*)':
processor.cc:(.text._ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs[_ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs]+0x6a): undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
/usr/bin/ld: processor.cc:(.text._ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs[_ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs]+0x79): undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const*)'
/usr/bin/ld: processor.cc:(.text._ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs[_ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs]+0x86): undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
/usr/bin/ld: processor.cc:(.text._ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs[_ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs]+0x8e): undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
/usr/bin/ld: processor.cc:(.text._ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs[_ZN6google8protobuf8internal14ArenaStringPtr14CreateInstanceEPNS0_5ArenaEPKSs]+0xb8): undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'std::string* tensorflow::internal::MakeCheckOpString<unsigned long, unsigned long>(unsigned long const&, unsigned long const&, char const*)':
processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x1a): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::CheckOpMessageBuilder(char const*)'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x30): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::ForVar2()'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x44): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::NewString()'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x51): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::~CheckOpMessageBuilder()'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringImmEEPSsRKT_RKT0_PKc]+0x6a): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::~CheckOpMessageBuilder()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'std::string* tensorflow::internal::MakeCheckOpString<long long, long long>(long long const&, long long const&, char const*)':
processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc]+0x1a): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::CheckOpMessageBuilder(char const*)'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc]+0x30): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::ForVar2()'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc]+0x44): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::NewString()'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc]+0x51): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::~CheckOpMessageBuilder()'
/usr/bin/ld: processor.cc:(.text._ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc[_ZN10tensorflow8internal17MakeCheckOpStringIxxEEPSsRKT_RKT0_PKc]+0x6a): undefined reference to 'tensorflow::internal::CheckOpMessageBuilder::~CheckOpMessageBuilder()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'tensorflow::core::RefCounted::Ref() const':
processor.cc:(.text._ZNK10tensorflow4core10RefCounted3RefEv[_ZNK10tensorflow4core10RefCounted3RefEv]+0x6b): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: processor.cc:(.text._ZNK10tensorflow4core10RefCounted3RefEv[_ZNK10tensorflow4core10RefCounted3RefEv]+0x87): undefined reference to 'tensorflow::internal::LogMessageFatal::~LogMessageFatal()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'void std::vector<std::pair<std::string, tensorflow::Tensor>, std::allocator<std::pair<std::string, tensorflow::Tensor> > >::_M_assign_aux<std::pair<std::string, tensorflow::Tensor> const*>(std::pair<std::string, tensorflow::Tensor> const*, std::pair<std::string, tensorflow::Tensor> const*, std::forward_iterator_tag)':
processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0xb7): undefined reference to 'tensorflow::Tensor::CopyFromInternal(tensorflow::Tensor const&, tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0xf5): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0x206): undefined reference to 'tensorflow::TensorShape::SlowCopyFrom(tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0x235): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0x2df): undefined reference to 'tensorflow::Tensor::CopyFromInternal(tensorflow::Tensor const&, tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0x3a1): undefined reference to 'tensorflow::TensorShape::SlowCopyFrom(tensorflow::TensorShape const&)'
/usr/bin/ld: processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0x492): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: processor.cc:(.text._ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag[_ZNSt6vectorISt4pairISsN10tensorflow6TensorEESaIS3_EE13_M_assign_auxIPKS3_EEvT_S9_St20forward_iterator_tag]+0x4fe): undefined reference to 'tensorflow::TensorShape::DestructorOutOfLine()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'void tensorflow::Tensor::FillDimsAndValidateCompatibleShape<1ul>(tensorflow::gtl::ArraySlice<long long>, std::array<long, 1ul>*) const':
processor.cc:(.text._ZNK10tensorflow6Tensor34FillDimsAndValidateCompatibleShapeILm1EEEvNS_3gtl10ArraySliceIxEEPSt5arrayIlXT_EE[_ZNK10tensorflow6Tensor34FillDimsAndValidateCompatibleShapeILm1EEEvNS_3gtl10ArraySliceIxEEPSt5arrayIlXT_EE]+0xa4): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: processor.cc:(.text._ZNK10tensorflow6Tensor34FillDimsAndValidateCompatibleShapeILm1EEEvNS_3gtl10ArraySliceIxEEPSt5arrayIlXT_EE[_ZNK10tensorflow6Tensor34FillDimsAndValidateCompatibleShapeILm1EEEvNS_3gtl10ArraySliceIxEEPSt5arrayIlXT_EE]+0xc0): undefined reference to 'tensorflow::internal::LogMessageFatal::~LogMessageFatal()'
/usr/bin/ld: processor.cc:(.text._ZNK10tensorflow6Tensor34FillDimsAndValidateCompatibleShapeILm1EEEvNS_3gtl10ArraySliceIxEEPSt5arrayIlXT_EE[_ZNK10tensorflow6Tensor34FillDimsAndValidateCompatibleShapeILm1EEEvNS_3gtl10ArraySliceIxEEPSt5arrayIlXT_EE]+0xd9): undefined reference to 'tensorflow::internal::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'DirectNetProcessor::~DirectNetProcessor()':
processor.cc:(.text._ZN18DirectNetProcessorD2Ev[_ZN18DirectNetProcessorD5Ev]+0x40): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text._ZN18DirectNetProcessorD2Ev[_ZN18DirectNetProcessorD5Ev]+0x85): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text._ZN18DirectNetProcessorD2Ev[_ZN18DirectNetProcessorD5Ev]+0xb7): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: /tmp/ccEET4pQ.o: in function 'DirectNetProcessor::~DirectNetProcessor()':
processor.cc:(.text._ZN18DirectNetProcessorD0Ev[_ZN18DirectNetProcessorD0Ev]+0x40): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: processor.cc:(.text._ZN18DirectNetProcessorD0Ev[_ZN18DirectNetProcessorD0Ev]+0x85): undefined reference to 'tensorflow::Tensor::~Tensor()'
/usr/bin/ld: /tmp/ccEET4pQ.o:processor.cc:(.text._ZN18DirectNetProcessorD0Ev[_ZN18DirectNetProcessorD0Ev]+0xb7): more undefined references to 'tensorflow::Tensor::~Tensor()' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:21: bin/benchmark] Error 1

Environment now:
1. Python 2.7
2. gcc 4.8
3. CUDA 8.0
4. tensorflow 1.1.0
5. protoc 3.2.0
6. OpenCV 2.4.10

I also noticed that both TF_DIR and TF_INC should be set to a certain value, but I didn't. There are many other compilation related issues, but I have solved them all until here.

......

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0