SuiteSparse's KLU won't install

1 次查看(过去 30 天)
I'm trying to install SuiteSparse's KLU from http://www.cise.ufl.edu/research/sparse/klu/. I'm installing the whole SuiteSparse, but whenever I run SuiteSparse_install, I get this message when klu starts intalling.
Creating library C:\Users\Carl\AppData\Local\Temp\mex_nmBTWp\templib.x and object C:\Users\Carl\AppData\Local\Temp\mex_nmBTWp\templib.exp
klu_mex.obj : error LNK2019: unresolved external symbol mxCreateScalarDouble referenced in function mexFunction
klu.mexw64 : fatal error LNK1120: 1 unresolved externals
C:\MATLAB\R2011B\BIN\MEX.PL: Error: Link of 'klu.mexw64' failed.
Anyone know what could be wrong? I have the 64-bit MATLAB R2011b version. Thanks.

采纳的回答

Ken Atwell
Ken Atwell 2012-3-31
mxCreateScalarDouble is an old MEX API that was replaced circa 2002 and dropped after 2006. You may be able to swap in its replacement, called mxCreateDoubleScalar, in the file klu_mex.c. You may want to alert the author of this compatibility problem.
See these old release notes for details on the API change.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by