My video card is a NVIDIA GT 220 with the 280.13 drivers on Ubuntu 11.04(64-bit)
and I'm building W.I.N.E(32-bit version) from source. So how do I compile in
OpenCL support you ask?
Code:
cd /usr/include
#make directorty#
sudo mkdir CL
cd CL
#download opencl headers#
sudo wget http://www.khronos.org/registry/cl/api/1.1/cl_ext.h
sudo wget http://www.khronos.org/registry/cl/api/1.1/cl_gl_ext.h
sudo wget http://www.khronos.org/registry/cl/api/1.1/cl_gl.h
sudo wget http://www.khronos.org/registry/cl/api/1.1/cl.h
sudo wget http://www.khronos.org/registry/cl/api/1.1/cl_platform.h
sudo wget http://www.khronos.org/registry/cl/api/1.1/opencl.h
#custom configure. nVidia provides 32-bit opencl drivers in /usr/lib32#
CC="gcc-4.5 -m32" LDFLAGS="-L/lib32 -L/usr/lib32
-Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" OPENCL_LIBS="/usr/lib32"
OPENCL_CFLAGS="/usr/include/CL" ./configure -v --prefix=/usr
#make
make and sudo make install
Now you will have OpenCL support in W.I.N.E. NJoy!