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
On MacOS 13 (Ventura), I find that I have to manually add the /usr/include directory with
module TestCBinding
using CBinding
let
opts = [""]
#opts = ["-I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/"]
c`$(opts)`
end
c"""
#include <stdio.h>
"""ji
end
This gives
┌ Error: Untitled-3:9: fatal error: 'stdio.h' file not found
│ #include <stdio.h>
│ ^~~~~~ here
in order to handle standard includes like time.h and stdio.h.
This works fine if I simply uncomment the line giving the /usr/include directory.
Is there a standard way to add this directory automatically?
The text was updated successfully, but these errors were encountered:
On MacOS 13 (Ventura), I find that I have to manually add the /usr/include directory with
This gives
in order to handle standard includes like
time.h
andstdio.h
.This works fine if I simply uncomment the line giving the /usr/include directory.
Is there a standard way to add this directory automatically?
The text was updated successfully, but these errors were encountered: