Am Samstag, 29. Januar 2005 14:57 schrieb Takehiro Tominaga: > From: Robert Hegemann <[EMAIL PROTECTED]> > Subject: Re: [mp3encoder] How to correctly compile lame with mingw > Date: Sat, 29 Jan 2005 13:29:26 +0100 > > > the compiler does not have lame/mpglib in its list for include files. > > simple fix: edit libmp3lame/mpglib_interface.c line 13 to #include > > "../mpglib/ interface.h" > > Right. The problem is in the include path configuration. > > But, it sounds strange to me, because the commandline, > > > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I. > > > -I../mpglib/ -I.. -Wall -pipe -march=athlon-xp -Wall > > > -fstrength-reduce -finline-functions -freduce-all-givs > > > -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe > > > -fforce-addr -fomit-frame-pointer -funroll-loops > > > -frerun-cse-after-loop -frerun-loop-opt > > > -falign-functions=4 -maccumulate-outgoing-args > > > -fprefetch-loop-arrays -mtune=athlon-xp -MT > > > mpglib_interface.lo -MD -MP -MF > > > .deps/mpglib_interface.Tpo -c mpglib_interface.c > > > -DDLL_EXPORT -DPIC -o .libs/mpglib_interface.o > > contains "-I../mpglib/". Ummm, really strange. > > FYI: I can successfully compile them on cygwin with the option > "-mno-cygwin", but I have no pure mingw environment.
yes, the include path is there. The problem is the trailing slash. It works if that is removed. libmp3lame/Makefile.am:25:INCLUDES = @INCLUDES@ -I$(top_srcdir)/mpglib/ -I $(top_builddir) Ciao Robert _______________________________________________ mp3encoder mailing list mp3encoder@minnie.tuhs.org http://minnie.tuhs.org/mailman/listinfo/mp3encoder