Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libspeex编译通不过 #7

Open
GoogleCodeExporter opened this issue Jul 10, 2015 · 1 comment
Open

libspeex编译通不过 #7

GoogleCodeExporter opened this issue Jul 10, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

主要有以下三类错误:
1. error C2054: 在“inline”之后应输入“(”
搜索知道是因为vs2008不支持C99,C语言中没有inline.inline是c++里��
�的东西,在c里面使用是会发生错误。

2. 无法打开包括文件:“speex/speex_types.h”: No such file or directory
类似错误很多,查看库文件是在..speex/include目录下,逐个改��
�好像就可以了。

3. fatal error C1189: #error :  You now need to define either FIXED_POINT or 
FLOATING_POINT

作者是怎么编译的呢?希望得到指教。

Original issue reported on code.google.com by [email protected] on 8 Jun 2012 at 12:45

@GoogleCodeExporter
Copy link
Author

项目->属性->C/C++-> 宏定义增加 FIXED_POINT、HAVE_CONFIG_H。
添加include目录: 
linphone-vs2008-demo-source\codecs\speex\win32以找到config.h
问题解决
谢谢作者的热心解答。

Original comment by [email protected] on 8 Jun 2012 at 1:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant