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.

linking problem

What am I doing wrong?

 I am building the example in the csl download.

Thanks Martin

 

 

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

 

undefined first referenced

symbol in file

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

_GPT_close ./csl_gpt_examaple.obj

_GPT_config ./csl_gpt_examaple.obj

_GPT_getCnt ./csl_gpt_examaple.obj

_GPT_open ./csl_gpt_examaple.obj

_GPT_reset ./csl_gpt_examaple.obj

_GPT_start ./csl_gpt_examaple.obj

_GPT_stop ./csl_gpt_examaple.obj

_IRQ_clear ./csl_gpt_examaple.obj

_IRQ_clearAll ./csl_gpt_examaple.obj

_IRQ_disableAll ./csl_gpt_examaple.obj

_IRQ_enable ./csl_gpt_examaple.obj

_IRQ_globalDisable ./csl_gpt_examaple.obj

_IRQ_globalEnable ./csl_gpt_examaple.obj

_IRQ_plug ./csl_gpt_examaple.obj

_IRQ_setVecs ./csl_gpt_examaple.obj

_VECSTART ./csl_gpt_examaple.obj

  • It seems that the linker is not finding the library cslVC5505.lib.

    You can find out where the library is and put the path to it in the Build Options...

    Right click on your project, select Build Options... Linker tab, Libraries category, Search Path: 

     

  • Thanks for the reply.

    I cannot get permission to read the file. Is it a Vista problem or file problem.

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

    fatal error: cannot open file "C:\\Program

    Files\\TMS320VC55XCSL-LOWPWR\\VC5505_CSL\\CCS_v4.0_Examples\\cslVC5505\\Debug": Permission denied.

    Where do I put the include. I have the following in the ink build.

    "C:\Program Files\TMS320VC55XCSL-LOWPWR\VC5505_CSL\CCS_v4.0_Examples\cslVC5505\Debug"

    I verified that the file is there.

  • Anyone want to guess why I can build the PLL example and run, but in the same project cannot build the QPTExamleout example,I am denied access to the debug file lib?

    Have tried to copy, rename, move and nothing works. The linker sees the file but is denied access.

    Thanks

    Martin