Re: lame 3.93 & GTK
Re: lame 3.93 & GTK
- Subject: Re: lame 3.93 & GTK
- From: "Alex Perez" <email@hidden>
- Date: Fri, 14 Nov 2003 11:43:22 -0800 (PST)
>
On Friday, November 14, 2003, at 12:18 AM, shake wrote:
>
>
> hello all,
>
> newbie to cocoa programming here... so be gentle... :)
>
>
>
> trying to make a drag and drop mp3 encoder. got two questions:
>
> first, can i issue unix commands from a cocoa app?
>
Yes you can. Look at the documentation for NSTask in the Cocoa
>
Reference documentation.
>
>
> second, i'd like to use an mp3 encoder that is cross-platform. so i
>
> found lame 3.93.
>
> (lame stands for "Lame Aint an Mp3 Encoder". i am sure someone out
>
> here has heard of it...)
>
> trying to compile lame 3.93 (mp3 encoder) but having no luck.
>
> i got the source code from sourceforge.net.
>
> running 1.28 ona beige g3 with the december dev tools.
>
> trying these statements to compile (from the source code
>
> directory)... % ./configure
>
> % make
>
> % make install
>
>
>
> during the configure stages, it says that GTK is not installed. has
>
> anyone compiled lame 3.93 on jaguar?
GTK is not needed for LAME to function. GTK is only required when using
LAME's analysis tools. LAME compiles fine under Jaguar. Just because
configure says something isn't installed doesn't mean the project won't
compile. It's a status message, not an error message. I don't know how
famaliar you two are with configure scripts, but this tends to get
newbies, who see that the configure script hasn't found a bunch of stuff
and assume something is broken. The whole point of a configure script is
to make the project work on as many platforms as possible. If
./configure doesn't error out, things are fine.
>
>
I have not tried to compile this but I do know that GTK is a widget
>
library for XWindows. This would suggest lame has a UI component to it
>
and even though it wouldn't be impossible to get this to compile,
>
which would require compiling gtk against apples X11 sdk, it would be
>
a lot of work. Try "./configure --help" to see if you can disable
>
gtk support so lame is compiled only as a command line program only.
>
Otherwise you may want to find a mp3 library that you wrap into a
>
framework to include in your application bundle.
>
>
Brian
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev Do not post
>
admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.