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

Advanced Search

Back to Topic List Back to Topic List

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?

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.