Skip to main content
Explorer II
July 24, 2024
Solved

External Library error "undefined reference to"

  • July 24, 2024
  • 1 reply
  • 1097 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.

    1 reply

    mƎALLEmAnswer
    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.

    Explorer II
    September 9, 2024

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