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
What is the proper way to build on ARM Windoes? #1139
Comments
Sounds like you don't have a proper C compiler installed. What do |
|
I have the same problem. I want to cross compile my go module using sqlite3 for a raspberry pi 3 (armv7). I'm calling go build like this:
Maybe I'm missing a parameter. Maybe that is not a problem of this sqlite3 package. Maybe gcc is not called correctly. My gcc version is: "gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0" Does anybody have a hint? |
Ok, I found the answer in the docs and other issues. I was missing the CC and CXX env variables and needed to install gcc-aarch64* packages.
My command was:
|
Also worked for me. Do you mind linking said issues? |
when I try CGO_ENABLED = 1, I get the error -> " No such file or directory", but when I try CGO_ENABLED = 0, I do not get this error, but I do not get what I expected also. Can anyone tell me why this is happening? |
Issue description
I expect it to compile but it doesn't on Windows ARM.
Example code
Error log
Configuration
Driver version (or git SHA):
Go version: run
go version
in your consoleServer OS: E.g. Debian 8.1 (Jessie), Windows 10
Windows 11 Version 22H2 (OS Build 22621.1344)
The text was updated successfully, but these errors were encountered: