Description
If a certain buildpath is configured by adding "build.path=X:\directory_of_choice" to preferences.txt it may lead to a problem for the compiler:
In SDK versions before 1.8.10 it was possible to select "Aggressively cache compiled core" via a checkbox on File/Preferences. When enabled then core was stored in local temp directory which normally is placed on C:. In this case the configurable setting for build.path has to be on C: too. In any other case we get a compiler error like:
"can't make C:\Users\username\AppData\Local\Temp\arduino_cache_37519\core\core_bf266dfb68e28495ab12fdd4a1409781.a relative to X:\ArduinoBuild"
If caching core is disabled or build.path is on the same drive as default temp then everything works fine.
Since v1.8.10 the checkbox is not longer available. The feature can be enabled/disabled via compiler.cache_core=true/false in preferences,txt.
=> It seems that core is always build in default path while scetch is build in configurable path. Would it be possible to use configured build.path for core compilation too? Or is there any reason for using the present method?