-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Examples can't be built from other than the root Zen-C directory because ZenC doesn't pass ZC_ROOT to the C compiler, presumably.
This results in e.g. binsearch.zc being unable to build if zc is invoked from its own directory, due to the relative include output into the C file:
#include "std/third-party/tre/include/tre.h"To Reproduce
Steps to reproduce the behavior:
- Set working directory to examples/examples/internal/algorithms
zc run binsearch.zc- See include path error
Expected behavior
zc should pass ZC_ROOT to the C compiler to it can find std/ include paths.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done