I’m trying to setup my programming environment so I can start developing OpenCL on Visual Studio 2008. On VS I’ve added to project dependencies the OpenCL.lib and OpenCL header files from NVidia SDK folders, and downloaded the cl.hpp for C++ bindings.
Everything should be fine, but running the C++ bindings example just gives me lots of errors like:
error C2039: ‘set_terminate’ : is not a member of ‘
global namespace'' error C2873: 'set_terminate' : symbol cannot be used in a using-declaration error C2039: 'terminate_handler' : is not a member of 'global namespace’’
error C2923: ‘cl::vector’ : ‘size_t’ is not a valid template type argument for parameter ‘T’
error C2504: ‘exception’ : base class undefined
and so on… everybody had the same issues or knows how to make that example up and running on Visual Studio?