This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/PROCESSOR-SDK-AM57X: Processor SDK GTK Library Include Errors

Part Number: PROCESSOR-SDK-AM57X


Tool/software: Code Composer Studio

Hello,  I've recently purchased an AM57x EVM, and I wish to do some GTK-based development on it.  The TI Processor SDK (not the RTOS) has the GTK 3.0 headers and dependencies built in, however when I try to develop using those filepaths in my include options in CCSv6, it continuously manages to stop me at the compiler saying these files don't exist.  I managed to skirt the issue by installing the full GTK+ development packages on my Ubuntu machine and link to those, but now I'm running into the problem that I have to do a full include directory for every single involved library/header such as glib.  Now, I'm rather new to GTK/CCS to begin with, but this seems like this isn't the way to go about things.  

So, is there a way to 'easily' implement GTK libraries into CCSv6 using the files that pre-exist in the Processor SDK file-tree?  I'm already using several of them, but GTK is the only one giving me a headache.

  • Hi,

    I am not very familiar with the GTK libraries or its development flow, but from a tools perspective you can try to add the include directories and other compiler options to a simple .txt file (an example is attached) and add them to your project via the option "at" (@):

    This way you can have an easier-to-maintain .txt file instead of manually adding project options via the GUI. Additional details are shown in this reference

    A similar idea for the linker file. You can use the option --script and use a .ld script file (additional details here). I am more familiar with baremetal executables, where a .ld is very well defined, but I am unsure how to create such file for a linux executable.

    The experts at the Sitara forum may know better details about the intricacies of GTK and its project creation, therefore I would also ask this question there (or I can move this one there so you get the history).

    Hope this helps,

    Rafael