[CLAM] using LIBMAD with Visual C++: LINKING ERROR: unresolved external symbols

Pau Arumí parumi at iua.upf.es
Thu Nov 24 17:11:27 PST 2005


Hi Michael,
Are you trying to compile a clam application? And what release of clam 
are you using?
clam 0.8.0 is not winows-visual compatible.

Pau





En/na felber.michael at gmx.net ha escrit:

>Hi all,
>
>CLAM uses libmad so I donwloaded the libmad.lib form the CLAM download area.
>
>I tried to use the libmad High Level API (example file minimad.c from
>underbit), but got following errors building a solution under Visual C++ 7:
>
>error LNK2019: unresolved external symbol _mad_decoder_finish referenced in
>function "int __cdecl decode(unsigned char const *,unsigned long)"
>
>error LNK2019: unresolved external symbol _mad_decoder_run referenced in
>function "int __cdecl decode(unsigned char const *,unsigned long)"
>
>error LNK2019: unresolved external symbol _mad_decoder_init referenced in
>function "int __cdecl decode(unsigned char const *,unsigned long)"
>
>All in all 5 such error messages.
>
>What is wrong there?
>
>I copied the libmad.lib into my Visual C\lib directory.
>My project includes the mad.h as well. I set the path (VC++ directories) to
>all the other header files coming along with libmad.
>
>So what is missing? I also created a libmad.dll and put in my
>windows/system32 directory.
>
>I tried to make this with Eclipse+CDT as well (using the mingw compiler).
>Got the same error messages.
>
>Thanks in advance
>
>
>Michael
>
>
>
>
>_______________________________________________
>CLAM mailing list
>CLAM at iua.upf.es
>http://www.iua.upf.es/mtg/clam
>
>
>  
>






More information about the clam-users mailing list