Skip to content

installed mingw for 64bit windows, still cannot build #435

Closed
@student020341

Description

@student020341

I tried searching this issue,

# github.com/mattn/go-sqlite3
exec: "gcc": executable file not found in %PATH%

and it looks like most of the resolved issues had obvious problems. In my scenario, I installed mingw and added the bin folder to my path. I can do gcc -v and which gcc, and that yields...

$ which gcc
/c/Program Files/mingw-w64/x86_64-7.1.0-posix-seh-rt_v5-rev0/mingw64/bin/gcc

I am able to run go get and go install for "github.com/mattn/go-sqlite3" but I still get that error when I try to build. I think go install is working because I have go-sqlite3.a in my gopath pkg directory... is there some special way I need to use it if we can't figure out the gcc issue?

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