I am trying to use following Levmar library on a windows XP system for constrained case optimization and therefore need to rely on LAPACK:
http://www.ics.forth.gr/~lourakis/levmar/It seelms there is a problem with the LAPACK library. I have downloaded CLAPACK and built following library
http://www.netlib.org/clapack/CLAPACK3-Windows.zip I get following error messages when building levmar : Generating Code... lib /nologo /out:levmar.lib lm.obj Axb.obj misc.obj lmlec.obj lmbc.obj cl /nologo /DHAVE_LAPACK /I. /MD /W3 /GX /O2 /c lmdemo.ccl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future releasecl : Command line warning D9036 : use 'EHsc' instead of 'GX'lmdemo.c cl /nologo lmdemo.obj /link /subsystem:console /opt:ref /libpath:C:\src\lib\LAPACK /libpath:. /out:lmdemo.exe clapack.lib blas.lib libF77.lib libI77.lib levmar.liblevmar.lib(misc.obj) : error LNK2019: unresolved external symbol _sgemm_ referenced in function _strans_mat_mat_multlevmar.lib(misc.obj) : error LNK2019: unresolved external symbol _dgemm_ referenced in function _dtrans_mat_mat_multlmdemo.exe : fatal error LNK1120: 2 unresolved externalsNMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'Stop. I get the same error message when I build CLAPACK myself or use the precompiled (existing) library. I have checked and both functions sgemm and dgemm are existing in CLAPACK. I spent a week on this issue and still cannot resolve it. Did anyone get this levmar working in windows for the constrained case as the unconstrained seems to work fine?