Re: [Numpy-discussion] f2py on Windows, compiler options

2011-05-19 Thread Mathew Yeates
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

Re: [Numpy-discussion] f2py on Windows, compiler options

2011-05-19 Thread Mathew Yeates
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 wrote: > Hi > I am trying to run f2py and link to some libraries. > I get a link

[Numpy-discussion] f2py on Windows, compiler options

2011-05-19 Thread Mathew Yeates
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 com