The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: deploytool using
Replies: 2   Last Post: Jan 13, 2013 3:31 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 4
Registered: 12/19/12
Re: deploytool using
Posted: Jan 13, 2013 3:27 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Hany " <> wrote in message <kc1hb7$pdj$>...
> 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

and when using mbuild -v this happen

mbuild -v u1.m
This is mbuild Copyright 1984-2006 The MathWorks, Inc.

-> Default options filename found in C:\Documents and Settings\Hany.FME-560DD15B3B3\Application Data\MathWorks\MATLAB\R2009a
-> Options file = C:\Documents and Settings\Hany.FME-560DD15B3B3\Application Data\MathWorks\MATLAB\R2009a\compopts.bat
-> COMPILER = cl
-> Compiler flags:
COMPFLAGS = -c -Zp8 -G5 -GX -W3 -nologo
arguments =
Name switch = /Fo
-> Pre-linking commands =
-> LINKER = link
-> Link directives:
LINKFLAGS = kernel32.lib user32.lib gdi32.lib advapi32.lib oleaut32.lib ole32.lib /LIBPATH:"E:\Mat2009\extern\lib\win32\microsoft" /nologo mclmcrrt.lib
Name directive = "/out:u1.exe"
File link directive =
Lib. link directive =
Rsp file indicator = @
-> Resource Compiler = rc /fo ".res"
-> Resource Linker =

Contents of C:\WINDOWS.4\TEMP\MBUILD~1\mbuild_tmp.rsp:

--> link "/out:u1.exe" kernel32.lib user32.lib gdi32.lib advapi32.lib oleaut32.lib ole32.lib /LIBPATH:"E:\Mat2009\extern\lib\win32\microsoft" /nologo mclmcrrt.lib @C:\WINDOWS.4\TEMP\MBUILD~1\MBUILD~1.RSP

u1.m : fatal error LNK1136: invalid or corrupt file

E:\MAT2009\BIN\MEX.PL: Error: Link of 'u1.exe' failed.

??? Error using ==> mbuild at 190
Unable to complete successfully.

> therefore i appreciate if u can help
> thanks...

Date Subject Author
Read deploytool using
Read Re: deploytool using
Read deploytool using

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.