You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a project with libdeps = jcw/jeeh in it, and run tests based on Unity, the dependency shows as:
Found 2 compatible libraries
Scanning dependencies...
Dependency Graph
|-- JeeH @ 7.0.0 (License: Unlicense, Path: /Users/jcw/code/jee/jeeh/boards/.pio/libdeps/f103r/JeeH)
|-- Unity @ 2.6.0 (License: MIT, Path: /Users/jcw/code/jee/jeeh/boards/.pio/libdeps/f
Building in test mode
But when I use lib_deps = symlink://.., then the unity.h header is not found, and dependencies show as:
Found 2 compatible libraries
Scanning dependencies...
Dependency Graph
|-- JeeH @ 7.0.0 (License: Unlicense, Path: /Users/jcw/code/jee/jeeh)
Building in test mode
Compilation then fails. It looks like some information got lost in the symlink case?
(PIO CLI 6.1.18, macOS)
Update: note that there are also some upper/lowercase differences (macOS FS is case-insensitive).
The text was updated successfully, but these errors were encountered:
Oops, my bad: the second case was run with .pio/ still present. Unity IS installed in both cases.
But the problem as described remains: with a repository name it works, with a symlink it fails.
jcw
changed the title
Unity library dependency lost when using symlink
Unity header not found when using symlink
Apr 30, 2025
Uh oh!
There was an error while loading. Please reload this page.
When I have a project with
libdeps = jcw/jeeh
in it, and run tests based on Unity, the dependency shows as:But when I use
lib_deps = symlink://..
, then theunity.h
header is not found, and dependencies show as:Compilation then fails. It looks like some information got lost in the symlink case?
(PIO CLI 6.1.18, macOS)
Update: note that there are also some upper/lowercase differences (macOS FS is case-insensitive).
The text was updated successfully, but these errors were encountered: