Solved. Sort of. When I compiled by hand and switched /MD to /MT it
worked. It would still be nice if I could control the compiler options
f2py passes to cl.exe

-Mathew

On Thu, May 19, 2011 at 3:05 PM, Mathew Yeates <[email protected]> wrote:
> Hi
> I am trying to run f2py and link to some libraries.
> I get a link error
> LINK : fatal error LNK1104: cannot open file 'LIBC.lib' because (I
> think) the libraries are compiled with /MT (multithreaded).
>
> I tried adding /NODFEAU:TLIB:libc.lib
>
> but then I have unresolved dependencies. I want to try compiling the
> code with /MT. How can tell f2py to use this option when compiling
> (not linking, this option is passed to cl).
>
> -Mathew
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to