[MPlayer-cygwin] libmp3lame problem w/ solution
Sycotic Smith
sycotic at linuxmail.org
Wed Dec 4 22:37:09 CET 2002
Hello fellow cygwin lusers!
I came across a problem when I tried to use libmp3lame with mencoder, seems the lame/lame.h file that is installed has *NIX style #if's instead of portable ones. If you are having the same problem of 'parse error before...' when trying to use this lib, here is what _I_ did to get it working. If you want, I can try to make a patch and send it to the lame ml as well. This is with latest (3.93) lame from their site.
<include>/lame/lame.h (my system it is /usr/local/include/lame/lame.h)
Line 29 (old then new):
-#if defined(__cplusplus)
+#ifdef __cplusplus
Line 33:
-#if defined(WIN32)
+#ifdef __WIN32__
I deleted some white space, so the line number would be wrong here, basically you need to change the LAST if defined() line at the end of the file:
-#if defined(__cplusplus)
+#ifdef __cplusplus
If this is confusing, or if you wish me to make a patch to send to THIS list, let me know. Otherwise, I'm going to make a patch and send to lame-ml only.
Good luck!
/S. Smith
--
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr
Powered by Outblaze
More information about the MPlayer-cygwin
mailing list