Visual studio 在visual studio for Opencl中添加include目录

Visual studio 在visual studio for Opencl中添加include目录,visual-studio,include,opencl,Visual Studio,Include,Opencl,我在这个链接上找到了这个例子: 我正试图在visual studio 2015中测试它,但不幸的是,这个错误出现在标识符“shrCheckError”中是未定义的当我寻找解决方案时,我发现我应该从这里下载一些源代码所以我从网站下载了zip文件,它的名称是OpenCL矩阵乘法,但是我如何才能将其安装到visual studio中,或者如何调用#include查看这里:谢谢您的回复。@ProjectPhysX我还有一个函数“void u cdecl u shrcherrorex(int,int,v

我在这个链接上找到了这个例子:


我正试图在visual studio 2015中测试它,但不幸的是,这个错误出现在标识符“shrCheckError”中是未定义的当我寻找解决方案时,我发现我应该从这里下载一些源代码
所以我从网站下载了zip文件,它的名称是OpenCL矩阵乘法,但是我如何才能将其安装到visual studio中,或者如何调用#include

查看这里:谢谢您的回复。@ProjectPhysX我还有一个函数“void u cdecl u shrcherrorex(int,int,void(u cdecl*)(int),char const*,int)”中引用的未解决的外部符号shrLogEx(?u shrcherrorex@@YAXHHP6AXH@ZPEBDH@Z) 我不知道我错过了什么,请提供任何建议?这是链接器错误。也许可以查看代码以了解uu shrCheckErrorEX函数的作用以及从何处调用它。如果不是强制性的,请将其注释掉。另见此处: