cancel
Showing results for 
Search instead for 
Did you mean: 

External Library error "undefined reference to"

yolominwoo
Associate III

I manually placed the sw_codec folder inside the middleware as follows.

yolominwoo_0-1721808295355.png

Then I included the folder with library.

yolominwoo_1-1721808320508.pngyolominwoo_2-1721808347646.png

yolominwoo_3-1721808379203.png

but I'm get a error undefined reference to "error"

 

yolominwoo_4-1721808406735.png

yolominwoo_5-1721808415432.png

How to solved?

 

 

2 REPLIES 2
SofLit
ST Employee

Hello,

Not obvious from your description but there are two things to check:

- Include the .h file(s) in the .c file where you are calling these APIs.

- Check again the path to .h files. Check how it was done for other paths like the HAL driver.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

My problem is infineon package errors, Now I'm solved Thanks.