Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

OpenCL C++ compiler problem

$
0
0

Hi,

I have Windows 8.1 64-bit, Intel OpenCL SDK 4.6, Visual Studio 2013 Express Edition. Also I have added all nessesary directories in the project properties (include directory, lib directory and OpenCL.lib file for linker). Program is very simple:

#include <CL\cl.hpp>

int main() {
     return 0;
}

But I can't compile it: error C4996: 'clCreateSampler': was declared deprecated.

Do you have any ideas, how to solve this problem?

Thank you!

 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>