Jarod Middelman
2nd December 2010, 06:45
cvs -z3 -d:pserver:anonymous@lame.cvs.sourceforge.net:/cvsroot/lame co -P lame
configure --enable-expopt=full
make
Working fine, then:
cd Dll
make -f Makefile.mingw32
gives:
$ make -f Makefile.mingw32
g++ -I../include -I../libmp3lame -c BladeMP3EncDLL.c -o BladeMP3EncDLL.o
In file included from BladeMP3EncDLL.c:24:
BladeMP3EncDLL.h:198: warning: 'packed' attribute ignored
BladeMP3EncDLL.h:230: warning: 'packed' attribute ignored
BladeMP3EncDLL.c: In function 'void DebugPrintf(const char*, ...)':
BladeMP3EncDLL.c:63: error: invalid conversion from 'void*' to 'HINSTANCE__*'
BladeMP3EncDLL.c:63: error: initializing argument 1 of 'DWORD GetModuleFileNameA(HINSTANCE__*, CHAR*, DWORD)'
BladeMP3EncDLL.c: In function 'BE_ERR updateLameTagFrame(lame_global_flags*, FILE*)':
BladeMP3EncDLL.c:830: error: invalid conversion from 'void*' to 'unsigned char*'
BladeMP3EncDLL.c: In function 'void dump_config(lame_global_flags*)':
BladeMP3EncDLL.c:1008: error: 'lame_get_athaa_loudapprox' was not declared in this scope
make: *** [BladeMP3EncDLL.o] Error 1
Also tried:
http://kemovitra.blogspot.com/2009/08/mingw-to-compile-lame-for-windows.html
a2dll libmp3lame.a -o lame_enc.dll
lame_enc.dll is created, but when i try to load it into edcast, it says error with lame_enc.dll.
Anyone know how to?
configure --enable-expopt=full
make
Working fine, then:
cd Dll
make -f Makefile.mingw32
gives:
$ make -f Makefile.mingw32
g++ -I../include -I../libmp3lame -c BladeMP3EncDLL.c -o BladeMP3EncDLL.o
In file included from BladeMP3EncDLL.c:24:
BladeMP3EncDLL.h:198: warning: 'packed' attribute ignored
BladeMP3EncDLL.h:230: warning: 'packed' attribute ignored
BladeMP3EncDLL.c: In function 'void DebugPrintf(const char*, ...)':
BladeMP3EncDLL.c:63: error: invalid conversion from 'void*' to 'HINSTANCE__*'
BladeMP3EncDLL.c:63: error: initializing argument 1 of 'DWORD GetModuleFileNameA(HINSTANCE__*, CHAR*, DWORD)'
BladeMP3EncDLL.c: In function 'BE_ERR updateLameTagFrame(lame_global_flags*, FILE*)':
BladeMP3EncDLL.c:830: error: invalid conversion from 'void*' to 'unsigned char*'
BladeMP3EncDLL.c: In function 'void dump_config(lame_global_flags*)':
BladeMP3EncDLL.c:1008: error: 'lame_get_athaa_loudapprox' was not declared in this scope
make: *** [BladeMP3EncDLL.o] Error 1
Also tried:
http://kemovitra.blogspot.com/2009/08/mingw-to-compile-lame-for-windows.html
a2dll libmp3lame.a -o lame_enc.dll
lame_enc.dll is created, but when i try to load it into edcast, it says error with lame_enc.dll.
Anyone know how to?