- Where Developers Learn, Share, & Build Careers
Hi I am integrating the CUDA prog through the MATLAB MEX interface. This combination runs fine with following 1.MATLAB 64 bit 2012 R2 2.Windows 64 bit OS but when I try to do the same thing on the 32 bit 64 bit version MATLAB on windows 2008, this adding error error LNK2019 gives the following: Unsolved external symbols mxDestroyArray function referred to in mexFunction.
I have set up the nvmexopts64.bat link path like this
Reminker parameter ray ************************************** **************************************************************************************************** % ENTRYPOINT% / map / LIBPATH :: "% LIBLOC%" libmx.lib libmex.lib libmat.lib / implib \ exile \ lib \ Win32 \ Microsoft set linker = set LINKFLAGS = / dll / export link set LIBLOC =% MATLAB% :% LIB_NAME% .x / machine: x64 kernel 32. Lib user 32. Lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib set Please LINKOPTIMFLAGS = Set LINKDEBUGFLAGS = / DEBUG /PDB:"%OUTDIR%%MEX_NAME%%MEX_EXT%.pdb "Set up LINK_FILE = Set LINK_LIB = Set NAME_OUTPUT = / Out: "% OUTDIR %% MEX_NAME %% MEX_EXT%" set RSP_FILE_INDICATOR = @ C suggests solutions to anyone.
Comments
Post a Comment