Conversation
if i do this, it compiles. i have tried doing it locally but it won't work?
|
Holy hell, what are you doing? Just clone the repo and modify it locally. If you need to make changes, push them to your github fork. Stop making Pull Requests. |
|
@phase I'm honestly really sorry as i'm extremely new to Github, and I didn't know it would do that. If you could help me be able to edit and compile instead of doing pull requests instead, that would be greatly appreciated :l I've tried everything i can and i don't know what you mean. |
|
In your terminal, run |
|
@phase this is really getting annoying, for me and you. I am really sorry but I have no idea why it's doing this to me. https://gyazo.com/6b931d7711c1b2b8b50423c2527bbb4b |
|
Hitting Download Rust nightly and see if that works. |
|
@phase For god sake, It [pull requests] actually has fixed something. It actually compiled my edit anyway. And i'm not knowingly doing it, i don't even know what i'm doing most of the time. All of this isn't really noob friendly, admit it. I have downloaded Rust nightly and it's the same problem. Could you record a video of instructions? I think that would make this all resolved faster. It would be a great feeling for me and you if it gets fixed. |
|
Do you see the bright green button? Do not, under any circumstance, ever press that button. I repeat, do not press the green button. This will not compile your code. There is no way in hell that is fixing anything. Without a stacktrace, there isn't much I can do. The image you showed does not have one, nor any information as to why the build failed. |
|
Also, please stop creating alts, @Thinkofname is banning you from the repo for a good reason ;) |
|
@Techcable @phase banning me won't do shit. Just saying. Also, how am i supposed to learn? OKAY! I get that I don't press that button. But since I can't actually do anything else, i was forced to experiment. What's wrong with you people? |
|
and it did actually compile the code so don't say it didn't xD |
It stopped you from creating more PRs.
Google, StackOverflow, using Bing if you have to.
I'm still confused on what exactly you're trying to do. Compile Steven? That's something you do on the command line, nothing to do with GitHub.
THEN WHAT ARE THESE PRS?!?!?!?!? I THOUGHT THEY WERE AN EXCUSE FOR COMPILING OR SOMETHING!!?!?!?!? |
|
Yeah. I am actually really sorry. I must be doing something very stupid for you guys to get angry like that. I am a noob, you can tell. I just need help compiling, I do the command and I get frustrating errors that barely have information on google about. All I'm trying to say is that command line's isn't really noob friendly and that if you could find any tutorials of anyone having the same problems, it will deeply appreciated. I am sorry for being so annoying. |
|
There has to be more output than that. Run |
|
Am I even supposed to use the actual rust "shell" |
|
It's failing because you don't have OpenSSL properly installed. Try following the instructions for Windows here: https://github.com/sfackler/rust-openssl |
|
@marcusball Just tried that, still nothing. I also went on my linux laptop and tried, It looked like it was going to actually work but then i got a big bunch of errors all together right at the end of it. https://gyazo.com/aff45b41f5972743fcae14d3f77ebc76 |
|
@marcusball @phase @Thinkofname @Techcable Okay I managed to fix all of the errors and it completed but where is the .exe lmao |
|
On linux the executable doesn't have a extension. |
|
@bjorn3 Yeah I thought that but when i put it on my windows pc, i can't run it, i tried changing to .exe but comes up with https://gyazo.com/2bbe84f92b5d571a89579c7a3b9fa8f5 |
|
Strange |
|
@bjorn3 Steven / this doesn't like me at all :| |
|
You can't just copy a program for Linux and try to run it on Windows. They're two different operating systems with completely different program file types; to run something on Windows, it must be build for Windows. If you want to use this in Windows, you pretty much need it to get the compiling to work on Windows. Did following the instructions for OpenSSL actually change the error message? If it did, then please post the new errors; if you're still getting the same errors, then you did something incorrectly and need to try setting up OpenSSL again. |
|
@marcusball Rip. I don't think it changed the message. https://gyazo.com/8701934262942fa6c8df564249ac3e3b |
|
Can you put /include in your include path? |
|
@bjorn3 I don't even know how to do that. Do you have skype? My skype: sylionskype |
|
Rust InstallationFirst, you need to make sure you're using the correct version of Rust. It needs to be the Nightly version, and for this setup it needs to be the x86_64 Windows release. (Option 1). Basic Rust installIf you're using the standard Rust installer, you need to select the 64-bit Windows GNU installer under the "Nightly" category. If this is not the version you had, you need to uninstall your current version, and install this one. (Option 2). RustupIf you are using Rustup, then you need to run the following commands: Install the Nightly 64-bit toolchain: Inside the OpenSSL SetupI presume you followed these sections of instructions on the rust-openssl page:
Please correct me if you followed one of the other Windows options from there; I assume you did this because I think it's the easier route. If you followed these steps, first make sure you installed the correct version from the linked download page. You almost certainly are using 64-bit Windows, so you need to make sure you installed Win64 OpenSSL v1.0.2h (not the "light" version). When the installer prompts to ask for the destination location, make sure the path doesn't have spaces and that you remember the location—you'll need it for the next step. For example, I installed it to Now, if you're on Windows 10 or 8, you can right click on the Windows Start button on the bottom left of your screen, and select "System". On the Left menu of the system screen, select "Advanced System Settings". The "System Properties" window will open to the "Advanced" tab; at the bottom of that tab, select the "Environment Variables..." button. Under "System Variables" select the "New..." button. For Variable Name put Again, create another "New" variable, and for the name select Now, close your command prompt/terminal/shell, open a new one. SDL2 SetupThis is following the instructions for rust-sdl2, from here. Download Extract/Open the SDL2 download, then open "SDL2-2.0.4", then "x86_64-w64-mingw32", then "bin". You should see the If you followed option 1 in the Rust Installation above: Find your rust installation folder. I believe this will be something like If you followed option 2 (Rustup) in the Rust installation above: Go to your Windows user directory; from your screenshots, I can see it's After completing one of those above steps, copy the Try building againClose and reopen command prompt/terminal/shell |
|
@marcusball Okay I must be doing something wrong! Nothing changed ;-; Have you tried team viewer before? Hopefully you have Skype: sylionskype |
|
@TestAccount404 why do you want to develop on Steven if you can even get basic things like SDL2 or OpenSSL running? I have compiled Steven on all 3 platforms successfully before - and yes, I had errors at first too. But just freaking google them or go on Stackoverflow or do something on your own. Seriously. You are never going to learn how to use this if you want people to do the stuff for you. Also. When you compile on Linux the binary only runs on Linux, if you compile on macOS it only runs on macOS and you guessed it - if you compile on Windows it will only run on Windows. It's that simple. If you want your |
|
@lenovouser I have been looking it up. It's always the same problem. That's why i've asked. You do not have to be rude and if you continue to be, you can go. |
|
@TestAccount404 People just get frustrated when they give you detailed instructions on how to do something, which happen to work, and you respond with a completely ignorant, irrelevant comment. Being confused about running a Windows application on Linux (or whatever you're talking about) makes me wonder how you were able to install Linux in the first place. The first thing you can do is specify what OS you're on. First you say you have Windows, then Linux, and now you're trying to cross-compile? What?! I want you to completely detail your environment to me. |
|
@phase I am getting errors on my windows PC. When I tried to compile on my linux laptop, I got the same errors. I then fixed the errors on my linux laptop by installing "sudo apt-get install libsdl2-dev" and it compiled fine [but i can't use the .exe in anyway, can i..] when i tried to install / download libsdl2 on my windows pc, nothing changes. I know you guys are trying to help and are giving me very well written stuff that you know what you're talking about but it hasn't fixed anything atleast on my windows pc. |
|
Executable files are different on Linux and Windows. Windows has Are you getting the same error (on the Windows PC) that you showed in https://gyazo.com/aff45b41f5972743fcae14d3f77ebc76 ? |
|
@phase The extension thing has been explained a lot of times. That error in the image was on my linux laptop which has been fixed. This is the current error on my Windows PC which is the problem: |
|
Can you tell me the contents of |
|
The error is saying that it can't find the file |
|
|
Can you attach a screenshot of your Environment variables window, with the aforementioned |
|
|
@marcusball I do not understand :l |
|
We need the full path. |
|
@phase uh |
|
Oh derp, @marcusball needed the OpenSSL variables, which are in the image. |
|
I think you're close! In the image you posted, you can see the |
|
@marcusball @phase Thanks and I did that. But um..https://gyazo.com/b6c2320ccae03f8c21fd9de11ae275b9 |
|
@TestAccount404 |
|
Regarding what @bjorn3 said, if you're in command prompt, run |
|
@marcusball @bjorn3 I don't know what else to say other than it didn't work? Why don't you guys get these errors, I mean, I've done that but It's not doing anything else but give me the same errors / messages. If you know anyone that could use skype and help me, I wouldn't mind screen sharing or even just using team viewer. This means a lot to me and your help has really helped me a lot :l |
|
@TestAccount404 I technically could do that but I am not at home at the moment because of work. I'll fly back on the 21st - if you want to wait until then I'll add you. Otherwise try to go into the Rust IRC or Forum. |
|
@lenovouser Sounds great! My skype: sylionskype |
|
@marcusball @bjorn3 @phase Do you guys think it would be easier to try the go language version? If so, how do i start :u |
|
Honestly, I don't know anything about Go, nor the implementation details of the Go version of Steven, so I can't answer that. Though, honestly, I feel like you're really close to getting this to work. I sent you a text message on Skype, however, I didn't send you a friend request, so I don't know if it actually went through? |
|
@marcusball Could you send a friend request? Didn't come through. |
|
@Thinkofname talking about the Go version:
I would stick with the Rust version because you've done so much to try and run it. |




if i do this, it compiles. i have tried doing it locally but it won't work?