New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem on windows visual studio 2013 express #5
Comments
Thanks for reporting! It's fixed in master now with a workaround (not a real solution): by default, complex number support is disabled via a CMake variable "HAVE_COMPLEX". Please, report the build error upstream (to Tim Davis or a user mailing list) so they can help you in case you really need complex numbers. |
Hello jlblancoc, |
I just tried again with vs2013 and can confirm that SuiteSparse 4.4.1 builds nicely with Visual Studio 2013. @letienhung: open cmake-gui, uncheck HAVE_COMPLEX, press Configure, then Generate, and rebuild from the Visual Studio IDE. |
Very strange, I don't have entry HAVE_COMPLEX in cmake-gui when I press Configure. I try to add HAVE_COMPLEX with type BOOL, uncheck it and press Configure again but the same errors still appear. In file CMakeCache.txt, I have "HAVE_COMPLEX:BOOL=OFF" at line 198 and "HAVE_COMPLEX_H:INTERNAL=1" at line 427. I have to remove cxsparse from SUBPROJECTS_TO_ADD and everything is ok. My setting is: Win7 x64, VS2013, cmake-3.1.0-rc1, SuiteSparse 4.4.1 |
Have you syncronized with the latest version of suitesparse-for-windows On Thu, Oct 30, 2014 at 9:11 AM, letienhung notifications@github.com
Dr. Jose-Luis Blanco-Claraco |
I use the latest package suitesparse-metis-for-windows-1.2.1 from github. Anyway, I don't use cxsparse so it is ok for me to remove it. |
Latest is 1.2.2: I have updated the out-dated links in the front page. On Thu, Oct 30, 2014 at 10:50 AM, letienhung notifications@github.com
Dr. Jose-Luis Blanco-Claraco |
Thanks. All the errors are gone now. |
I followed your guide and created a project for msvs 2013. However, compiling gives an error in the cxsparse project.
error C2143: syntax error : missing ';' before '*
in cs.h for project cxsparse
Is this simply a suitesparse problem or someway related to the package? Anyone else has similar issues? I use version 4.2.1
Cheers
The text was updated successfully, but these errors were encountered: