matlab jpeg read,matlab - 编译jpeg_read.c和jpeg_write.c时使用mex链接错误 - 堆栈内存溢出...

>> 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 >>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
MATLAB是一种用于进行数值计算和数据可视化的软件平台。使用MATLAB可以进行各种科学计算、工程计算以及数据分析等。MATLAB提供了丰富的工具箱和函数库,能够满足不同领域的科学计算需求。 在MATLAB中,boost_thread-vc120-mt-1_56.dll是一个动态链接库文件,用于支持多线程编程。多线程编程可以提高程序的性能和效率,使程序能够同执行多个任务。这个库文件是用于Windows平台上使用Visual Studio 2013进行编译的。 要下载boost_thread-vc120-mt-1_56.dll,可以按照以下步骤进行: 1. 打开MATLAB软件。 2. 在MATLAB命令窗口中输入"mex -setup",回车。 3. 在弹出的窗口中选择"Y",表示需要重新配置MEX编译器。 4. 在编译器选项中选择"Microsoft Visual C++ Compiler",回车。 5. 在弹出的窗口中选择"Y",表示需要下载并安装支持的编译器。 6. 下载和安装完成后,重新打开MATLAB。 7. 在MATLAB命令窗口中输入"mex -setup",回车。 8. 在弹出的窗口中选择"Y",表示要重新配置MEX编译器。 9. 选择相应的编译器选项,回车。 10. 设置完成后,在MATLAB命令窗口中输入"mex -setup",回车。 11. 在编译器选项中选择"Microsoft Visual C++ Compiler",回车。 12. 在弹出的窗口中选择"Y",表示需要下载并安装支持的编译器。 13. 下载和安装完成后,重新打开MATLAB。 14. 在MATLAB命令窗口中输入"mex -setup",回车。 15. 在弹出的窗口中选择"Y",表示要重新配置MEX编译器。 16. 选择相应的编译器选项,回车。 17. 设置完成后,可以在MATLAB环境中使用boost_thread-vc120-mt-1_56.dll库文件进行多线程编程了。 以上是关于MATLAB下载boost_thread-vc120-mt-1_56.dll的简单步骤说明,希望对您有所帮助。如果有任何其他问题,请随向我们提问。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值