Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

BUG: unable to build on Windows #5

Open
andyljones opened this issue Sep 1, 2016 · 5 comments
Open

BUG: unable to build on Windows #5

andyljones opened this issue Sep 1, 2016 · 5 comments
Labels

Comments

@andyljones
Copy link

I'm trying to build this package on Windows and not having much luck. Using the mingw-w64 Fortran compiler (installed from Anaconda) and Visual Studio 2015, I get these errors:

glmnet5.o : error LNK2001: unresolved external symbol _gfortran_runtime_error_at
glmnet5.o : error LNK2001: unresolved external symbol _gfortran_internal_pack
glmnet5.o : error LNK2001: unresolved external symbol _gfortran_internal_unpack

A morning of Googling hasn't been much help. The closest I found was this StackOverflow question, but setting the compiler=mingw32 flag in setup.cfg leads to a different error, ValueError: Unknown MS Compiler version 1900.

Have you successfully built this package on Windows?

@wlattner
Copy link
Contributor

wlattner commented Sep 1, 2016

We have not yet built the package under Windows. Unfortunately, we do not have easy access to a Windows box. I'll do some digging through numpy and conda recipes to see if those are provide any hints.

@wlattner wlattner changed the title python-glmnet BUG: unable to build on Windows Sep 1, 2016
@wlattner
Copy link
Contributor

wlattner commented Sep 1, 2016

@PythonWillRule
Copy link

I got this build/run on Windows 10 with a small change in the setup.py

@stephen-hoover
Copy link
Contributor

@john3-16 , thank you for the report. What change? If it's a generally applicable fix, you could contribute it as a pull request.

@Sandy4321
Copy link

A working Fortran compiler is also required to build the package

is it fixed pls?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants