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
cmd/link: incompatible with i386:x86-64 output #12448
Comments
What is GOARCH set to? |
E.g., |
are you trying to build 32-bit windows program with
a 64-bit-only mingw gcc?
|
@minux
|
@mattn You are somehow linking against a version of go-sqlite built using GOARCH=386, which fails because you are using GOARCH=amd64. This normally shouldn't happen, as the different GOARCH value should store the package in a different location. Can you run |
Ah, I figure out. I put syso file in the directory. It contains windows resource objects. |
build app with linking go-sqlite3.
I'm on windows7 x86_64. Using head of master branch.
The text was updated successfully, but these errors were encountered: