3 ms·
Put the file in quotes. Angle brackets are for built-in files. #include "duckdb.h"
by irq-1 4y ago
Put the file in quotes. Angle brackets are for built-in files.
#include "duckdb.h"
- eatonphil 4y agoThat's not my code.
- eatonphil 4y agoBut also, just to double check, I modified the vendored code and no difference: CGO_LDFLAGS="-L$(pwd)/duckdb/src/include" CGO_CFLAGS="-I$(pwd)/duckdb/src/include" go build -ldflags '-extldflags " -lstdc++ -lm -lduckdb -static"' # github.com/marcboeker/go-duckdb vendor/github.com/marcboeker/go-duckdb/connection.go:4:10: fatal error: duckdb.h: No such file or directory 4 | #include "duckdb.h" | ^~~~~~~~~~ compilation terminated.