PDA

View Full Version : using opencl link error..



phoebe0105
04-19-2010, 09:09 AM
I want to use openCL.

But I encounter error. The error is that.
This error occured mfc, api, or another space.

"1>OpenCL.obj : error LNK2019: _oclPrintDevInfo External symbol(Reference location: "public: void __thiscall OpenCL::GetDeviceInfo(struct _cl_device_id * *,char *)" (?GetDeviceInfo@OpenCL@@QAEXPAPAU_cl_device_id@@PA D@Z) function) don't confirmation. "

I was accomplished to include the library file and header file. However the error is here..

I need using opencl with MFC.

Please help me.

Rui
05-31-2010, 11:44 AM
You've done it this way http://www.khronos.org/message_boards/viewtopic.php?f=37&t=2651&p=6969&hilit=visual+studio#p6969 and you're using the right card drivers?