【问题标题】:Error setting up OpenFrameworks Eclipse ADT?设置 OpenFrameworks Eclipse ADT 时出错?
【发布时间】:2015-05-12 22:07:33
【问题描述】:

当我尝试使用 ADT 插件在 Eclipse 中使用 Android 设置 OF 时出现错误。我已按照 Open Frameworks 网站上的指南进行操作。下面是我尝试编译 Empty 示例时控制台输出的最后一部分:

compressing and copying resources from bin/data into res
cd /Users/sidatre/Google Drive/Scripts and Programs/OpenFrameworks/android/examples/android/androidEmptyExample/; \
    if [ -d "bin/data" ]; then \
        mkdir -p res/raw; \
        rm res/raw/google scripts and androidemptyexampleresources.zip; \
        if [ "darwin-x86_64" = "windows" ]; then \
            echo "Windows Platform. Running Zip..."; \
            cmd //c ..\\..\\..\\libs\\openFrameworksCompiled\\project\\android\\windows\\zip -r ./res/raw/google scripts and androidemptyexampleresources.zip ./bin/data/ && exit; \
        else \
/bin/sh: line 0: cd: /Users/sidatre/Google: No such file or directory
            cd bin/data; \
            zip -r ../../res/raw/google scripts and androidemptyexampleresources.zip *; \
            cd ../..; \
        fi; \
    fi
copying debugging binaries for armv5 armv7 neon x86
create gdb.setup for armeabi
create gdb.setup for armeabi-v7a
create gdb.setup for x86
creating Android.mk and Application.mk
#@echo updating ofAndroidLib project
#@cd ../../../addons/ofxAndroid/ofAndroidLib; \
    #if [ "darwin-x86_64" = "windows" ]; then \
    #   cmd //c /Users/sidatre/Library/Android/sdk/tools/android.bat update project --target android-17 --path .; \
    #else \
    #   /Users/sidatre/Library/Android/sdk/tools/android update project --target android-17 --path .; \
    #fi
#@echo updating current project
#@cd /Users/sidatre/Google Drive/Scripts and Programs/OpenFrameworks/android/examples/android/androidEmptyExample/; \
    #if [ "darwin-x86_64" = "windows" ]; then \
    #   cmd //c /Users/sidatre/Library/Android/sdk/tools/android.bat update project --target android-17 --path .; \
    #else \
    #   /Users/sidatre/Library/Android/sdk/tools/android update project --target android-17 --path .; \
    #fi
make[1]: *** No rule to make target `Scripts'.  Stop.
make: *** [Release] Error 2

Scripts make 目标在哪里定义?我从来没有创建过这样的目标。

【问题讨论】:

    标签: android eclipse adt openframeworks


    【解决方案1】:

    我意识到问题出在我的文件夹结构上,因为父文件夹被称为 Scripts and Programs 并且单词之间的空格干扰了 make 进程。将文件夹重命名为 ScriptsAndPrograms 解决了我的问题。

    【讨论】:

      猜你喜欢
      • 2012-09-02
      • 2013-12-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-22
      • 1970-01-01
      • 2023-03-12
      相关资源
      最近更新 更多