Ask Your Question

Revision history [back]

ocl linking problem with VS10

Hi. Im trying to get a basic opencv ocl program compiled. I am having linker problems.

error LNK2019: unresolved external symbol "public: __thiscall cv::ocl::Info::~Info(void)" (??1Info@ocl@cv@@QAE@XZ) referenced in function _wmain

.....when I try this line:

cv::ocl::Info a; //which is the very first step in an opencv opencl program

I have set up VS10 to see all libraries in the staticlib/lib folder. I am using the prebuilt libraries. Which library file includes the opencl functions?