I cannot seem to link glew or glu, though gl glut etc seem fine…
I had been trying build CUDA samples on Jetson with CUDA 6.0
seeing on this list: Dilemma of CUDA and GLEW
possibly of wider concern than Jetson…
apologies, I cannot seem to link glew or GLU, though g and glut etc seem fine…
need to confirm GLFW
trying to build single short file openGL:
$ gcc -o openGL openGL.c -lGLEW -lGL
openGL.c:6:21: fatal : gl\glew.h: No such file or directory
#include <gl\glew.h>
^
compilation terminated.
file openGL includes:
#include <gl\glew.h>
$ ls /usr/include/GL
… glew.h glu.h …
$ apt-cache search glew
libglew-dbg - OpenGL Extension Wrangler (debugging symbols)
libglew-dev - OpenGL Extension Wrangler - development environment
libglew1.10 - OpenGL Extension Wrangler - runtime environment
libglewmx-dbg - OpenGL Extension Wrangler MX (debugging symbols)
libglewmx-dev - OpenGL Extension Wrangler MX - development environment
libglewmx1.10 - OpenGL Extension Wrangler (Multiple Rendering Contexts)
glew-utils - OpenGL Extension Wrangler - utilities
a similar problem relates to GLU
$ sudo apt-get install libglu-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘libglu1-mesa-dev’ instead of ‘libglu-dev’
libglu1-mesa-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.