>> mex -setup MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html. To choose a different C compiler, select one from the following: lcc-win32 mex -setup:'C:\\Program Files (x86)\\MATLAB\\R2014a\\bin\\win32\\mexopts\\lcc-win32.xml' C Microsoft Visual C++ 2010 Professional (C) mex -setup:'C:\\Program Files (x86)\\MATLAB\\R2014a\\bin\\win32\\mexopts\\msvc2010.xml' C Microsoft Windows SDK 7.1 (C) mex -setup:C:\\Users\\#NeGaR\\AppData\\Roaming\\MathWorks\\MATLAB\\R2014a\\mex_C_win32.xml C To choose a different language, select one from the following: mex -setup C++ mex -setup FORTRAN >> mex -setup:C:\\Users\\#NeGaR\\AppData\\Roaming\\MathWorks\\MATLAB\\R2014a\\mex_C_win32.xml C MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html. >> mex -I"C:\\Program Files (x86)\\MATLAB\\R2014a\\bin\\jpegprj\\jpegsr6\\jpeg-6b" jpeg_read.c "C:\\Program Files (x86)\\MATLAB\\R2014a\\bin\\jpegprj\\jpegsr6\\jpeg-6b\\libjpeg.lib" Building with 'Microsoft Windows SDK 7.1 (C)'. Error using mex Creating library jpeg_read.lib and object jpeg_read.exp jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function _mexFunction jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_read_coefficients referenced in function _mexFunction jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function _mexFunction jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_save_markers referenced in function _mexFunction jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_stdio_src referenced in function _mexFunction jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function _mexFunction jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function _mexFunction jpeg_read.obj : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function _mexFunction jpeg_read.mexw32 : fatal error LNK1120: 8 unresolved externals >>
matlab jpeg read,matlab - 编译jpeg_read.c和jpeg_write.c时使用mex链接错误 - 堆栈内存溢出...
最新推荐文章于 2021-03-18 14:29:15 发布