DSS warnings and errors !

DSS warnings and errors !

Portrait de 0023yytao@ustc.edu

Environment:


  • Windows XP

  • MSVC 6.0

  • MKL 7.0 evaluation license

Header files Included:



  • mkl.h

  • mkl_dss.h

Library files Linked:



  • mkl_c.lib mkl_c_dll.lib mkl_solver.lib mkl_ia32.lib mkl_lapack.lib

Errors and Warnings:


--------------------Configuration: InSeg - Win32 Release--------------------
Compiling...
CInSeg.cpp
D:TAODOCWORKInSegMKLmkl_lapack32.h(802) : warning C4518: 'char ' : storage-class or type specifier(s) unexpected here; ignored
D:TAODOCWORKInSegMKLmkl_lapack32.h(803) : warning C4518: 'char ' : storage-class or type specifier(s) unexpected here; ignored
D:TAODOCWORKInSegMKLmkl_lapack64.h(183) : warning C4518: 'char ' : storage-class or type specifier(s) unexpected here; ignored
D:TAODOCWORKInSegMKLmkl_lapack64.h(184) : warning C4518: 'char ' : storage-class or type specifier(s) unexpected here; ignored
InSeg.cpp
InSegDoc.cpp
InSegView.cpp
MainFrm.cpp
SegResView.cpp
Generating Code...
Linking...
CInSeg.obj : error LNK2001: unresolved external symbol _snrm2
CInSeg.obj : error LNK2001: unresolved external symbol "int __cdecl DSS_DELETE(void * const *,int const *)" (?DSS_DELETE@@YAHPBQAXPBH@Z)
CInSeg.obj : error LNK2001: unresolved external symbol "int __cdecl DSS_SOLVE_REAL(void * *,int const *,double const *,int const *,double *)" (?DSS_SOLVE_REAL@@YAHPAPAXPBHPBN1PAN@Z)
CInSeg.obj : error LNK2001: unresolved external symbol "int __cdecl DSS_FACTOR_REAL(void * *,int const *,double const *)" (?DSS_FACTOR_REAL@@YAHPAPAXPBHPBN@Z)
CInSeg.obj : error LNK2001: unresolved external symbol "int __cdecl DSS_REORDER(void * *,int const *,int const *)" (?DSS_REORDER@@YAHPAPAXPBH1@Z)
CInSeg.obj : error LNK2001: unresolved external symbol "int __cdecl DSS_DEFINE_STRUCTURE(void * *,int const *,int const *,int const *,int const *,int const *,int const *)" (?DSS_DEFINE_STRUCTURE@@YAHPAPAXPBH11111@Z)
CInSeg.obj : error LNK2001: unresolved external symbol "int __cdecl DSS_CREATE(void * *,int const *)" (?DSS_CREATE@@YAHPAPAXPBH@Z)
Release/InSeg.exe : fatal error LNK1120: 7 unresolved externals
Error executing link.exe.


InSeg.exe - 8 error(s), 4 warning(s)



Can anyone help me ?


thank you in advance!

3 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de 0023yytao@ustc.edu

Can't anyone solve this problem ?

Portrait de TODD R. (Intel)


Probably the best way to get advice quickly is to submit an issue at Intel Premier Support. See the "Technical Support and Feedback" section of the release notes for a description of the steps you can take to do this. The release notes can be found in the root directory of your Intel MKL installation (filename mklnotes.htm), or canbe found online at http://www.intel.com/software/products/mkl/win_relnotes.pdf

Just looking at the error message it appears that you need to wrap the the prototypes in mkl_dss.h with extern "C" {...}.

Todd

Connectez-vous pour laisser un commentaire.