Septih
Septih

Reputation: 1436

Using LAME encoder in an xcode project

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

Answers (1)

mmmmmm
mmmmmm

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

Related Questions