# How is OpenGL ES 3.1 retrieved on JTX1

**URL:** <https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033>\
**Category:** Jetson TX1\
**Created:** [December 30, 2016, 1:14am UTC](https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033 "2016-12-30T01:14:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![viisautta](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@viisautta](https://forums.developer.nvidia.com/u/viisautta)\
**Post date:** [December 30, 2016, 1:14am UTC](https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033/1 "2016-12-30T01:14:40Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [January 3, 2017, 11:17am UTC](https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033/2 "2017-01-03T11:17:58Z")

</div>

Hi,

Thanks for your problem, we are trying to clarify this issue now.  
Will update information later.

---

<div class="post-metadata">

**Author:** ![viisautta](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@viisautta](https://forums.developer.nvidia.com/u/viisautta)\
**Post date:** [January 3, 2017, 12:52pm UTC](https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033/3 "2017-01-03T12:52:15Z")

</div>

There still is the problem as above. Waiting for a solution:)

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [January 13, 2017, 5:42am UTC](https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033/4 "2017-01-13T05:42:10Z")

</div>

Hi,

Sorry for the late reply, please try following command:

```auto
sudo apt-get install libegl1-mesa-dev
sudo apt-get install libgles2-mesa-dev
cd /usr/lib/aarch64-linux-gnu/
sudo ln -sf tegra-egl/libEGL.so libEGL.so

```

This will fix missing header issue and also make sure tx1 link to the correct library.(tegra-egl/libEGL.so)

---

<div class="post-metadata">

**Author:** ![viisautta](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@viisautta](https://forums.developer.nvidia.com/u/viisautta)\
**Post date:** [January 13, 2017, 7:05am UTC](https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033/5 "2017-01-13T07:05:34Z")

</div>

U r right. Thx

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 18, 2021, 7:00pm UTC](https://forums.developer.nvidia.com/t/how-is-opengl-es-3-1-retrieved-on-jtx1/47033/6 "2021-10-18T19:00:23Z")

</div>


