AnsweredAssumed Answered

VS 2013 and openCL

Question asked by someperson on Apr 7, 2015
Latest reply on Apr 8, 2015 by jtrudeau

Hello everyone!

I just started to learn opencl and having a big problem!

Tried to start with a simple print "Hello, world" ... and a lot of errors when linking.

First, there was a problem with cl :: vector, issue the following error: "'cl :: vector <T, N>': declared deprecate"

left her using std :: vector, but I think that this is not a good idea, maybe then tell me, what's the problem?

And now, the main problem, the problem of linking. I like the set up all the way to the libraries in VS, looked through other forums such an error, I realized that is not linked opencl.lib, #pragma comment (lib, 'OpenCL.lib') did not help. And... nothing helped. text error: "

Ошибка1error LNK2019: a reference to the unresolved external symbol _clGetPlatformIDs@12 в функции "public: static class cl::Platform __cdecl cl::Platform::get(int *)" (?get@Platform@cl@@SA?AV12@PAH@Z)C:\Users\zinjk\documents\visual studio 2013\Projects\openClTest\openClTest\OpenClTest.objopenClTest

Can tell what the project settings should be in visual studio.

I am using visual studio 2013 and AMD APP SDK 2.9-1.

Thank you in advance for any help.

Pleeeease, help me!

Outcomes