lucasjones / cpuminer-multi

Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0)
Other
638 stars 1.5k forks source link

Cross Compile for Windows - crypto not found #66

Open myrinx opened 6 years ago

myrinx commented 6 years ago

./configure --host=x86_64-w64-mingw32

when running this command, crypto is not found.

checking for OPENSSL_init in -lcrypto... no
configure: error: in `/root/Tools/cpuminer/cpuminer-multi':
configure: error: could not find crypto

i have libssl-dev installed. without the host header all works well, as soon as I compile for windows, it errors out for me. I'm on a debian repo.

myrinx commented 6 years ago

The issues resides within x86_64-w64-mingw32. When i compile against normal *nix, ie without the host argument, it all works well