Help - Search - Members - Calendar
Full Version: vorbis-tools won't compile with FLAC support
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - Tech
Borbus
I am trying to compile vorbis-tools against the aotuv libraries. I have successfully compiled aotuv and FLAC 1.1.4. When I try to compile vorbis-tools, the configure script gives this error:

WARNING: FLAC and/on OggFLAC libraries or headers missing, oggenc will NOT be built with FLAC read support.

But I am sure I have the FLAC libraries installed. I have tried some patches that I found but I still can't get it to work. Any ideas?

Thanks in advance.
Mr_Rabid_Teddybear
Vorbis-tools are not updated to the changes that happened from FLAC 1.1.2 to 1.1.3, namely that libOggFLAC got merged into libFLAC (and libOggFLAC++ got merged into libFLAC++, not important here). Vorbis-tools require both libOggFLAC and libFLAC to compile in FLAC support, or it just silently drops it as FLAC (or Speex) are not prerequisites but optional dependencies. So Vorbis-tools just gets compiled without FLAC (or Speex) support if those libs are missing.

I found a patch at following link, but I'm still struggling.....
http://bugs.archlinux.org/task/6833


jcoalson
before flac-1.1.3 came out I submitted patches to support both the new and old interfaces and they were applied to the trunk in svn, has there not been a vorbis-tools release since then?

e.g. see NEED_EASYFLAC snippets in
http://svn.xiph.org/trunk/vorbis-tools/ogg123/flac_format.c
http://svn.xiph.org/trunk/vorbis-tools/oggenc/flac.h
http://svn.xiph.org/trunk/vorbis-tools/oggenc/flac.h
Mr_Rabid_Teddybear
Thanks! Compiling vorbis-tools from current svn trunk checkout solved the problem. (In this version ogg123 also plays oggflac. Last version I tried didn't.)

For those who wonder:

svn co http://svn.xiph.org/trunk/vorbis-tools
cd vorbis-tools
./autogen.sh
./configure (Plus any additional parameters to configure that you would want. Run ./configure --help for list.)
make && make install && make clean


callmeace
Is there any recent compile with any updates, of the Vorbis Tools available, for Windows? unsure.gif

Thanks for any information or a newer Vorbis tools compiled.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.