bee icon indicating copy to clipboard operation
bee copied to clipboard

fatal error: 'sys/types.h' file not found

Open hyqsfaf opened this issue 5 years ago • 4 comments

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

hyqsfaf avatar Jul 24 '18 12:07 hyqsfaf

Try this #552 😊

MZIchenjl avatar Oct 14 '18 10:10 MZIchenjl

it still not work

KingGanZeng avatar Nov 20 '18 11:11 KingGanZeng

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

MZIchenjl avatar Nov 20 '18 12:11 MZIchenjl

thanks, it seems to be the right answer ! Everything finally has been OK.

KingGanZeng avatar Nov 21 '18 02:11 KingGanZeng