Reputation: 1436
Tasked with converting wav to mp3 in my mac program, I've downloaded and compiled the LAME encoder. I was wondering how I then use it in my xcode project? Previous 3rd party libraries have been in the form of a framework, but LAME just produces a dylib.
Thank you.
Upvotes: 1
Views: 1978
Reputation: 32700
The use of a dynamic library is similar to a Framework Apple doc on dynamic libraries
The library will need to be in a known place
In the target build options set the header and library search paths. To use the library drag it into Xcode (These set the -I -L and -l options to the compiler)
Upvotes: 1