Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

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 resize.cc
> (http://sun360.csail.mit.edu/code/cvpr2012pano_codeRel
> ease/code/voc-release3.1_pedro/resize.cc)
> Environment: Windows 7, 86x, Matlab R2010a
> Mex -setup -> Lcc-win32 C. 2.4.1
> Error Message:
> Error in mex -O resize.cc
> Error resize.cc: 39 undeclared identifier alphainfo
> Error resize.cc: 39 undeclared identifier ofs
> Error resize.cc: 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]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.