Can I load DLL compiled with unsupported C++ compiler?

The version of matlab (2012a) doesnt support the compiler used (which is intel c++ 13.0) that creating the DLL.
If a supported compiler, like these found in MS windows SDK 7.1, is installed, will the DLL still work flawlessly through Matlab's loadlibrary()?

Respuestas (1)

James Tursa
James Tursa el 16 de Nov. de 2012
Editada: James Tursa el 16 de Nov. de 2012
You will need to ensure that any other dependencies of the dll (e.g., libraries) are installed on your system and available to the dll. Also, I think loadlibrary uses the lcc compiler which is a C (not a C++) compiler. So if you have C++ stuff in your header file it will not work.

Categorías

Más información sobre C Shared Library Integration en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 16 de Nov. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by