Bendr0id / xmrigCC

RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
313 stars 112 forks source link

Compilation with disabled CC_CLIENT and CC_SERVER compiles with CC #264

Closed UnclWish closed 5 years ago

UnclWish commented 5 years ago

I'm try to compile via MSVS. On CMake disable both WITH_CC_CLIENT and WITH_CC_SERVER to copmpile just miner. All goes normal, compilation completed. But when I try to start xmrigMiner.exe it wrotes "XMRigCC is compiled with CC support, please start the daemon instead."

How to disable CC support complitely?

djfinch commented 5 years ago

I suppose there is no way to compile just miner because deamon part works also as watcher. This switch is probably there to disable compile for both miner and daemon and compile just CCserver. It does not works as expected though.

UnclWish commented 5 years ago

But I compiled 1.9.5 same way and used miner via xmgirMiner.exe not daemon...

Bendr0id commented 5 years ago

There is maybe a missing ifdef...

Bendr0id commented 5 years ago

for now you can just start xmrigMiner.exe with --daemonized parameter

UnclWish commented 5 years ago

Yes, it works this way, thanks!

P.S. Good name for parameter "daemonized"! :)

Bendr0id commented 5 years ago

I'll add the missing ifdef later aswell.