android - 找不到 Windows.h,为什么?

标签 android audio android-ndk ubuntu-11.10 speex

我正在关注this在我的运行 ubuntu 11.10 的盒子上使用 android ndk 设置 JNI... 在这个程序中,我将 speex 与我现有的流音频应用程序集成。到目前为止,一切工作正常,但当我集成 speex_echo_cancelation 时,事情被破坏了...现在我收到以下错误...有什么帮助吗?

jni/./libspeex/mdf.c:78:21: error: windows.h: No such file or directory
jni/./libspeex/mdf.c: In function 'speex_echo_cancellation':
jni/./libspeex/mdf.c:1195: error: invalid operands to binary + (have 'float' and 'spx_float_t')
jni/./libspeex/mdf.c:1216: error: invalid operands to binary + (have 'float' and 'spx_float_t')
make: *** [obj/local/armeabi/objs/speex/./libspeex/mdf.o] Error 1

最佳答案

嗯,它找不到 windows.h,因为您不在 Windows 系统上。它不应该寻找 windows.h,因为您的目标不是 Windows 系统。您确定已下载正确的软件包并且所有环境变量设置正确吗?

关于android - 找不到 Windows.h,为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9738711/

相关文章:

java - 无法从 android.support.v4.app.Fragment 转换为 android.app.Fragment

java - 检查我的应用程序在 Android 中的首次用户

android - 获取所有已注册地理围栏的列表

android - 在 OnCompletionListener 中使用 MediaPlayer get 添加对象

android - Android NDK 偶尔出现 UnsatisfiedLinkError

java - 在JAVA中将PCM WAV转换为ULAW WAV

Java - 从 22050 降采样到 8000 给出零字节

jQuery remove() html 5 音频 mediaelementjs

android - 如何分发.so库访问的 ".dat"文件

android - android studio预建库中的问题