-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
cargo build-bpf does not work on windows #15164
Comments
Did you check if the executable |
Yes we currently don't support native windows for |
@mvines I switched to a full setup in WSL, then I can develop. I don't think requiring WSL for a windows setup is great, the developer should be free to go for full Windows or full Linux (through WSL if he wants to). Since windows can be used to do most of the other things, it seems like this subcommand has to exist but throw something, so solution 1. What do you think? Is this as simple as adding cargo-build-bpf in https://github.com/solana-labs/solana/blob/master/scripts/cargo-install-all.sh#L62-L68 then having a simple executable which can print "build-bpf not supported on windows" that we build on windows instead of the real one? |
Yep, this would be a fine solution until native windows support for development is available. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This was fixed in #20276 -- it currently requires a bash-compatible shell, but at least it's a start! |
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs. |
Problem
cargo build-bpf
does not work on windowsIt took me a while to understand that it just seems like the command doesn't work on windows or isn't supported
https://docs.solana.com/cli/install-solana-cli-tools I installed rust and the solana cli
https://github.com/solana-labs/solana-program-library then followed the readme here to build the token program
Proposed Solution
The text was updated successfully, but these errors were encountered: