[Speex-dev] Linker Error when compiling Speex decoder

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Mon Jan 18 20:18:54 PST 2010


How about linking with the C library?

On 2010-01-18 23:07, Saju Palayur wrote:
> Hi
> I get the following error during linking. How do I resolve it.
> I am compiling using Visual Studio 2008
> Thanks
>
> 1>Copyright (C) Microsoft Corporation. All rights reserved.
> 1>Linking...
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __imp__fclose referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __imp__fwrite referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __imp__feof referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __imp__fprintf referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __imp__fread referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __imp____iob_func referenced in function "int __cdecl _tmain(int,char *
> * const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __imp__fopen referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> ___security_cookie referenced in function "int __cdecl _tmain(int,char *
> * const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> @__security_check_cookie at 4 referenced in function "int __cdecl
> _tmain(int,char * * const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> @_RTC_CheckStackVars at 8 referenced in function "int __cdecl
> _tmain(int,char * * const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __ftol2_sse referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol
> __RTC_CheckEsp referenced in function "int __cdecl _tmain(int,char * *
> const)" (?_tmain@@YAHHQAPAD at Z)
> 1>MicSpeexDec.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
> 1>MicSpeexDec.obj : error LNK2001: unresolved external symbol __RTC_InitBase
> 1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
>
>
>
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list