Skip to content
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

Provide Windows builds #4

Open
DamienGrand opened this issue Oct 28, 2016 · 7 comments
Open

Provide Windows builds #4

DamienGrand opened this issue Oct 28, 2016 · 7 comments

Comments

@DamienGrand
Copy link

Pretty much what it says on the title (please pardon if silly question)

@mbevand
Copy link
Owner

mbevand commented Oct 28, 2016

It seems eXtremal has successfully compiled silentarmy (and packaged it in a miner) for Windows: https://bitcointalk.org/index.php?topic=1660023.0

I plan to provide Windows builds of silentarmy myself in the near future.

@mbevand mbevand changed the title Any chance of this working on windows, and if so, how to do that? Provide Windows builds Nov 6, 2016
@dtawom
Copy link

dtawom commented Nov 18, 2016

So I'm a nub at all this stuff. I tried downloading the windows build but the only exe I got out of it was sa-solver.exe and none of the command switches in readme to mine for silentarmy seem to work except for --list. I've cloned the windows repository up to the point listed below and now I'm just confused as to how to get this thing mining on windows. Any help would be greatly appriciated. Thanks in advance. https://github.com/mbevand/silentarmy/tree/fdac346b3bd9ddff50236eb2f82ebcf3d7942af5

@dtawom
Copy link

dtawom commented Nov 20, 2016

Windows builds of silentarmy here https://github.com/maztheman/nheqminer

@samatjain
Copy link

@mbevand Did you have any thoughts on silentarmy building w/ CMake?

The only issue I see is with the Makefile target for _kernel.h; since it uses Linux-specific commands, that generation bit won't run on Windows. Since Python 3 is already a pre-requisite, I could whip up a Python script that generates those files in a cross-platform manner.

Let me know; I'll work on a PR.

@aleksander
Copy link

@samatjain take a look on #90 for more preferable _kernel.h generation method (C array instead of C++11 raw string).

@samatjain
Copy link

@aleksander Unfortunately xxd is Linux/macOS only. Does clang really not support C++11 raw strings?

@aleksander
Copy link

aleksander commented Jan 10, 2017

Unfortunately xxd is Linux/macOS only.

@samatjain I didn't mean to use xxd, but the output of your python3 script should be like the one from xxd (C array and not C++11 raw string).

Does clang really not support C++11 raw strings?

silentarmy's sa-solver written in C not C++. So this is strange to use C++11 raw strings in C project. I don't know why GCC permits things like this. I believe this should be replaced by C array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants