-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
How to compile / build xmrig source code #197
Comments
"%PROGRAMFILES%\CMake\bin\cmake" .. -G "Visual Studio 15 2017 Win64" -DUV_INCLUDE_DIR=C:\deps\libuv\x64\include -DUV_LIBRARY=C:\deps\libuv\Release\lib\libuv.lib
Get your .exe in \xmrig-master\build\Release\ folder. I don't know how to tell in a simplier way. That's it. I personally generate the project usin' intel compiler, but these goals are mine ;) |
that's why is not working if you use other compiler ...
-- Looking for syslog.h - not found bullshit the file is there in source code /xmrig-2.4.2\src\log but as you said you use a total different method to compile so ..this one I'm sure is not working.. |
Your error is related to microhttpd (forget about syslog header file), see code:
Just copy microhttpd.h and libmicrohttpd.lib from x64 deps folder to %PROGRAMFILES(x86)% or %PROGRAMFILES% folder, it should look like this: C:\Program Files (x86)\libmicrohttpd.lib So, cmake will find them automatically. |
well well well my dear tovarishch that's something else I did get the xmrig.sln and then with visual studio I build it and I have a fresh xmrig.exe why those damn software can't be made using just one application ..God knows and the coders ...anyway spasiba |
Following your guidance I have succeeded in compiling in VS 2015 into x64. But when I compile for x86, Visual Studio 's linker reports 7 errors, like below:
This is my build.bat for x86:
Any idea how to fix this? |
lisaQLY The shit work ..i compiled it..and I don't know programming and how this apps work..but I read and install all the shit that our dear tovarishch developer say here Just copy microhttpd.h and libmicrohttpd.lib from x64 deps folder to %PROGRAMFILES(x86)% or %PROGRAMFILES% folder, it should look like this: C:\Program Files (x86)\libmicrohttpd.lib So, cmake will find them automatically. install ..update all the shit install visual stuff... and ir must work but my question is...what you wanna change in XMrig? this app work very good at it is...for monero and aeon to bad on hithub you cant sent private mess to members:P |
This is what I did: go to the official guide HERE Pull down you will see the guide for Microsoft Visual Studio 2017. Now change it to: |
I followed your guidelines and I am getting these errors while building from Visual Studio. |
I made Build => Build ALL_BUILD and an error appeared: |
Where should I copy uv.h? |
Updated: Download and Install VS 2017 community https://visualstudio.microsoft.com/vs/whatsnew/ Download xmrig-deps 3.3 https://github.com/xmrig/xmrig-deps/releases/tag/v3.3
Launch .bat file, wait for a solution to be generated Additionally: |
hi dude
First at all ..awesome app I get the highest H/s with your app but I wanna modified some stuff I wanna make it available in other language (I wanna change all the English stuff from the app)
I install MSYS2 and CMake (cmake-gui) also visual studio 2017
I never use those software before ..but to change some text is not that hard
HOW CAN I compiled the source code ? I use CMake (cmake-gui) select the source code "xmrig-2.4.2" and in Configured I choose "visual studio 15 2017 win64" I click generate but I get an error
I download the xmrig-deps-v2 but I don't know where I need to put it.
Also can I compile direct from visual studio 2017? (I google it and find out how to clone a GIThub project) but what is the start up item app_win.cpp xmrig.cpp ?
Can you give a detailed step by step for building the app from the source code?
thank you
The text was updated successfully, but these errors were encountered: