Help - Search - Members - Calendar
Full Version: A newbie's confusion when compiling lame3.91
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
GavinYang
I have built lame3.91 for a debug version under MSVC6.0
It perform well when encoding a wav
but when I try to "lame -mp3input test128.mp3 test32.mp3" or even
"lame --decode test128.mp3 test128.wav"
Command line says that "Error: libmp3lame not compiled with mpg123 *decoding* support"
But this problem vanishes when it's a release version!
How can I do? Thanks for any kind of help!
john33
You need to include the following pre-processor directive: "HAVE_MPGLIB" in the compile. Then it should compile mpglib in OK and you'll be able to decode properly. wink.gif
GavinYang
Well I found it and thanks all the same.
but I don't understand why did they set
"HAVEMPGLIB", which is undefined, in the
preprocessor definitions. A little mistake or
for other popers? rolleyes.gif
john33
QUOTE(GavinYang @ Nov 21 2003, 12:09 PM)
Well I found it and thanks all the same.
but I don't understand why did they set
"HAVEMPGLIB", which is  undefined, in the
preprocessor definitions. A little mistake or
for other popers? rolleyes.gif

???? unsure.gif
GavinYang
Well, "HAVEMPGLIB" was already in the "preprocessor definitions"
for debug setting when I downloaded it. So "Error: libmp3lame not compiled with mpg123 *decoding* support" appeared when I try to conduct decoding.
But If I replace it with "HAVE_MPGLIB" , everything is OK.
I download the sourcode from the link in www.mp3dev.org, I don't know why they set "HAVEMPGLIB" int the preprocessor definiitions for debug version
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-2008 Invision Power Services, Inc.