October 20, 2021, 11:39:59

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

Offline Amon.

  • Sr. Member
  • ****
  • Posts: 256
  • What? There's no ceiling outside?
    • Amon.Pro
Cannot determine toolchain dir for 'windows'
« on: March 20, 2019, 17:23:39 »
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 - 64GB DDR4 RAM - GEFORCE RTX 2080 TI 11GB - AMD RYZEN 9 3950X

Offline markcwm

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

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

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal