Compiling Speex on xCode for iOS

I am trying to compile and use the Speex codec for an iPhone application. I used several guides: http://codeforfun.wordpress.com/2010/04/29/compile-speex-for-iphone/

Also tried to compile it with this sentence: speex cross compilation library for ios

and offcourse change "SDKROOT" to "iphoneos"

all this led me to the problem that i cannot create binaries. I think I tried everything! I think the problem is that the makefile is missing. I changed the original Makefile.in to "makefile" and now xCode can find it, but still it doesn't work.

The error I get is: d: warning: the directory was not found for the option '-L ... / CSource / libspeex / .libs' Undefined symbols for the armv7s architecture: "_speex_nb_mode" referenced: - [MainViewController viewDidLoad] in MainViewController .o

Please, help!

+4
source share
1 answer

I have not tested it, but here is the Speex library precompiled for iOS: https://github.com/iosdevzone/IDZPrecompiledSpeex

+1
source

All Articles