Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!postnews.google.com!d55g2000hsg.googlegroups.com!not-for-mail
From:  jul2609@hotmail.com
Newsgroups: comp.soft-sys.matlab
Subject: Matlab -> C++ Compilation error on MacbookPro
Date: Tue, 10 Jul 2007 14:24:05 -0000
Organization: http://groups.google.com
Lines: 27
Message-ID: <1184077445.865137.155160@d55g2000hsg.googlegroups.com>
NNTP-Posting-Host: 130.251.56.160
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1184077446 15321 127.0.0.1 (10 Jul 2007 14:24:06 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 10 Jul 2007 14:24:06 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: d55g2000hsg.googlegroups.com; posting-host=130.251.56.160;
Xref: news.mathworks.com comp.soft-sys.matlab:418259


Hello

Trying to convert matlab code .m to C++,  I get the following error :

>> mcc -m carre1.m
Warning: Duplicate directory name: /Applications/MATLAB74/toolbox/
local.
/usr/bin/ld: /Applications/MATLAB74/bin/maci/libmwmclmcrrt.dylib load
command 11 unknown cmd field
collect2: ld returned 1 exit status

    mbuild: link of 'carre1' failed.

Error: An error occurred while shelling out to mbuild (error code =
1).
Unable to build executable (specify the -v option for more
information).
??? Error executing mcc, return status = 31.


I'm using Matlab 7.4.0.287 (R2007a) and Mac OS X 10.4 on a Macbook Pro
It seems that the libmwmclmcrrt.dylib library is causing problems ...
Someone has an idea ?
Thanks a lot for replies!

Julien