bee
bee copied to clipboard
fatal error: 'sys/types.h' file not found
mac:kctcontract kcmac$ go get -u github.com/beego/bee
github.com/beego/bee/vendor/github.com/derekparker/delve/proc
In file included from ../../Documents/GO/src/github.com/beego/bee/vendor/github.com/derekparker/delve/proc/proc_darwin.go:3: ./proc_darwin.h:1:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ 1 error generated.
Why
Try this #552 😊
it still not work
it still not work
Try this:
Open the file
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
and install the headers
thanks, it seems to be the right answer ! Everything finally has been OK.