Sunday, August 2, 2015

missing glerror , gpuocelot

sudo apt-get install freeglut3 freeglut3-dev
sudo apt-get install binutils-gold

make sure the libGL.so and other related libraries are located in /usr/lib/.
make soft links if needed as indicated in the previous thread.

Edit gpuocelot/ocelot/scripts/build_environment.py, line 187.
Add the other library link.

                #libs.append('-lGLEW');
                libs.append('-lGLEW');
                libs.append('-lglut');
                libs.append('-lGL');
                libs.append('-lGLU');

Then build ocelot again.
sudo ./build.py -j8 --install

It should be all set.