TI E2E Community
Where to find Missing OpenGL Libraries for 816x EVM
We are trying to build an application that uses the OpenGL calls and encountering problems during
linking due to missing the OpenGL libraries such as libGL.a and/or libGLES.a and possibly others.
We are building our linux application using the suppiled Windows based Code Sourcery toolchain for our
816x EVM. Can some point me to where I can find these libraries for the Windows based Code Sourcery
toolchain or can we simple copy them off our linux build system if available ?
Is this a Linux based target system ? If so, need to build with the regular dynamic libraries (.so files). Take a look at any of the SDK Makefiles (under GFX_Linux_SDK folder), or https://www.gitorious.org/tigraphics/sgxperf/blobs/master/Makefile for the right way to build with dynamic libraries.
Note: Post the output of below Script, while posting queries related to SGX drivers:
Also read the below page,
For User Interface queries, submit below details for faster response,
The target is the 816x EVM running linux , however our application is built on a Windows machine using
the supplied Code Sourcery Toolchain. When linking our application, we are getting "undefined reference" errors
for glViewport , glFlush..... because it is looking for the "static" OpenGL libraries. (libgl.a and such).
Where can we get these static libraries or how can we eliminate these errors in our link I think we need to have
the static libraries and not the shared libraries for how we are building. I beleive we need a package for our Windows-based
Code Sourcery Toolchain build environment.
Can the Makefile be posted here ? Has the Makefile posted in the previous response been referred to for the proper procedure to link with shared libs ?
Are you able to link any (other) applications with shared libraries ?
The question is really what shared libraries are actually needed and where can I get them for our
windows machine that's actually building our application using the code sourcery toolchain.
1: What are the specific .so file that I need ?
2: Can they just be copied from the linux sgx sdk environment to our windows code sourcery build environrment ?
3: Are there any supporting files needed as well ?
4: Can you provide these shared libraries / package for the windows based cose sourcery environment ?
As already mentioned, the Makefile specified in the previous post has details of libraries to link to, how to link, what dependencies exist, and supporting files.Are you facing issues after incorporating those steps ? TI SDKs for parts that have SGX, have all the libraries necessary to build OpenGL ES based applications.
Can you share your current Makefile for review again ?
Building a linux application from windows using codesourcery, while possible, is not recommended by TI. Its far easier to develop for DM816x on a linux PC and some of the problems with linking that you are facing can be avoided. We cannot support developing DM816x Linux applications on a Windows PC and so, you are on your own if you wish to do so.
Need more information? Some Categories on TI's processors wiki are -
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.