pokachopotun commented on issue #10128: Shared library dependent on mxnet URL: https://github.com/apache/incubator-mxnet/issues/10128#issuecomment-377524736 The issue was resolved. Our code executes correctly, if it was compliled as a part of mxnet project tree. In particular, we added the following lines to incubator-mxnet/cpp-package/example/CMakeLists.txt. add_library(libexample SHARED test/lib.h test/lib.cpp) target_link_libraries(libexample ${CPP_EXAMPLE_LIBS}) add_dependencies(libexample ${CPPEX_DEPS}) add_executable(mxnetserver_test test/main.cpp) target_link_libraries(mxnetserver_test dl)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
