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:
https://gforge.ti.com/gf/download/docmanfileversion/203/3715/gfx_check.sh
Also read the below page,
http://processors.wiki.ti.com/index.php/SGXDbg
For User Interface queries, submit below details for faster response,
https://gforge.ti.com/gf/download/docmanfileversion/220/3798/UI_graphics_reqs_sheet_v1.xls
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 ?
Thanks
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 ?
Hi,
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.
--Sid
Need more information? Some Categories on TI's processors wiki are -
http://processors.wiki.ti.com/index.php/Category:DaVinci
http://processors.wiki.ti.com/index.php/Category:DaVinci_Linux
http://processors.wiki.ti.com/index.php/Category:EZSDK
http://processors.wiki.ti.com/index.php/Category:DVSDK
http://processors.wiki.ti.com/index.php/Category:OMX