September 18, 2019, 11:23:16 AM

Author Topic: Cannot determine toolchain dir for 'windows'  (Read 217 times)

Offline Amon.

  • Full Member
  • ***
  • Posts: 132
  • What? There's no ceiling outside?
    • Amon.Pro
Cannot determine toolchain dir for 'windows'
« on: March 20, 2019, 05:23:39 PM »
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.
Code: [Select]
# 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"
Windows 10 Pro - 32GB DDR4 RAM - GEFORCE RTX 2070 8GB - AMD RYZEN 7 8 CORE - WATERCOOLING.

Offline markcwm

  • Sr. Member
  • ****
  • Posts: 400
Re: Cannot determine toolchain dir for 'windows'
« Reply #1 on: March 21, 2019, 01:53:33 AM »
Looks okay, maybe platform is set too high, I used 12.

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