我尝试构建Qualcomm's FastCV示例fastcorner。我将项目文件添加到Eclipse中,并使用“转换为C ++项目”跟随instruction“向项目添加C / C ++属性”。
中什么都没有
我尝试清理项目,得到以下错误:
**** Clean-only build of configuration Default for project FastCVSample ****
make clean
Host OS was auto-detected: windows
gawk.exe": fatal: can't open source file "/cygdrive/d/Android/android-ndk-r7/build/awk/check-awk.awk" for reading (No such file or directory)
/cygdrive/d/Android/android-ndk-r7/build/core/init.mk:258: *** Android NDK: Aborting. . Stop.
Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
make: *** [clean] Error 2
make[1]: Entering directory `/cygdrive/d/Android/fastcv-android-1-0-3/samples/fastcorner'
make[1]: Leaving directory `/cygdrive/d/Android/fastcv-android-1-0-3/samples/fastcorner'
Makefile:57: recipe for target `clean' failed
**** Build Finished ****
似乎eclipse找不到“awk”,但是我可以在cygwin中成功执行awk,而且我还在eclipse中的“HOST_AWK”中设置了C / C ++构建环境变量,没有任何帮助。
有谁知道我该怎么做?
答案 0 :(得分:0)
我在ndk-r7上遇到了同样的问题,我不得不将ndk / prebuild / windows / bin / awk.exe重命名为_awk.exe。
在ndk-r7b中我没有这个问题。