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.

Error compiling McASP OMAP-138 LStarterWare example

Other Parts Discussed in Thread: OMAP-L138

Hello,

I installed the C6748 StarterWare package at the default location, opened CCS v5.1, and then selected Project -> Import Existing CCS/CCE Eclipse Project. I then traversed down to:

     C:\Program Files (x86)\Texas Instruments\C6748_StarterWare_1_20_01_01\build\c674x\cgt_ccs\c6748\evmC6748\mcasp\

to locate the example project file.

 

When I attempt to build the project, I get the following Warning in the Problem view:

    Invalid project path: Include path not found (C:\Program Files (x86)\Texas Instruments\C6748_StarterWare_1_20_01_01\ipclite\include).

 

In the Console window it shows:


**** Build of configuration Debug for project mcasp_c674x_c6748_evmC6748 ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/aic31.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=c6748 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="../../../../../../../examples/evmC6748/mcasp" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../ipclite/include" --include_path="../../../../../../../nandlib/include" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="aic31.pp"  "C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/aic31.c"
The current directory is invalid.
gmake: *** [aic31.obj] Error 1

 

I searched all over my C: drive but I can't find a subdirectory named ipclite.How/where do I obtain the missing files that were installed as part of CCS v5.1 installation?

  • Joe,

    I feel your pain....:) Since it may take a while for an answer from the SW folks, I suggest you try to import the project without checking the "copy projects into workspace". You will find "paths" to be source of great angst and time consumption.

    Good luck!

  • I knew better than to copy the files to a new workspace and just opened a project with all the files in their original location.  It still did not matter.

     

  • One other question. It appears you are using v1.20.01.01 which is for the c6748. I can't imagine ipclite being included in this package since there is only one core (ie x6748) and no ARM for it to talk to.

     

  • Correct, the version of StarterWare I'm using is for the C6748 DSP, but the only development board available for that chip is the OMAP-L138, which has an ARM.

     

    In any event, I modified .cproject to remove ipclite from the list of searched include paths. The Warning message in the Problem view went away, but the project still will not build, i.e. the Console window still says:

    --preproc_dependency="aic31.pp"  "C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/aic31.c"
    The current directory is invalid.
    gmake: *** [aic31.obj] Error 1

    I get this error when compiling the aic31.c, codecif.c, and mcaspPlayBk.c files. The C files are at that location, I am not sure what the tool is complaining about.

  • Joseph,

    Mike is correct about the ipclite folder; that include path is only applicable to the parallel release for OMAP-L138.  It shouldn't cause any real problems, but I apologize for the oversight.  You can also remove this warning by right clicking your project, selecting build options, and editing the compiler include paths in that screen.  This way at least you wouldn't need to manually edit your project files.

    The build error that you describe is more troubling.  I'm not able to reproduce this on my PC, so I may need to ask the CCS team for help debugging this.  Is the text that you provided the entire console output when you attempt to build the application?

  • The entire content of the Console window is shown below:


    **** Build of configuration Debug for project mcasp_c674x_c6748_evmC6748 ****

    C:\ti\ccsv5\utils\bin\gmake -k all
    'Building file: C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/aic31.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=c6748 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="../../../../../../../examples/evmC6748/mcasp" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../nandlib/include" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="aic31.pp"  "C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/aic31.c"
    The current directory is invalid.
    gmake: *** [aic31.obj] Error 1
    'Building file: C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/codecif.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=c6748 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="../../../../../../../examples/evmC6748/mcasp" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../nandlib/include" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="codecif.pp"  "C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/codecif.c"
    The current directory is invalid.
    gmake: *** [codecif.obj] Error 1
    'Building file: C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/mcaspPlayBk.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --define=c6748 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="../../../../../../../examples/evmC6748/mcasp" --include_path="../../../../../../../include" --include_path="../../../../../../../include/hw" --include_path="../../../../../../../include/c674x" --include_path="../../../../../../../include/c674x/c6748" --include_path="../../../../../../../grlib/include" --include_path="../../../../../../../usblib/include" --include_path="../../../../../../../nandlib/include" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="mcaspPlayBk.pp"  "C:/Program Files (x86)/Texas Instruments/C6748_StarterWare_1_20_01_01/examples/evmC6748/mcasp/mcaspPlayBk.c"
    The current directory is invalid.
    gmake: *** [mcaspPlayBk.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • Joseph,

    I'm told by the CCS team that this may be a known issue for projects that are located in the "Program Files" folder on a Windows 7/Vista PC.  I recommend installing (or copying) StarterWare to an alternate location, such as C:/ti, then using the project located there, i.e.:

    C:/ti/C6748_StarterWare_1_20_01_01/build/c674x/cgt_ccs/c6748/evmC6748/mcasp

    This should fix the issue.  Sorry for the inconvenience.