Linker error with ExtendedAudioFile

Discussion in 'Mac Programming' started by flashy-cat, Feb 18, 2011.

  1. flashy-cat macrumors regular

    flashy-cat

    Joined:
    Apr 8, 2007
    Location:
    UK
    #1
    Getting the following linker error

    Undefined symbols:
    "_ExtAudioFileOpenURL", referenced from:
    -[MusicPlay2AppDelegate open:] in MusicPlay2AppDelegate.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status

    Any ideas? It seems to be finding the header files ok...
     
  2. flashy-cat thread starter macrumors regular

    flashy-cat

    Joined:
    Apr 8, 2007
    Location:
    UK
    #2
    Solved!

    Had to add the AudioToolbox.framework manually into the project.

    How come this is not done automatically when you include header files?
     

Share This Page