Error is throwing when trying to convert C++ shared library using library compiler.
Show older comments
When i try to compile .m file with library compiler c++ shared library it gives error there is error creating package.

3 Comments
Walter Roberson
on 25 Feb 2019
Okay, so install one of Visual Studios 2015 Professional, or any Visual Studios 2017 edition, or the MinGW version appropriate for your release.
... Or at least that would be what you would use for the last few releases of MATLAB. The fact that it checked for VS 2012 at all suggests to me that you are using an older MATLAB release and forgot to mention that rather relevant fact to us.
Ravi Singh
on 26 Feb 2019
Walter Roberson
on 26 Feb 2019
For R2017a, to use MATLAB Compiler SDK, you need one of: VS 2012 Professional; VS 2013 Professional; VS 2015 Professional; VS 2017 (any edition.). If you are not building for .NET then you can also use SDK 7.1 if that is supported on your operating system (installing SDK 7.1 on Windows 10 can be difficult.)
Answers (0)
Categories
Find more on MATLAB Compiler SDK 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!