Date: Jan 2, 2013 9:48 AM
Author: Hany
Subject: deploytool using

errors happened during deployment:
my system is windows xp and using matlab2009a
with mbuild command i selected c once and c++ once but in both i have the same errors when i try get the standalone application
the results:
Build output( 2013-01-02 16:33:05).

mcc -F 'E:\Mat2009\work\tst1.prj'

MATLAB:I18n:InconsistentLocale - The system locale setting, English (United States)_United States.1252, is different from the user locale setting, Arabic (Egypt)_Egypt.1256.
mcc -o 'tst1' -W 'main' -d 'E:\Mat2009\work\tst1\src' -T 'link:exe' -v 'E:\Mat2009\work\tst1.m'
Compiler version: 4.10 (R2009a)
Processing E:\Mat2009\work\tst1.fig
Processing E:\Mat2009\toolbox\matlab\guide\guideopts.fig
Processing E:\Mat2009\toolbox\matlab\winfun\actxcontrolselect.fig
Processing E:\Mat2009\toolbox\matlab\winfun\actxcontrolcreateproperty.fig
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file E:\Mat2009\work\tst1\src\mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
2 item(s) added.
Generating MATLAB path for the compiled application...
Created 41 path items.
Begin validation of MEX files: Wed Jan 02 16:33:51 2013
End validation of MEX files: Wed Jan 02 16:33:51 2013
Parsing file "E:\Mat2009\work\tst1.m"
(Referenced from: "Compiler Command Line").
Parsing file "E:\Mat2009\toolbox\compiler\deploy\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "E:\Mat2009\toolbox\compiler\deploy\printdlg.m"
(Referenced from: "Compiler Command Line").
Deleting 0 temporary MEX authorization files.
Generating file "E:\Mat2009\work\tst1\src\tst1_main.c".
Generating file "E:\Mat2009\work\tst1\src\tst1_delay_load.c".
Generating file "E:\Mat2009\work\tst1\src\readme.txt".
Generating file "E:\Mat2009\work\tst1\src\tst1_mcc_component_data.c".
Executing command: mbuild -O -v -output "tst1" -I"E:\Mat2009\work\tst1\src" "E:\Mat2009\work\tst1\src\tst1_main.c" "E:\Mat2009\work\tst1\src\tst1_delay_load.c" "E:\Mat2009\work\tst1\src\tst1_mcc_component_data.c" -link exe -env MCR_DELAYLOAD=/delayload:mclmcrrt710.dll -env MCR_DELAYLIB=delayimp.lib -outdir "E:\Mat2009\work\tst1\src"
Error: An error occurred while shelling out to mbuild (error code = -1).
Unable to build executable.
??? Error using ==> mcc
Error executing mcc, return status = 1 (0x1).



There were errors during compilation process.

i couldn't found help for error code=-1
therefore i appreciate if u can help
thanks...