How do I publish interface to shared C++ library that has nested library dependencies?
Show older comments
I am trying to use a C++ library through MATLAB, and I am following this documentation:
The example works fine. But I failed on this particular case I have. I am trying to access API of a static library (For example “A.lib”), and that library itself depends on another dynamic library (Let’s call it “B.dll”). I got unresolved symbol error. And the mentioned symbol is in "B.lib". Is there a way to capture this dependency when generating the interface?
Accepted Answer
More Answers (0)
Categories
Find more on Use Prebuilt MATLAB Interface to C/C++ Library in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!