gorocks icon indicating copy to clipboard operation
gorocks copied to clipboard

fatal error: rocksdb/c.h: No such file or directory

Open luren5 opened this issue 9 years ago • 0 comments

root@ubuntu:~# CGO_CFLAGS="-I/path/to/rocksdb/include" CGO_LDFLAGS="-L/path/to/rocksdb" go get github.com/alberts/gorocks
# github.com/alberts/gorocks
go-code/storage/src/github.com/alberts/gorocks/batch.go:3:24: fatal error: rocksdb/c.h: No such file or directory
 // #include "rocksdb/c.h"
                        ^
compilation terminated.

while I build, it returns the above error. How should I resolve that

luren5 avatar Mar 01 '17 12:03 luren5