Alex Bakaev
2006-Jan-12 15:35 UTC
[Speex-dev] Problem compiling testenc.c on WinXP(newbie)
I have no problems compiling with Borland compiler (in fact it helped uncover a couple of math issues during run-time). I use BDS 2006. What's happening in your case is that the Speex itself is not linked in. I suggest you create a library out of the C sources and link it in with your test app. HTH, .a -----Original Message----- From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of Georg Schmalz Sent: Thursday, January 12, 2006 4:16 AM To: speex-dev@xiph.org Subject: [Speex-dev] Problem compiling testenc.c on WinXP(newbie) Hello, I want to compile testenc.c with Borland C/C++ compiler, but get a lot of errors. What's wrong? Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland testenc.c: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_speex_encoder_init' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_decoder_init' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_std_char_handler' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_std_mode_request_handler' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_decoder_ctl' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_encoder_ctl' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_nb_mode' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_mode_query' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_bits_init' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_encode_int' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_bits_write' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_bits_rewind' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_decode_int' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_bits_reset' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_encoder_destroy' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_decoder_destroy' referenced from D:\SPEEX\TESTENC.OBJ Error: Unresolved external '_speex_bits_destroy' referenced from D:\SPEEX\TESTENC.OBJ _______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xiph.org/mailman/listinfo/speex-dev