-
Notifications
You must be signed in to change notification settings - Fork 40
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
MS Windows support #65
Comments
I found the missing file at: https://github.com/gosu/gosu/tree/master/dependencies/msvcrt-ruby |
Re-opening because even though I managed to compile, I immediately get a segfault when calling the
Using Windows 10, same Ruby and Rust version as before. |
I've narrowed it down to Ruru. Loading Rust libs via FFI is working fine, but the moment Ruru gets involved the process segfaults. Even with simple stuff like:
Update: Segfaults with Rust stable as well. |
Hi @Zapotek! Right now I don't have any Windows computer to reproduce and fix the issue. I will let you know when I find it |
Windows 10 doesn't need a product key to install and it will be functional enough to debug this and it's pretty easy to setup a VM for free with VirtualBox. |
Sorry that it took time to come back to this issue. One thing I've just realized is that there should not be some Windows-specific problems, at least with such simple things like I've faced weird segfault issues before, when a native extension was built against one version of ruby, let's say |
I removed all Ruby versions and rebuilt but I still got the same behavior. |
Hey @Zapotek, which shell are you using on Windows 10? Have you tried it with Bash on the Linux subsystem on Windows 10? |
@danielpclark Regular shell. You mean building the extension or running my entire system there? Because the latter isn't really a solution for native MS Windows support. |
@Zapotek, which version of Ruby is used on the machine? And how was it installed there? |
@d-unseductable Ruby 2.4.2p189 using RubyInstaller. |
Does Ruru support MS Windows?
I'm trying with RubyInstaller 2.3.0 and Rust nightly but keep getting link errors with
cargo build --release
.At first the file
x64-msvcrt-ruby230.lib
is not found, but I figured it to mean that it's looking for eitherlibx64-msvcrt-ruby230-static.a
orlibx64-msvcrt-ruby230.dll.a
, although still no luck when renaming either tox64-msvcrt-ruby230.lib
.The text was updated successfully, but these errors were encountered: