Path: news.mathworks.com!not-for-mail
From: "James Tursa" <aclassyguywithaknotac@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: engdemo.cpp
Date: Mon, 10 Mar 2008 15:59:02 +0000 (UTC)
Organization: Boeing
Lines: 36
Message-ID: <fr3ls6$k8a$1@fred.mathworks.com>
References: <fqrp3f$kq2$1@fred.mathworks.com> <fqv2mb$ft8$1@fred.mathworks.com> <21fdf047-d241-42d4-9643-5b3c2df1f32d@y77g2000hsy.googlegroups.com> <fr1f52$ba6$1@fred.mathworks.com> <fr2s95$8n7$1@fred.mathworks.com>
Reply-To: "James Tursa" <aclassyguywithaknotac@hotmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205164742 20746 172.30.248.38 (10 Mar 2008 15:59:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 10 Mar 2008 15:59:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 756104
Xref: news.mathworks.com comp.soft-sys.matlab:456359


"Yair Movshovitz" <yairmov@gmail.com.remove.this> wrote in
message <fr2s95$8n7$1@fred.mathworks.com>...
> "James Tursa" <aclassyguywithaknotac@hotmail.com> wrote in
> message <fr1f52$ba6$1@fred.mathworks.com>...
> > P.S.  You can find another engine example here:
> > 
> >
>
http://www.mathworks.com/matlabcentral/newsreader/view_thread/165277
> > 
> > James Tursa
> > 
> 
> 
> I am having a similar problem... I can compile and run
> engdemo.c (and a few simple .c files of my own) with no
> problems, but I cannot get a .cpp file to be compiled.
> I tried writing very simple c++ engine files, but all I get
> from matlab is an error stating "not a normal file"
> I searched for the engdemo.cpp file to see what is missing
> in my tests but it is not where the documentation say it
> should be.
> 
> Anyone knows where it is? or (even better) knows how to
> compile engine programs written in c++ using matlab or an
> external IDE (eclipse in my case)?
> 
> Thanks,
> Yair

I have had no problems compiling C++ files with MATLAB using
VC++ 8.0.  Could you post an example file for me to look at?
 Which C++ compiler are you using?

James Tursa