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: some mex issues on windows
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
siddys@gmail.com

Posts: 15
Registered: 10/12/05
some mex issues on windows
Posted: May 25, 2012 8:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi list,
I am trying to compile a mex function, I an using 32 bin windows system. I have used pow() and exp() functions, and included <math.h>. However, when i execute mex -lm <filename>.c I get a bunch of errors starting from a line containing the first instance to the call to the math.h function (pow() in this case). I have verified that it is not finding any libm.lib or equivalent.
So, my question is
1) what compiler option should I use on windows
2) with is the equivalent libm.lib library on windows?
Thanks.
Sid.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

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