Why do I receive error messages when I try to compile the MATLAB Compiler 4.1 (R14SP1) MRANK example files?

1 view (last 30 days)
When I run make from the directory $MATLAB/extern/examples/compiler, where $MATLAB is the root directory of my MATLAB installation on Linux, I receive the following error messages
make: batarch: Command not found
/home/gfranklin/matlab/bin/mcc -m main.m mrank.m -o mrank.
Warning: Unable to open display , MATLAB is starting without a
display.
You will not be able to display graphics on the screen.
Warning: No window system found. Java option 'MWT' ignored.
< M C R >
Copyright 1984-2004 MathWorks, Inc.
Version 7.0.1.24704 (R14) Service Pack 1
September 13, 2004
----------------------------------------------------------
Your MATLAB license will expire in 00 days.
Please contact your system administrator or
MathWorks to renew this license.
----------------------------------------------------------
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
??? Error: File:
/d0/home/gfranklin/matlab/toolbox/matlab/uitools/pagesetupdlg.m Line:
1651 Column: 8
Arguments to IMPORT must either end with ".*"
or else specify a fully qualified class name:
"com.mathworks.page.export.pagesetup.PageSetupDialog" fails this test.
??? Error: File:
/d0/home/gfranklin/matlab/toolbox/matlab/uitools/pagesetupdlg.m Line:
1651 Column: 8
Arguments to IMPORT must either end with ".*"
or else specify a fully qualified class name:
"com.mathworks.page.export.pagesetup.PageSetupDialog" fails this test.
DEMO Compiler license.
The generated application will expire 30 days from today,
on Sun Nov 21 11:16:46 2004.
mrank.c:13: parse error before `.'
...

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 5 Aug 2010
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in the Makefiles found in $MATLAB/extern/examples/compiler, where $MATLAB is the root directory of your $MATLAB installation, which were shipped with MATLAB 7.0.1 (R14SP1). To work around this issue please update your Makefile with the following steps:
1) Rename the file
$MATLAB/extern/examples/compiler/Makefile
to
$MATLAB/extern/examples/compiler/Makefile.old
2) Download the attached Makefile to the directory
$MATLAB/extern/examples/compiler

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!