-
Notifications
You must be signed in to change notification settings - Fork 10
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
Windows Support for spacemesh-cuda #1
Comments
+1 |
We currently have no plans to support Windows. However, considering that the source code itself does not depend on platform-specific libraries, only a few modifications to the build-related code should be necessary. These modifications should mainly focus on the rust/src/build.rs and CMakeLists.txt files. If you encounter any issues while compiling on Windows, please provide detailed information. |
Support for the Windows platform has been completed. If you still encounter any issues, please provide me with detailed error information. |
Thank you for your time on this project. I tried the latest code to build from source on a Windows 11 environment but no luck
I use Powershell and 'cmake --version' shows 'cmake version 3.29.6' |
Can you successfully compile spacemesh-cuda? If not, could you provide detailed error information? |
Here is the full log:
It stopped when compiling 'post-cbindings v0.7.8'. I do have cmake in my env, I guess there might be some module path issue. I saw similar issue here and I can try modify the build script a bit rust-lang/cmake-rs#118 |
Can you use CMake to successfully compile the C++ code in spacemesh-cuda? From the error message, I can't see any detailed errors. |
I have tried compiling the spacemesh-cuda code using CMake before and encountered many issues. While I was able to solve some of them, I still couldn't complete the compilation successfully. |
Can you provide the error message you get when compiling the C++ code directly? |
I have stopped trying to compile it for now and didn't keep a record of the previous errors. I'm currently waiting for the library's author or someone else to provide precompiled binaries. |
Sorry, we do not currently have plans to provide compiled binary files. |
I can build spacemesh-cuda with CMake and get the spacemesh-cuda.lib with some tweaks: But I still got errs when build post-rs with cargo, I'm not familier with rust, trying to figure out settings in cbindings process |
Actually when I switched to git bash to build the lib, it gave me more info to narrow down the issue:
I'll take a look at this error later |
I am interested in using
spacemesh-cuda
on a Windows environment. I have a few questions regarding this:Windows Support: Does
spacemesh-cuda
currently support Windows? If not, are there any plans to support it in the future?Precompiled Binaries: If Windows is supported, would it be possible to provide precompiled binary files for Windows in the releases section of the repository?
Compilation Instructions: If precompiled binaries are not available, could you provide detailed instructions on how to compile
spacemesh-cuda
for Windows? Specifically, any required dependencies, environment setup, and build steps would be greatly appreciated.Thank you for your assistance and for your work on this project!
The text was updated successfully, but these errors were encountered: