echonest / echoprint-ios-sample

Sample Echoprint song identifier for iOS
http://echoprint.me/
165 stars 53 forks source link

Can't compile #2

Closed henrihallik closed 13 years ago

henrihallik commented 13 years ago

Hi, I am trying to compile the iOS example and have following issues:

ld: warning: directory not found for option '-L/Users/Yrgel/Desktop/echonest-echoprint-ios-sample-b937c04/../../echoprint-codegen/src/echoprint-codegen-ios/build/Release-iphoneos' Undefined symbols for architecture armv6: "_vDSPvsmul", referenced from: Spectrogram::SimpleFFT(float&) in libechoprint-codegen-ios.a(Spectrogram.o) "_vDSP_destroy_fftsetup", referenced from: Spectrogram::~Spectrogram()in libechoprint-codegen-ios.a(Spectrogram.o) Spectrogram::~Spectrogram()in libechoprint-codegen-ios.a(Spectrogram.o) "_vDSP_create_fftsetup", referenced from: Spectrogram::Init() in libechoprint-codegen-ios.a(Spectrogram.o) "_vDSPctoz", referenced from: Spectrogram::SimpleFFT(float&) in libechoprint-codegen-ios.a(Spectrogram.o) "_vDSP_fft_zrip", referenced from: Spectrogram::SimpleFFT(float*&) in libechoprint-codegen-ios.a(Spectrogram.o) ld: symbol(s) not found for architecture armv6 collect2: ld returned 1 exit status

Can anybody please tell me how to fix this?

henrihallik commented 13 years ago

Installed the boost, taglib and ffmpeg properly with brew and check out the code from scratch and was able to compile it.

etiksan commented 12 years ago

I'm getting same errors all the time. also installed taglib, boost and ffmpeg with brew but nothing changed. have you done anything more ?

TimKreger commented 12 years ago

I had the same errors. It required adding the Accelerate framework. Those symbols belong to Veclib. Not sure how anyone else got this to compile without it?