I've been trying to use OpenCL in a C++ file. When I try to compile it, it gives a lot of LNK2019 errors, such as : 
unresolved external symbol _clGetPlatformIDs@12 referenced in function "public: static int __cdecl cl::Platform::get(class std::vector > *)" (?get@Platform@cl@@SAHPAV?$vector@VPlatform@cl@@V?$allocator@VPlatform@cl@@@std@@@std@@@Z)
The Platform class is defined in cl.hpp, and it uses clGetPlatformIds, defined in cl.h but not implemented. I think that is the problem. How can I make the code work ? (I have 24 unresolved external symbols)
 
     
    