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: can't compile a piece of Matlab code..
Replies: 1   Last Post: Mar 8, 2013 3:28 AM

Advanced Search

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

Posts: 2,419
Registered: 12/6/04
Re: can't compile a piece of Matlab code..
Posted: Mar 8, 2013 3:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> The file I am trying to compile is
> (
> ease/code/voc-release3.1_pedro/
> Environment: Windows 7, 86x, Matlab R2010a
> Mex -setup -> Lcc-win32 C. 2.4.1
> Error Message:
> Error in mex -O
> Error 39 undeclared identifier alphainfo
> Error 39 undeclared identifier ofs
> Error 41 syntax error; found 'int'
> expecring ';'
> I believe this file is widely used in Mac or Linux
> environment and there is a way to use it in Windows..
> What should I do?

In line 36, replace
alphainfo ofs[len];
struct alphainfo ofs[len];

Best wishes

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.