问题描述
一段时间以来,我试图通过
贷方:何塞·路易斯·布兰科(阿尔梅里亚大学);杰罗姆·埃斯诺(Jerome Esnault)(INRIA)。
For some time I am trying to create a static CHOLMOD lib from SuiteSparse Each other library (f.ex. Umfpack) can be easiy compiled from IDE (I used Code::Blocks on Linux and Visual Studio on Windows). However when trying to compile CHOLMOD I get bunch of syntax errors like:
t_cholmod_triplet.c(21): error C2061: syntax error : identifier 'TEMPLATE'
I investigated that there are some #defines missing (like PATTERN, REAL defines) and therefore those definitions of TEMPLATE are invisible. I searched for them in files and in makefiles but found nothing. However when typing make (on Linux) library compiles just fine. What am I missing?
You can use SuiteSparse METIS for Windows package: https://github.com/jlblancoc/suitesparse-metis-for-windows
Credit: Jose Luis Blanco (Universidad de Almeria); Jerome Esnault (INRIA).
这篇关于如何从IDE编译CHOLMOD库(SuiteSparse)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!