Errors occur while making the sample below:
ubuntu@tegra-ubuntu:~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody_opengles$ make
WARNING - libGLES.so not found, please install libGLES.so <<<
WARNING - egl.h not found, please install egl.h <<<
WARNING - eglext.h not found, please install eglext.h <<<
WARNING - gl31.h not found, please install gl31.h <<<
#1 Apparently, OpenGL ES 3.1 is missing. I have no idea how to choose mesa and tegra? An installation checklist is desired.
#2 warning egl is not found, but it can be found below:
ubuntu@tegra-ubuntu:~$ apt-cache search libegl
libegl1-mesa - free implementation of the EGL API – runtime
libegl1-mesa-dev - free implementation of the EGL API – development files
so, it seems mesa is preferable to tegra. Is it right? Need a complete tegra-like opengl packages be post installed?