Build Error for oclParticles on Linux /usr/bin/ld: cannot find -lglut

Hello sir,
Can anyone help me out.

 Here is the Error while building oclParticles

/usr/bin/ld: Cannot find -lglut
collect2: ld returned 1 exit status.

make: *** […/…/…//Opencl/bin//linux/release/oclParticles.

with regards

You need to install GLUT in order to compile some of the demo projects.

hello sir,

Can you write me from where to download the glut library

usha devi R.

I suppose you are using Linux, right? If so, then you should probably check google. type down your distro name + GLUT and you should get some info. I’ve used only Gentoo and with it, it was enough to execute “emerge glut” but the emerge command is Gentoo specific and I’m not really familiar with other linux distributions