Skip to main content
gitarpista
Associate II
April 23, 2012
Question

PDM Filter

  • April 23, 2012
  • 2 replies
  • 871 views
Posted on April 24, 2012 at 00:01

Hi.

If  i want to use PDM_Filter_64_LSB() function from pmd_filter.h in my program or just build the ''Audio_playback_and_record'' project, i got a 'undefined reference to PDM_Filter_64_LSB' error. I guess i have to use the libPDMFilter_GCC.a file somehow. How can i attach it to my project in Atollic TrueStudio? Please help! Thanx.
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    April 23, 2012
    Posted on April 24, 2012 at 01:01

    Presumably you'd just Add it to the project, or drop it in, presuming you have a version that permits external libraries, which the old Lite version didn't.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    bastenhoor
    Visitor II
    October 10, 2012
    Posted on October 10, 2012 at 19:57

    Hi, I'm using Version 3.2.0 Lite and i'm getting undefined reference to PDM_Filter_Init when I include pdm_filter.h. I have the libPDMFilter_GCC.a in the same directory as pdm_filter.h and main. Do i have to add another reference somewhere? Thanks,

    Bas

    Never mind, found it at build settings, tool settings, c linker, libraries, add PDMFilter_GCC...