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.

Compiler problem

Hi all,

I'm new to the TI word

I've chosen this wonderful chip for the incredible features

Probably my question is a little bit simple for the most but I cannot compile the examples coming with the stick:

loading and compiling SD card example result in an error lacking this file: cslVC5505_Lib.lib

what can I do?

Thanks

Ivano

  • Ivano,

    The demo software has been tested and should be working.  I have a few questions for you. 
    1. Did you follow the Quick Start Guide for installation of all the SW? 
    2. Have you made any changes to the code you are trying to compile? 
    3. Can you list the steps that you have taken to develop the project you are trying to compile? 
    4. What is the exact error message (screen shot would be good)?

    There are details on how to use CCSv4 and eZdsp Stick on our E2E Community that you might find useful. 
      https://community.ti.com/  (videos on how to use)

      http://wiki.davincidsp.com/index.php/Category:CCS  (wiki for both C5000 and CCSv4 here)

    Regards.

  • I've installed CCS4 with no modification, and the 3 examples (LED, AIC3204, ..) coming with compiler are compiled correctly and run on stick board.

    So I've done IMPORT =>existing project into workspace => CSL_GPIO_OutputPinExample =>project => build active project and this is the resulting error:

    thanks

    Ivano

    <Linking>

     

    error: cannot find file "Debug/cslVC5505_Lib.lib"

     

     

     

    undefined first referenced

    symbol in file

    --------- ----------------

    _GPIO_close ./gpio_example.obj

    _GPIO_config ./gpio_example.obj

    _GPIO_configBit ./gpio_example.obj

    _GPIO_getConfig ./gpio_example.obj

    _GPIO_open ./gpio_example.obj

    _GPIO_read ./gpio_example.obj

    _GPIO_reset ./gpio_example.obj

    _GPIO_write ./gpio_example.obj

     

    error: unresolved symbols remain

    error: errors encountered during linking; "CSL_GPIO_OutputPinExample.out" not

    built

     

    >> Compilation failure

    C:\Programmi\Texas Instruments\ccsv4\utils\gmake\gmake: *** [CSL_GPIO_OutputPinExample.out] Error 1

    C:\Programmi\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

    Build complete for project CSL_GPIO_OutputPinExample

  • Ivano,
    It looks like the build is expecting CSL to be built at the same time as your imported project.  That's why it is looking in the \Debug folder for cslVC5505_Lib.lib.  I'm just learning CCSv4 myself, so will need to do a little research to figure what needs to be changed to allow the build to pull the lib from another folder.

    Regards.

  • Thanks for your reply,

    now it seems that all works right, I've recompiled the project located in VC5505_CSL was generated the file cslVC5505_Lib.lib, moving this file to my project directory it seems to compile correctly.

    Ivano

  • Hi,

    I have run sample test programs for C5505 USB stick.

    I am getting the same error as mentioned in this post

    error: cannot find file "Debug/cslVC5505_Lib.lib".

    I read in one the TI posts that I should compile the CSL library? How do I do that? I have downloaded the library from TI site which had one executable which when installed contains the source and examples for CSL. (TMS320VC55XCSL-LOWPWR)

    I imported one of the examples into CC Studio and tried to build the application. During compilation it requires cslVC5505_Lib.lib to be present in debug but in my case, it does not at all get created.

    Are there any configuration issues? Can somebody sort this out?

    Thanks.

    Vijay

  • I am not really sure about this, but try the following: Do not only import a single project, but instead all projects (especially a project called "cslVC5505", which is for compiling the CSL library). Every example project from the CSL has the project "cslVC5505" as a dependency, and I suppose as a consequence of this, this project has to be imported for the CSL example project to work.

    When your project tree shows project cslVC5505, try building your example project that you mentioned in your post. I think then it might work. Everybody feel free to correct me if I am wrong, especially about the meaning of these "dependencies" :-)

  • Thanks Michael, it worked.

    Let me elaborate a bit.

    I imported this folder

    TMS320VC55XCSL-LOWPWR\VC5505_CSL\CCS_v4.0_Examples

    and built some applicationABC.

    I was expecting that the Debug/cslVC5505.lib would get created in applicationABC/Debug but it gets created in CCS_v4.0_Examples\cslVC5505\Debug and gets linked with the application I am building. The path to linker is given to be of this cslVC5505 directory.

    Thanks for your quick response.

    Vijay

  • Oh, Vijay, you are right: The CSL directory is mentioned in the linker search path. I haven't even seen this. I was actually refering to Build-Properties->CCS-Build and then the dependencies-tab. You can manually add and remove projects here. Not quite sure what this does. I think it rebuilds every project mentioned here when your active project is built.