rint() issue after creating VS Project using CMake

后端 未结 2 1746
滥情空心
滥情空心 2021-01-29 04:37

I\'m having an issue compiling code - specifically METIS - Serial Graph Partitioning and Fill-reducing Matrix Ordering.

I\'ve successfully managed to make Visual Studio

2条回答
  •  爱一瞬间的悲伤
    2021-01-29 04:59

    go to : metis\GKlib\gk_arch.h and metisbin.h and metislib.h. Remove or rename #define rint(x) ((idx_t)((x)+0.5)) it's causing a conflict with the rint function in math.h.

提交回复
热议问题