LoginSignup
3
3

More than 5 years have passed since last update.

cocos2dxのProjectをEclipseでビルドすると"NDK_ROOT not defined"になる時の対処法

Last updated at Posted at 2015-05-29

問題

.bash_profileにはAndroid NDKへのパスを設定済みなのに、cocos2dxのProjectをEclipseでビルドするとNDK_ROOT not definedのエラーになってしまう。

対処法

Eclipseで下記の設定を行う。

Projectで右クリックしてプロパティを開く。
C/C++を選ぶ。
Build->Environmentを選ぶ。

下記の設定を追加。
Name: NDK_ROOT
Value: NDKへのパスを設定

3
3
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
3
3