Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Generating DLL from VS 2013 on a 64bit system

$
0
0

Hello All,

I am trying to build a DLL 64bit from Visual Studio 2013 (C++ to be used with Matlab 2013). I have several linking errors, which I cannot seem to be able to resolve and I have included below. Under Project/Properties...etc I have included the location of the mex.h file and also added libraries, such as libmex.lib, libmx.lib and libmat.lib with their Matlab path. Also, the mexFunction contains the matrix.h, which is needed for the requested subfunctions below. Despite all this, I am getting the same error message (below). Could anyone please help me to solve this?

Thank you all  in advance.

Tunde

Error1 error LNK2019: unresolved external symbol _mxIsComplex referenced in function _mexFunction
Error2 error LNK2019: unresolved external symbol _mxIsDouble referenced in function _mexFunction
Error3 error LNK2019: unresolved external symbol _mxGetPr referenced in function _mexFunction
Error4 error LNK2019: unresolved external symbol _mxGetScalar referenced in function _mexFunction
Error5 error LNK2019: unresolved external symbol _mxGetM referenced in function _mexFunction
Error6 error LNK2019: unresolved external symbol _mxGetN referenced in function _mexFunction
Error7 error LNK2019: unresolved external symbol _mxCreateDoubleMatrix_730 referenced in function _mexFunction
Error8 error LNK2019: unresolved external symbol _mexErrMsgTxt referenced in function _mexFunction
Error9 error LNK1120: 8 unresolved externals


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>