Skip to content
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 of build on VS 2013 #23

Closed
xialang2012 opened this issue Jun 2, 2016 · 1 comment
Closed

Problem of build on VS 2013 #23

xialang2012 opened this issue Jun 2, 2016 · 1 comment

Comments

@xialang2012
Copy link

I downloaded suitesparse from https://github.com/jlblancoc/suitesparse-metis-for-windows/archive/v1.3.1.zip, then unpacked it, and under the instructions to build it.
But I have some errors to complete the build process, as shown beolow:

========== Build: 14 succeeded, 7 failed, 0 up-to-date, 1 skipped ==========

some of the detailed errors

Error 2 error C2059: syntax error : '(' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h 515 1 metis
Error 348 error C2059: syntax error : '(' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h 515 1 metis
Error 367 error C2059: syntax error : '(' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h 515 1 metis
....

I do not know what's wrong about it.

@ghost
Copy link

ghost commented Jun 3, 2016

Visual Studio 2015 Math.h Error #19

metis/GKlib/gk_arch.h

`

#ifdef MSC
/* MSC does not have rint() function */
#if (_MSC_VER < 1800)
#define rint(x) ((int)((x)+0.5))
#endif

/* MSC does not have INFINITY defined */
#ifndef INFINITY
#define INFINITY FLT_MAX
#endif
#endif

`

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

No branches or pull requests

2 participants