ユーザ用ツール

サイト用ツール


vulkan:vulkan_android

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
vulkan:vulkan_android [2016/08/26 23:58] ogavulkan:vulkan_android [2016/09/12 15:46] (現在) oga
行 1: 行 1:
-====== Vulakn Android ======+====== Vulakn sample を Android で走らせるまでの手順 ======
  
 Android で Vulkan samle を走らせるまでの手順。 Android で Vulkan samle を走らせるまでの手順。
  
   * https://developer.android.com/ndk/guides/graphics/getting-started.html   * https://developer.android.com/ndk/guides/graphics/getting-started.html
- 
  
  
 === Windows の場合 === === Windows の場合 ===
  
-  - VisualStudio 2015 install+  - VisualStudio 2015 install (2013 でも構いません)
   - JDK install   - JDK install
   - AndroidStudio install (Android 7.0 SDK download)   - AndroidStudio install (Android 7.0 SDK download)
行 15: 行 14:
   - Android NDK download (android-ndk-r12b)   - Android NDK download (android-ndk-r12b)
     * 任意の場所に展開します     * 任意の場所に展開します
-    * 環境変数 NDK_ROOT にパスを設定しておきます +    * 環境変数 NDK_ROOT にパスを設定しておきます (不要かも) 
-  - Python 3 を install します+  - Python 3 を install します (3.3 以上) 
 +    * https://www.python.org/downloads
     * Path を通しておきます。     * Path を通しておきます。
   - cmake を install します   - cmake を install します
 +    * http://www.cmake.org/download/
   - git を install します   - git を install します
 +    * http://git-scm.com/download/win
  
  
行 26: 行 28:
   - git clone https://github.com/googlesamples/vulkan-basic-samples.git   - git clone https://github.com/googlesamples/vulkan-basic-samples.git
   - cd vulkan-basic-samples/LunarGSamles   - cd vulkan-basic-samples/LunarGSamles
-  - update_external_sources.bat -all+  - update_external_sources.bat --all
   - cd API-samples   - cd API-samples
   - cmake -DANDROID=ON -DANDROID_ABI=all   - cmake -DANDROID=ON -DANDROID_ABI=all
行 38: 行 40:
  
   - AndroidStudio を起動します   - AndroidStudio を起動します
 +  - File -> Project Structure -> Android NDK location に NDK のパスを登録します
   - File -> New -> Import Project ...   - File -> New -> Import Project ...
   - 下記のフォルダを指定します   - 下記のフォルダを指定します
     * vulkan-basic-samples/LunarGSamles/API-samples/android     * vulkan-basic-samples/LunarGSamles/API-samples/android
-  - もし下記エラが出る場合 +  - gradle の update を促すメッセ無視します 
-    * Error:Neither path nor baseDir may be null or empty string. path='null' basedir= ~ +  - エラーが出るときは
-    - 左側の 1:Project を開く +
-    - 一番下の local.properties を開く +
-    - sdk.dir= の行を参考に ndk.dir= の行を追加る +
-      * 例: 「ndk.dir=C\:\\Android\\android-ndk-r12b」 +
-  - まだエラーが出るときは+
     * Android SDK Manager を使って、"Android SDK Build-tools" 23.0.2 を install     * Android SDK Manager を使って、"Android SDK Build-tools" 23.0.2 を install
       * または build.gradle で使用している version の build-tools を install       * または build.gradle で使用している version の build-tools を install
vulkan/vulkan_android.1472223492.txt.gz · 最終更新: 2016/08/26 23:58 by oga

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki