Skip to content

'sqlite3-binding.h' file not found with <angled> include; use "quotes" instead #1033

@1fanwang

Description

@1fanwang

Wondering if anyone had library issues related to Apple M1 (not sure if this is the reason, just a wild guess)

Our project is in Golang and uses Bazel, and build have been failing for me with ERROR '/private/var/tmp/_bazel_<usr>/6a928f809ee3a14ad8b957e75e243b76/sandbox/darwin-sandbox/8/execroot/,project/external/com_github_mattn_go_sqlite3/backup.go:10:10: error: 'sqlite3-binding.h' file not found with <angled> include; use "quotes" instead

I was trying to figure out a more generic way to fix this issue.

For a temp work around: I had to fix all of the following files’ #include <sqlite3-binding.h> to use “quotes” instead of <angled>, now my build is WORKING!

  • backup.go
  • callback.go
  • error.go
  • sqlite3.go
  • sqlite3_context.go
  • sqlite3_load_extension.go
  • sqlite3_type.go

MacOS: Monterey 12.3.1
Chip: Apple M1 Pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions