Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stddef.h' file not found #158

Open
constantinevassil opened this issue Apr 19, 2019 · 0 comments
Open

stddef.h' file not found #158

constantinevassil opened this issue Apr 19, 2019 · 0 comments

Comments

@constantinevassil
Copy link

MacOS Mojave v. 10.14

Running this command:
CGO_CFLAGS="-I/path/to/rocksdb/include"
CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd"
go get github.com/tecbot/gorocksdb

I got the following error:

runtime/cgo

cgo-builtin-prolog:1:10: fatal error: 'stddef.h' file not found
#include <stddef.h> /* for ptrdiff_t and size_t below */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant