-
Notifications
You must be signed in to change notification settings - Fork 479
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
Can you make it clear which compiler I have to use to compile this on Windows? #53
Comments
Use Visual Studio 2015/2017. |
Target compiler for Windows is Visual Studio 2015 CE - this is what I use to compile Windows releases. Any kind of semi-posix build environment (MinGW64, msys2 etc.) will require you to customise the portability defines as I assume a total lack of posix if Windows is present. |
If you are looking to compile using msys2, have a look at the changes on this fork: |
Thank you very much for the information. I have succesfully compiled it with Visual Studio 2017, it works ok. |
dandare76, What version did you use Visual Studio 2017 CE or Express? |
Where can one find microhttpd.lib for Windows? |
You can compile it from source or download the binary here https://www.gnu.org/software/libmicrohttpd/ Keep in mind that all .libs and the final exe need to have the same static (/MT) or dynamic (/MD) setting for libc. |
How do you actually compile this on Windows. Do you use the Visual Studio GUI or CLI? |
It works with Visual Studio GUI. |
You could use Visual Studio 2017 Community Edition but you need to create a project by your own. |
Hello @fireice-uk,
Please make it clear which compiler can be used to build this on Windows.
I have tried several versions of MinGW64, and couldn't compile it. Each compiler gives different error messages. I have tried to adjust the compilation options, but no success.
So, can you name a version of MinGW64 which can actually compile XMR-Stak-CPU?
Thank you.
The text was updated successfully, but these errors were encountered: