INDEMIND / IMSEE-SDK

双目惯性模组SDK
30 stars 15 forks source link

libMNN.so not found #1

Closed shaoxiang closed 4 years ago

shaoxiang commented 4 years ago

ubuntu16.04 编译显示找不到 libMNN.so undefined reference to MNN::Tensor::shape() const' undefined reference toMNN::Tensor::copyFromHostTensor(MNN::Tensor const)' undefined reference to `MNN::Interpreter::getSessionInput(MNN::Session const, char const)' undefined reference to MNN::Tensor::size() const' undefined reference toMNN::Tensor::create(std::vector<int, std::allocator > const&, halide_type_t, void, MNN::Tensor::DimensionType)' undefined reference to MNN::Interpreter::releaseSession(MNN::Session*)' undefined reference toMNN::Interpreter::getBackend(MNN::Session const, MNN::Tensor const) const' undefined reference to MNN::Tensor::getDimensionType() const' undefined reference toMNN::Tensor::~Tensor()' undefined reference to MNN::Interpreter::releaseModel()' undefined reference toMNN::Interpreter::getSessionOutput(MNN::Session const, char const)' undefined reference to MNN::Interpreter::runSession(MNN::Session*) const' undefined reference toMNN::Interpreter::createFromFile(char const)' undefined reference to `MNN::Tensor::copyToHostTensor(MNN::Tensor) const' undefined reference to MNN::Interpreter::~Interpreter()' undefined reference toMNN::Interpreter::createSession(MNN::ScheduleConfig const&)'

shaoxiang commented 4 years ago

解决方法: https://www.yuque.com/mnn/cn/build_linux 编译后将libMNN.so 拷贝到 IMSEE-SDK/lib 下