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일

0 개 추천

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개)

카테고리

도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

질문:

2012년 3월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by