okay. To get it all to work I edited msvc9compiler.py and changed /MD to /MT. This still led to an a different error. having to do with mt.exe which does not come with MSVC 2008 Express. I fixed this commenting out /MANIFEST stuff in msvc9compile.py
On Thu, May 19, 2011 at 6:25 PM, Mathew Yeates <mat.yea...@gmail.com> wrote: > 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 <mat.yea...@gmail.com> 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 NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion