From: Serhat Guven on 28 May 2010 18:36 Hi everyone, I was trying to build a project on Build EX but I got the following error. Error: An error occurred while shelling out to mbuild (error code = 2). Unable to build executable. I've changed my compiler with mbuild -setup and the followings are the steps: >> mbuild -setup Please choose your compiler for building standalone MATLAB applications: Would you like mbuild to locate installed compilers [y]/n? y Select a compiler: [1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2010a\sys\lcc [2] Microsoft Visual C++ 2008 Express in C:\Program Files\Microsoft Visual Studio 9.0 [0] None Compiler: 2 Please verify your choices: Compiler: Microsoft Visual C++ 2008 Express Location: C:\Program Files\Microsoft Visual Studio 9.0 Are these correct [y]/n? y **************************************************************************** Warning: Applications/components generated using Microsoft Visual C++ 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\serhat\AppData\Roaming\MathWorks\MATLAB\R2010a\compopts.bat From template: C:\PROGRA~1\MATLAB\R2010a\bin\win32\mbuildopts\msvc90freecompp.bat Done . . . I've installed the MS Visual Studio Express 2008 and tried to reinstall it but I still get the same error when I try to compile it for excel. But I can compile it as a standalone windows application (EXE). I would appreciate you kind help on this problem.
|
Pages: 1 Prev: * iDeAs on the Newsgroup * Next: regression through a fixed point |