not able to load Array Factory in shared C++ library

11 visualizaciones (últimos 30 días)
Jerald Rufus
Jerald Rufus el 11 de Jun. de 2021
Respondida: Yongjian Feng el 18 de Jul. de 2021
Hi,
Im creating a CAD automation tool in c++.
Im trying to integrate MATLAB into c++ using MATLAB shared c++ DATA API.
But the initialization of array factory fails with exception message failed to load library. (md::ArrayFactory factory;)
libMatlabCppSharedLib.lib & libMatlabDataArray.lib library files are already copied to the project folder and also added in reference files.
Kindly help

Respuestas (1)

Yongjian Feng
Yongjian Feng el 18 de Jul. de 2021
Check the dependency of those two libs you mentioned above. If matlab has trouble to find those, it can failed the load as well.

Categorías

Más información sobre Troubleshooting in MATLAB Compiler SDK en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by