Hi there, I want to use deploytool but I am not changing the compiler select ?

I have 64 bit computer and windows 8.1 .I am using matlab 2010a version. I am trying to run deplaytool but there is only microsoft visual studio 2005/2008 .But I need to built visual 2010 according to this link :http://www.mathworks.com/support/compilers/R2010a/win64.html#matlab. And this is the error message,
Could not find the 64-bit compiler. This may indicate that the
"X64 Compilers and Tools" or the Microsoft Windows Software
Development Kit (SDK) is not installed. To build 64-bit binaries,
Microsoft Visual C++ 2008 Express Edition requires that these two
packages be properly installed.

 Accepted Answer

3 Comments

thank you for your helping but I have one more error now like:
Warning: Applications/components generated using Microsoft Visual Studio
2008 require that the Microsoft Visual Studio 2008 run-time
libraries be available on the computer used for deployment.
To redistribute your applications/components, be sure that the
deployment machine has these run-time libraries.
**************************************************************************
Trying to update options file: C:\Users\Onur_Peker\AppData\Roaming\MathWorks\MATLAB\R2010a\compopts.bat
From template: D:\Program Files\matlab\bin\win64\mbuildopts\msvc90compp.bat
**************************************************************************
"C:\Users\Onur_Peker\Desktop\bitirme tezi\proje1 sadece airflow\gui files\exedosyası\draw\src\draw.c"
D:\PROGRAM FILES\MATLAB\BIN\MEX.PL: Error: Compile of
and also I have error buid surface ,
'C:\Users\Onur_Peker\Desktop\bitirme tezi\proje1 sadece airflow\gui files\exedosyası\draw\src\draw.c' failed.
Error: An error occurred while shelling out to mbuild (error code = 53).
Unable to build executable.
The first warning is fine - it just says you have to install those on the target computer also.
I don't know what the compile errors of your c code refer to. Something wrong with your C code I'd guess.
Thank you for your kind answer . I have solved problem.

Sign in to comment.

More Answers (1)

The original error message is telling you that you are on a 64-bit version of MATLAB, but your installation of Visual C++ 2008 doesn't include the 64-bit tools. You will likely need to reinstall Visual C++ and add these (back in this version of Visual C++, 64-bit tools were not installed by default).
See footnote 3 of the R2010a 64-bit Windows support compiler page for more information.
I'm fairly certain the redistributables will not be sufficient.

Categories

Community Treasure Hunt

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

Start Hunting!