[Numpy-discussion] f2py on Windows, compiler options

Mathew Yeates mat.yeates at gmail.com
Thu May 19 18:05:31 EDT 2011


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



More information about the NumPy-Discussion mailing list