Here's how I am doing it.
BFGMiner is able to mine against 0.21.0 but CGMiner is not. However, BFGMiner is not compatible with Newpac sticks (not 2pac or compac those work).
So I run bfgminer as a proxy only, then connect my cgminer to bfgminer.
Hi,
I have an idle win10X64 desktop computer and would like to try "lotto-like" solo mining.

I have tried BFGMiner (version 5.4.2) + Bitcoin core 0.21.0 but there are always errors. Do i need OpenCL SDK for the solo mining to start? Which version of BFGMiner did you use?
Which files should i configure for BFGMiner as well as the bitcoin core wallet except the conf files?
And as regards to the algo used for mining, are there conflicts between Scrypt and sha256d? (I )
And where and how to configure the GBT (getblocktemplate) command if necessary?
Could you write out your detail configuration for successful running?
Thanks a lot in advance!