Closed akaszynski closed 3 years ago
It looks like a linker error when compiling the shim that connects the Python to the C library (using the python package cffi). Unfortunately, neither I not the other maintainer of this project run Windows, so I can't really help debug this. You could try updating your cffi. You could also check if the compiler you are using (I see "Visual C++ for Python\9.0\") is the same one that SuiteSparse itself was compiled with. Sometimes that is a problem.
Hi,
I successfully installed PySPQR on Windows 10. In my case, the problem is resolved by changing the following sentence in sparseqr_gen.py:
from
libraries=['spqr'])
to
libraries=['amd','btf','camd','ccolamd','cholmod','colamd','cxsparse'
'klu','lapack','ldl','lumfpack','metis','suitesparseconfig','spqr','libblas'])
Those are the names of the libraries that are generated by installing SuiteSparse.
@akaszynski Does the suggestion by @harusametime work for you?
It looks promising. Let me build it and let you know.
Marking as closed. Please re-open if this is still an issue.
Hello,
I've been trying to build this on Windows and I'm running into problems. I'm getting unresolved external symbols when installing despite having built SuiteSparse and making the libraries and header files available to Python.
Here's the error I'm getting:
I noticed that these are all declarations within
ffibuilder.cdef()
. Could this be a simple bug when porting to Windows?