mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

iOS compilation with amalgamate bash, undefined symbols for architecture arm64

Open Bathilde opened this issue 9 years ago • 2 comments

Hello,

I compiled the amalgamate with the make command. Then I followed this tutorial to make the code compatible https://github.com/apache/incubator-mxnet/tree/master/amalgamation#ios . I also updated the MSHADOW_USE_SSE define (like in this thread https://github.com/apache/incubator-mxnet/issues/4820).

It seems there is still one configuration issue. When I compile my code, I have an error of missing architecture arm64. (it is my current configuration)

Undefined symbols for architecture arm64:
  "dmlc::io::FileSystem::ListDirectoryRecursive(dmlc::io::URI const&, std::__1::vector<dmlc::io::FileInfo, std::__1::allocator<dmlc::io::FileInfo> >*)", referenced from:
      vtable for dmlc::io::LocalFileSystem in mxnet_predict-all.o
  "void mxnet::common::CastStorageDispatch<mshadow::cpu>(mxnet::OpContext const&, mxnet::NDArray const&, mxnet::NDArray const&)", referenced from:
      mxnet::common::CastNonDefaultStorage(std::__1::vector<mxnet::NDArray, std::__1::allocator<mxnet::NDArray> > const&, std::__1::vector<mxnet::NDArray, std::__1::allocator<mxnet::NDArray> > const&, mxnet::OpContext const&, bool) in mxnet_predict-all.o

This is the beginning of the issue, it has several more errors.

Do you have any idea what produces this error?

Bathilde avatar Nov 28 '17 16:11 Bathilde

Proposed Labels: "ARM", "Build", "Installation"

SuperLinguini avatar Mar 10 '18 00:03 SuperLinguini