-
Notifications
You must be signed in to change notification settings - Fork 27
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 native support #38
Comments
A lot of progress has been made by @kstuart |
That's interesting, sorry about that. Are there any details or steps to reproduce you can provide? |
so we detected that when releasing a new package to pypi (0.8.14)
|
Ok, I see it. for some reason setup.py in copying the modules (.so files) into must have been something I did last minute as I've older builds in the right place, will investigate. Have checked |
Some additional context for the errors I have seen. `pip3 install pyqryptonight -- Configuring incomplete, errors occurred! Failed building wheel for pyqryptonight
|
You appear not to be performing a Windows native build? If you want to try building on Windows use the Windows build instructions: https://github.com/kstuart/qrllib#windows-1 |
When parsing string, I got CMake error: invalid escape sequence \brabra. Perhaps you'll need to do this by character replacement feature of string method in CMakeLists.txt.
|
@converghub CMAKE has a native/correct way of doing this. Please have a look at:
https://cmake.org/cmake/help/v3.0/command/file.html @donnerparty From what I see in the error message. SWIG is missing and you seem to be compiling in Linux. How is that related to this issue? |
@converghub Your comment is not helpful. No steps to follow? Are you doing your own thing or following the instructions from the README? Are you building qrllib or did you accidentally post to the wrong project? ...but seriously, when seeing an issue please provide enough detail. Native builds on windows are working. If you're using cmake 3.12 there is a compatibility issue (nothing to do with escape sequences) that's fixed in the latest PR #155. If you're looking to run a native windows QRL node you'll also need py-leveldb for windows, I built a python 3.6 bdist wheel a while back that you can grab here. |
Based on kstuart's work (thanks for your work), I think I have found a good solution to this problem. To simplify the solution, I am using mingw and not Visual Studio. All the modifications were added with #ifdef _WIN32 except for the swig interface (in /src/api/*.i) where uint was replaced by unsigned int. I have not submitted a PR because I did not test the code on other OS, but I think it should work. Here's the PoC: https://github.com/0xFF0/Qrllib_Windows |
The library is currently not supported in Windows. The xmss reference code requires access to /dev/urandom plus there are some incompatibilities with Microsoft compiler.
For the moment, only the webassembly is supported. We are currently working on improving the code base to support a native Windows version.
The text was updated successfully, but these errors were encountered: