- Microsoft Visual C++ 2010 x86 Redistributable
- Microsoft Visual C++ 2010 x64 Redistributable
Info
此问题已关闭。 请重新打开它进行编辑或回答。
compiling c-code in the windows 8 environment
1 次查看(过去 30 天)
显示 更早的评论
I have some c/c++ code that I previously had working using mexfunctions on a mac. I have since switched to a windows 8 operating system and can no longer compile with mex functions. I have downloaded visual basic professional 2013 but still get the error "No supported SDK or compiler was found on this computer." Does anyone know how to resolve this issue? I also tried downloading the free software Microsoft Windows SDK 7.1 but the installer failed (maybe because I am on windows 8?).
0 个评论
回答(2 个)
Harsheel
2013-9-23
Although Win SDK 7.1 is officially unsupported on Win 8, I have seen people successfully installing it and using it in MATLAB. Before installing the SDK, make sure you've removed the following two entities from your machine, if present:
After doing so, follow the steps mentioned below to install the SDK:
If the above doesn't resolve your issue, paste any error messages you may receive.
0 个评论
lithika
2013-12-27
If u r not able to solve the issue using the previously told method, Follow this...this might help u.. Step 1: Install microsoft SDK 7.1 in compatibility mode as told below (a)after the required file is downloaded from net, right click on the driver and select properties (b)select the compatibility tab,click the compatibility mode check box to select it (C)select the previous version of ur OS(i did as windows XP,SP2) (d)click OK now try to install the setup..
Now building the mex-files in matlab environment..... After installing microsoft SDK 7.1, in matlab 2012a (if u r using it) type "mex -setup" in the command window. list of the installed compiler will b displayed and select microsoft SDK 7.1 from the list..
Thats all.. U can use the C/C++ files,Mex files...
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!