Rust Compiling Project
Rust Compiling Project
Hello.
I was wondering if you could help me compile a Rust Project that I found on GitHub. I've been trying so hard to find some way to compile it and add my features but it just won't work.
https://github.com/Thinkofname/steven/
If you can help me in any way, Please post and get in contact. You can also email me:
Haronity@gmail.com
I really need help as this will help me a lot.
I was wondering if you could help me compile a Rust Project that I found on GitHub. I've been trying so hard to find some way to compile it and add my features but it just won't work.
https://github.com/Thinkofname/steven/
If you can help me in any way, Please post and get in contact. You can also email me:
Haronity@gmail.com
I really need help as this will help me a lot.
Re: Rust Compiling Project
At a minimal you first need to download an install Rust tools.
Some details of that can be found here: viewtopic.php?f=5&t=7438
It has been a while since I did this, but I think once you have done that all you need to do is use the Rust Cargo tool and it will download and build packages and that process should be fairly straight forward.
Cheers Juss
Some details of that can be found here: viewtopic.php?f=5&t=7438
It has been a while since I did this, but I think once you have done that all you need to do is use the Rust Cargo tool and it will download and build packages and that process should be fairly straight forward.
Cheers Juss
Re: Rust Compiling Project
The project has multiple files and I can't open all of them in Zeus :l
Well, the folder at least.
EDIT:
I always get errors with Cargo. Is there anyway someone can compile the project so i know that it's possible, at least. Thanks so much for the quick responses and help.
Well, the folder at least.
EDIT:
I always get errors with Cargo. Is there anyway someone can compile the project so i know that it's possible, at least. Thanks so much for the quick responses and help.
Re: Rust Compiling Project
I always get errors with Cargo.
If Cargo is not working then that suggests to me your Rust install is broken.
For Rust projects all Rust builds are done using Cargo and it should be as simple as opening a command prompt, moving to the folder that contains the projects Cargo manifest file and then running this command:
Code: Select all
cargo build
Now if that works, then doing the same in Zeus is as simple as creating a Zeus workspace in that same location as the project and add that exact same command to the Zeus build options found Project section in the Workspace, Options menu dialog.
Then you could use the Zeus Workspace, Build menu to do that build.
But you won't be able to proceed without first having a working Cargo installation.
Cheers Jussi
Re: Rust Compiling Project
Since the image shows the compiler panicked that tells me one of two things.
1. Firstly, I would say you have found a bug in the Rust compiler (which you probably should report to the Rust developer forum).
2.The bug might be also be related to the source code and by that I mean the Rust code might have been developed for an older version of Rust compiler and now the newer compiler is struggling to understand the syntax. If that is the case you might be able to fix this by making a small code fix.
FYI it might also be worth point the image and a question to this forum: https://www.reddit.com/r/rust
Cheers Jussi
1. Firstly, I would say you have found a bug in the Rust compiler (which you probably should report to the Rust developer forum).
2.The bug might be also be related to the source code and by that I mean the Rust code might have been developed for an older version of Rust compiler and now the newer compiler is struggling to understand the syntax. If that is the case you might be able to fix this by making a small code fix.
FYI it might also be worth point the image and a question to this forum: https://www.reddit.com/r/rust
Cheers Jussi
Re: Rust Compiling Project
Thanks so much. I didn't know that the response will be so quick. +1 for that. I really love your responses and I am so happy that you've helped. I have taken your information and have made a Reddit "thread", hopefully I can finally fix this 
Once again, thanks so much.
- Chucky [Hayden]

Once again, thanks so much.
- Chucky [Hayden]
Re: Rust Compiling Project
I noticed your question posted on reddit: https://www.reddit.com/r/rust/comments/ ... iling_bug/
Based on the replies to that post, the advice suggests that updating the Rust compiler should fix the issue
Cheers Jussi
Based on the replies to that post, the advice suggests that updating the Rust compiler should fix the issue

Cheers Jussi
Re: Rust Compiling Project
I really wished all of those replies helped and I've tried everything they've said and you've said. Always the same thing 
https://gyazo.com/2943ec4e473a1d71620a9967ff0b0b47
https://gyazo.com/ba0048e1ff8a7bdb96f8bd09ce46f09d

https://gyazo.com/2943ec4e473a1d71620a9967ff0b0b47
https://gyazo.com/ba0048e1ff8a7bdb96f8bd09ce46f09d
Re: Rust Compiling Project
The only thing I can suggest is:
1. Make sure the Rust install is actually installing the latest Rust compiler (maybe uninstall Rust first
)
2. Make sure the build is actually using that new Rust compiler but I am not sure how you do that in Rust.
May try the which.exe tool
Cheers Jussi
1. Make sure the Rust install is actually installing the latest Rust compiler (maybe uninstall Rust first

2. Make sure the build is actually using that new Rust compiler but I am not sure how you do that in Rust.
May try the which.exe tool

Cheers Jussi
Re: Rust Compiling Project
Mhm...well...all I can say is thank you so much for helping me and giving me something to try but sadly it's just not working. I've tried nearly all of the Rust versions, it took a while, nothing worked. I made sure it was all uninstalled during the process. This is really confusing, why do these things have to be so complicated.
Once again, thanks so much. Maybe i will be able to fix it without even knowing how, i'm losing hope anyway.
Once again, thanks so much. Maybe i will be able to fix it without even knowing how, i'm losing hope anyway.