In order to use my compiled mex function windows SDK 7.1 is required... Does anyone know why?
6 ビュー (過去 30 日間)
古いコメントを表示
To put in more deal, I have all of the c++ redistributable packages installed also. But i would like to make it so windows SDK 7.1 is not required. These are the libraries I am using in my c++ code:
#include stdio.h #include stdlib.h #include string.h #include math.h #include vector #include io.h #include share.h #include limits.h #include iostream #include io.h #include share.h #include limits.h
Sorry if not the most matlab related question, but if someone helps me on this, it would be much appreciated.
1 件のコメント
採用された回答
Friedrich
2013 年 7 月 17 日
Hi,
You don't need the SDK 7.1 in order to run a compiled component, e.g. a mex file. You simply need the Visual Studio 2010 (32bit or 64bit) redistributbale package.
BUT: If you compile you mex in DEBUG mode (-g flag) you need the SDk 7.1 in order to ship the debug version of some libraries. The redistributable package does NOT ship those debug libraries.
If this does not help, use the dependecy walker to do a runtime profile of the MATLAB.exe which tries to use the mex file. This will show you which DLL is missing.
0 件のコメント
その他の回答 (2 件)
Lokesh Ravindranathan
2013 年 7 月 17 日
Note, you are use a mex file http://en.wikipedia.org/wiki/MEX_file. MEX file have dependencies. This could be one reason why windows SDK 7.1 is required.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Troubleshooting in MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!