rint() issue after creating VS Project using CMake

后端 未结 2 1743
滥情空心
滥情空心 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:51

    only comment out the line #define rint(x) ((idx_t)((x)+0.5)) in metis\GKlib\gk_arch.h is enough.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题