错误error C1083: 无法打开包括文件: “gpu/mxGPUArray.h”: No such file or directory
来源:互联网 发布:淘宝怎么付钱 编辑:程序博客网 时间:2024/06/01 20:38
问题原因:matlab版本太高的缘故,(MatlabDir)\extern\include,此路径下不存在“gpu/mxGPUArray.h”,这个文件被移动到了 (MatlabDir)\toolbox\distcomp\gpu\extern\include 路径下。两种解决方案
方法一:修改CommonSettings.props配置如下:
<PropertyGroup Condition="'$(MatlabSupport)'=='true'"> <MatlabDir>E:\02_software\01_develop\matlab</MatlabDir> <LibraryPath>$(MatlabDir)\extern\lib\win64\microsoft;$(LibraryPath)</LibraryPath> <IncludePath>$(MatlabDir)\extern\include;$(MatlabDir)\toolbox\distcomp\gpu\extern\include;$(IncludePath)</IncludePath> <!-- 增加一个$(MatlabDir)\toolbox\distcomp\gpu\extern\include; --> </PropertyGroup>
方法二:在 (MatlabDir)\extern\include 路径下建一个“gpu”文件夹然后把(MatlabDir)\toolbox\distcomp\gpu\extern\include\gpu下的mxGPUArray.h文件拷到所建gpu里即可。
阅读全文
0 0
- 错误error C1083: 无法打开包括文件: “gpu/mxGPUArray.h”: No such file or directory
- 无法打开包括文件: “gpu/mxGPUArray.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
- fatal error C1083 无法打开包括文件afxcontrolbars h No such file or directory
- fatal error C1083: 无法打开包括文件:“qedit.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:"dxtrans.h": No such file or directory
- fatal error C1083: 无法打开包括文件:“cxtypes.h”: No such file or directory
- VS2008中"fatal error C1083:无法打开包括文件:“Stdafx.h”: No such file or directory”
- fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:“afxcontrolbars.h”: No such file or directory
- VS error C1083: 无法打开包括文件:“gl\glew.h”: No such file or directory\
- VS error C1083: 无法打开包括文件:“gl\glaux.h”: No such file or directory\
- fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:“stdafx.h”: No such file or directory
- 《20171124》
- 利用 webpack 处理开发与线上环境静态资源切换问题
- C语言链表库(gcc、mingw编译通过,不支持VC6(因为VC6不支持变参函数))
- 为什么Base64编码有回车换行符
- PAT 天梯赛 L1-027. 出租 (简单字符串处理)
- 错误error C1083: 无法打开包括文件: “gpu/mxGPUArray.h”: No such file or directory
- Java开发练习8 多线程
- android 设置 永不休眠
- webpack2利用插件clean-webpack-plugin来清除dist文件夹中重复的文件
- 三目运算符详解
- Android 使用 WindowManager 打造悬浮通知
- python3爬虫学习
- 杭电oj4310
- vue 同级组件之间的通信