[Numpy-discussion] Build fortran extension on Windows with gfortran and MSVC

Marek Wojciechowski mwojc at p.lodz.pl
Thu Feb 11 11:44:19 EST 2016


Dnia czwartek, 11 lutego 2016 16:23:23 Jose Gomez-Dans pisze:
> Hi,
> 
> On 11 February 2016 at 15:40, Marek Wojciechowski <mwojc at p.lodz.pl> wrote:
> > It seems that on Windows + Python-3.5 fortran extensions cannot be built
> > anymore with  f2py and mingw32 compilers, because of new MSVC. Here is the
> 
> > short description of the errors one gets:
> Off-topic, but this is something that I get asked quite often, and I don't
> know what to say, not being a windows user:
> Is there some "howto" compile f2py fortran modules from scratch in windows
> with anaconda available?

After installing mingw (conda install mingw), you should go like on Linux. I 
think f2py is choosing --compiler=mingw32 by default.

-- 
Marek

---
Politechnika Łódzka
Lodz University of Technology

Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata.
Jeżeli nie jesteÅ›cie PaÅ„stwo jej adresatem, bÄ
dź otrzymaliÅ›cie jÄ
 przez pomyłkę
prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.

This email contains information intended solely for the use of the individual to whom it is addressed.
If you are not the intended recipient or if you have received this message in error,
please notify the sender and delete it from your system.



More information about the NumPy-Discussion mailing list