Hi Min,
Define HAVE_CONFIG_H at the project level, and make sure that the speex
win32 folder is in the include path so the config.h file there can be
included.
Cheers,
Dave
________________________________
From: speex-dev-bounces@xiph.org
[mailto:speex-dev-bounces@xiph.org] On Behalf Of Min Qin
Sent: Friday, 2 March 2007 2:51 PM
To: Speex-dev@xiph.org
Subject: [Speex-dev] compiling echo cancellation
dear all
I got this error when I try to use libspeex in visual studio.
when I include speex/speex_echo.h, it complains about unresolved
external symbol _speex_echo_state_init. And when I include mdf.c into
the source, it generates whole bunch of errors. Any idea? thanks so much
--------------------Configuration: audio - Win32
Debug--------------------
Compiling...
mdf.c
C:\Documents and Settings\Min Qin\Desktop\speex\audio\mdf.c(156)
: error C2054: expected '(' to follow 'inline'
C:\Documents and Settings\Min Qin\Desktop\speex\audio\mdf.c(157)
: error C2085: 'filter_dc_notch16' : not in formal parameter list
C:\Documents and Settings\Min Qin\Desktop\speex\audio\mdf.c(157)
: error C2143: syntax error : missing ';' before '{'
......................
Min
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xiph.org/pipermail/speex-dev/attachments/20070302/a550771a/attachment.html