Kodi Community Forum
./configure --with-ndk fails for ndk higher than 10e - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184)
+---- Thread: ./configure --with-ndk fails for ndk higher than 10e (/showthread.php?tid=274621)



./configure --with-ndk fails for ndk higher than 10e - [email protected] - 2016-05-16

Hello,
When trying to run ./configure --with-ndk=... according to the instructions from master/docs/README.android
it failed with the following error message: 'android-ndk-r11c' is not an NDK directory.

This comes from configure.ac (line 459) testing for 'RELEASE.TXT' in the ndk directory

Code:
if ! test -f "$use_ndk/RELEASE.TXT" ; then
    AC_MSG_ERROR("$use_ndk is not an NDK directory")
  fi

The RELEASE.TXT file doesn't exist from ndk revision 11 and on.

I'm checking whether kodi compiles with ndk 11 and on (I guss is is).

What should be the correct way to check the ndk existence ?

I will fix the configure.ac file to the proposed way and submit a patch.

Regards,
Vadim.


RE: ./configure --with-ndk fails for ndk higher than 10e - Koying - 2016-05-16

source.properties would be the equivalent, I suppose.

Code:
$:/opt/android-dev/android-ndk-r11c# cat source.properties
Pkg.Desc = Android NDK
Pkg.Revision = 11.2.2725575



RE: ./configure --with-ndk fails for ndk higher than 10e - [email protected] - 2016-05-16

Thanks.

Going to implement this.

Regards,
Vadim.