Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
The community reviewed whether to reopen this question 9 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I am new to solana and rust, recently i have installed thier example-helloworld from this repo- https://github.com/solana-labs/example-helloworld .
Whenever i have tried to build the rust program using npm scripts or going to the rust program directory to manually run cargo build-bpf, it says - no such subcommand: +bpf.terminal error image
i have also tried the command which cargo-build-bpf,it have no error.
however i have also tried to manually build using cargo build ,it throws a error.
Your version of Rust may be out of date, can you try updating to Rust 1.53? You should be able to get it using:
rustup toolchain add 1.53
You might then need to reinstall the Solana tool suite, following the instructions at: https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 months ago.
Improve this question
I'm new, I'm learning python, I tried to install the match library with "pip install match" but it generates an error in the installation and I don't know how to solve it, please help....
enter image description here
Firstly, don’t post images.
Secondly, the error says it’s a problem with the package. So the fault is on the maintainer/owner. You can contact them to fix it.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
The community reviewed whether to reopen this question 12 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
cargo run seems to build my app every time I run it. When there are no code changes it still tried to build it which takes 5 or 8 seconds. This says "building..." and lists all warnings.
Is there a way to simply run my binary with cargo run that will not try to build it?
I'd like it for be built only when something changed.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I started learning/working on the Rust compiler very recently. The command line to compile rust code with rustc has multiple code gen options, one of which is llvm-args, which allows the user to specify the configuration of the LLVM-backend. I want to add a new flag to llvm-args, but struggle to come up with an implementation plan.
I have looked at some PRs on the Rust repo (PRs 41847 and 27260) where people try to create new flags for the Rust compiler, but still couldn't map out a procedure that I should follow to complete my task. I would greatly appreciate any guidance on this topic.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
After updating Android Studio to 3.3 V I am getting the following error:
I have updated all the gradle dependencies.
Are there any solutions to this?
I solved this problem by disabling instant run.
I had a similar problem, when I added a ButterKnife library:
implementation 'com.jakewharton:butterknife:10.0.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
But, then I notice that version did not work very well and changed it by (GRADLE):
implementation 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
Maybe you need to check the version of some library you are using.
I had the exact same error.
I had changed the parameters of one of my class constructors - I added another parameter to the constructor but did not change where I was previously using that constructor.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I've used hg pull and hg update to pull some new revisions to my Ubuntu box and update my local source to the new head. There's no branching involved here. I confirmed that they were changed to the latest revision by checking a change that I made five minutes ago on Windows and it's right here, and the latest modified time on the file is clearly three minutes ago (the last build was 18 days ago).
But when I run make, it seems to think nothing has changed. I used make clean also but nothing happened. I even deleted the build output and intermediate object file directories, to no effect.
How can I make make recognize that my files have changed and rebuild them?
Turns out that I was using Debug64 as my config instead of debug64. Apparently make doesn't mention it when you try to build absolutely nothing at all, since that config does not exist.