quetzalcoatl / blagominer

Taking Blagominer to the next chain!
GNU General Public License v3.0
8 stars 3 forks source link

how to build it for linux? #24

Open zhumingyu opened 4 years ago

zhumingyu commented 4 years ago

Hi,guys! is there any README for building in linux?thx!

quetzalcoatl commented 4 years ago

It is currently not possible, and as far as I know, never was possible.

Out of curiosity, I did a quick check:

I admit, that's a pity. In its core idea, there's not that much, if anything, that prevents building a "miner" on a linux. However, since the beginning, the code was build on windows and it uses a ton of windows-only libraries and API functions.

Actually, while I'm working on this code, I not only fix bugs, add new features, but I also try to clean it up. Slowly, but steadily, removing WIN-API calls and replacing them with standard C++ library or portable libraries. Eventually, it will be buildable on linux. Not any time soon though, so don't hold your breath. That's a shitload of work, my time is limited, and optimistically I could estimate right now I'm halfway through. At this rate, maybe it will be buildable on linux on Jan 2021. Optimistically.

I'm going to leave this issue open, as right now there's no better way to annouce/clarify that matter.