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: cannot find file "evm5517bsl.lib" . How to import libraries on EVM5517?

Hello all,

I have a problem using a library, I guess, so I got this message when I compile my project

error: cannot find file "evm5517bsl.lib" . How to import libraries on  EVM5517? How could I solve this problem?

Best Regards,

The info here :

' '
'Building target: aic3204-1.out'
'Invoking: C5500 Linker'
"c:/ti/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -g --define=c5517 --diag_warning=225 --ptrdiff_size=32 -z -m"aic3204-1.map" --stack_size=0x200 --heap_size=0x400 -i"c:/ti/ccsv6/tools/compiler/c5500_4.4.1/lib" -i"c:/ti/ccsv6/tools/compiler/c5500_4.4.1/include" -i"../../../lib" --reread_libs --warn_sections --xml_link_info="aic3204_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "aic3204-1.out" "./aic3204_loop_mic_in.obj" "./aic3204_loop_stereo_in1.obj" "./aic3204_loop_stereo_in2.obj" "./aic3204_test.obj" "./aic3204_tone_headphone.obj" "./aic3204_tone_stereo_out.obj" "./main.obj" "../C5517.cmd" -l"libc.a" -l"evm5517bsl.lib"
<Linking>
error: cannot find file "evm5517bsl.lib"

undefined first referenced
symbol in file
--------- ----------------
_EVM5517_GPIO_setOutput ./aic3204_test.obj

_EVM5517_I2CGPIO_configLine ./aic3204_test.obj
>> Compilation failure
_EVM5517_I2CGPIO_writeLine ./aic3204_test.obj
_EVM5517_I2C_read ./aic3204_test.obj
_EVM5517_I2C_write ./aic3204_test.obj
_EVM5517_init ./main.obj
_EVM5517_wait ./aic3204_loop_mic_in.obj

error: unresolved symbols remain
error: errors encountered during linking; "aic3204-1.out" not built
gmake: *** [aic3204-1.out] Error 1
gmake: Target `all' not remade because of errors.

  • Hi,

    Can you ensure the library path provided in C5500 linker option is correct.

    To do this rightclick on projects go to Properties-> C5500 linker -> File search path - Here ensure the library path is correctly mentioned.

    Hope the above helps.

    Regards

    Vasanth