pocl needs OpenGL?

358 views Asked by At

I'm trying to get an OpenCL application to run on an ARM. Therefore I'm trying to install the pocl implementation of OpenCL. (and the Khronos ICD loader) I'm running a Linaro 12.11. Both programs seem to require GL/gl.h header files. Where do I get them from?

Do I really have to install OpenGL for that?

I tried add-apt-repository ppa:xorg-edgers/ppa since there is a package at http://www.ubuntuupdates.org/package/xorg-edgers/precise/main/base/mesa-common-dev. But apt-get install mesa-common-dev returned "Package 'mesa-common-dev' has no installation candidate". So where would I get it?

1

There are 1 answers

4
Pekka Jääskeläinen On BEST ANSWER

pocl shouldn't require GL. The only thing that might require it is the cl.hpp header from Khronos that is shipped with pocl. For that mesa headers should do.