0
0

More than 5 years have passed since last update.

cocos2d-x 3.9 python2.7 Windows10でのbuild_native.pyがエラーになる回避方法

Posted at

ここを見ると
[Dependencies: Python 2.7]
と書いてある。

すでにpython 2.7を入れていたのでOKと思っていた。(--versionで確認)

command
python --version
2.7

[build_native.py]でエラーとなってうまくいかない。

apache antのところでエラーになるから、そのあたりを探ってみてたけど解決しない。
android-ndk周辺もチェックしたけどだめ。

結局のところ、
Python 2.7.11(現時点で最新)にすると問題なく通った。

どうやら、build_native.pyが’(シングルコーテーション)で全体を囲ってその中で”(ダブルコーテーション)を使ってるようなコマンドがある。これがpython 2.7では理解できないみたい。python 2.7.11で解決している。けっこう重要な問題だね。これ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0