[WIN] Symlinks or junctions not followed in sketch directory #347
Labels
conclusion: resolved
Issue was resolved
os: windows
Specific to Windows operating system
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
I have a project consisting of a single folder containing most of my code, and a couple of sketch directories which mostly contain tests and production sketches.
Example layout:
Inside the sketch I will include the appropriate sources using:
#include "src/OneWire/OneWire.h"
#include "src/custom library 1/library.h"
This layout works perfectly under Ubuntu, but using Windows it does not. On Windows I get an error saying
testHardware:6:10: error: src/OneWire/OneWire.h: No such file or directory
Or more verbose:
It seems like Arduino Builder on Windows does not follow symlinks in the project root directory, neither in the
src
subdirectory - which should be included recursively.Tested on:
The text was updated successfully, but these errors were encountered: