Cannot determine toolchain dir for 'windows'

Started by Amon, March 20, 2019, 17:23:39

Previous topic - Next topic

Amon

BlitzMax NG looks cool. I downloaded it and am trying to get android export going but it wont build stating "Cannot determine toolchain dir for 'windows'".
This is what is in my custom.bmk looks like.
# Example options

# ** compiler optimisation **
#setccopt optimization -O3

# ** specific architecture **
#setwin32ccopt arch -march=pentium3

#setmacx86ccopt arch -march=nocona
#setmacx86ccopt math -msse3



# ** android configuration **
# ** architecture is determined by build settings **
# ** NOTE : android build requires bmk resources folder at BlitzMax/resources **

addoption android.home "D:\android-sdk"
addoption android.sdk "D:\android-sdk"
addoption android.ndk "D:\android-ndk-r18b"
addoption android.toolchain.version "4.9"
addoption android.platform "16"

# ** Optional SDK target **
#    Will try to determine valid target to update project.properties, if not set.
#addoption android.sdk.target "23"

# ** optional ant location **
# ** defaults to resources/apache-ant **

addoption ant.home "D:/apache-ant-1.10.5"

markcwm

Looks okay, maybe platform is set too high, I used 12.

Have you been to the SDK manager to install the right API?