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.

Unable to build gpioLEDBlink example project for BeagleBone following CCSv5 Fundamentals Workshop instructions

Hi,

I am following the CCSv5 Fundamentals Workshop->LABS

I have installed CCSv5.4.0.00091 and StarterWare 02.00.01.01 under Windows 7 Home Premium.

I have imported the project according to the instructions of the Fundamentals Workshop.

After pressing the Build icon I get many errors. It seems the IDE does not find everything it needs for completion.

The Build Log is attached.

What am I doing wrong?

Thanks in advance,

Levy Oliveira

  • Hello,

    CCS cannot find any of the Starterware libraries or the ARM compiler. Make sure:

    1) You installed StarterWare and the paths to the library are where CCS expects them

    2) Your CCS installation has the ARM compiler installed (<CCS INSTALL DIR>\ccsv5\tools\compiler\arm_5.0.4)

    Thanks

    ki

  • Hi, Ki,

    I found the ARM compiler installed, so I think its situation 1) of your last post.

    Lets take the first error: 

    'Invoking: ARM Linker'
    <Linking>
    error #10008-D: cannot find file
    "../../../../../../../binary/armv7a/cgt_ccs/am335x/drivers/Debug/drivers.lib
    "

    I did not find drivers.lib at this path. There is no "...Debug/drivers.lib" but there is "...Release/drivers.lib".

    In the Project properties in "ARM Linker->File Search Path" there is the following path: "../../../../../../../binary/armv7a/cgt_ccs/am335x/drivers/${ConfigName}/drivers.lib"

    How can I fix it? There should be a "...Debug/drivers.lib" or I can change the path to point to "...Release/drivers.lib"? The file drivers.lib is the same for debug and release purposes?

    Thanks again!

    Levy Oliveira

  • Levy Oliveira said:
    I found the ARM compiler installed, so I think its situation 1) of your last post.

    You may have found it, but it is apparent that CCS does not. That is the bigger issue. Please make sure the arm tools are found in the discovery list in the workshop preferences:

    http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection#CCStudio_5

    Levy Oliveira said:
    I did not find drivers.lib at this path. There is no "...Debug/drivers.lib" but there is "...Release/drivers.lib".

    The strange thing is that my libs are not even in a configuration folder but at  the root of 'drivers'. You are using a later version of StarterWare than I am, or what the workshop specifies. I wonder if something changed.

    To change the paths, You'll need to go to the project properties and modify the library search paths. See the link below, the section for adding libraries:

    http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection#CCStudio_5

    Thanks

    ki

  • Hi, Ki,

    The CCS has found the ARM Compiler. See screenshot below.

    StarterWare is not shown, it should be there?

    Thanks,

    Levy Oliveira

  • In order to run the gpioLEDBlink example, I had to do the following changes to the imported project:

    1. to point the includes in "Project Properties/ARM Linker/File Search Path" to the "release" path, ex.: ".../drivers/release/drivers.lib", there is no "debug"  folder after importing the project.
    2. to unzip the "rtssrc" zipped folder at "c:\ti\ccsv5\tools\compiler\arm_5.0.4\lib". It was not unzipped during the import project process.