Skip to main content
Associate III
July 24, 2024
Solved

External Library error "undefined reference to"

  • July 24, 2024
  • 2 replies
  • 1740 views

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?

 

 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    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.

    2 replies

    mƎALLEm
    mƎALLEmBest answer
    ST Technical Moderator
    September 7, 2024

    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 "Best answer" on the reply which solved your issue or answered your question.
    Associate III
    September 9, 2024

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