Bitcoin Forum
July 04, 2024, 08:31:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: compiling cpuminer with mingw  (Read 1194 times)
ballot (OP)
Hero Member
*****
Offline Offline

Activity: 969
Merit: 1000



View Profile
August 04, 2014, 09:16:27 PM
 #1

i am trying to build
https://github.com/LucasJones/cpuminer-multi
as 64 bit
when i run from msys
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=core2"

i get this error

Code:
checking for pthread_create in -lpthread... yes
checking for OPENSSL_init in -lcrypto... no
configure: error: in `/c/Documents and Settings/Administrator/Desktop/lucasminer':
configure: error: could not find crypto
See `config.log' for more details

any idea  Huh
KriszDev
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
August 05, 2014, 05:59:40 AM
 #2

Have you installed OpenSSL?
ballot (OP)
Hero Member
*****
Offline Offline

Activity: 969
Merit: 1000



View Profile
August 05, 2014, 01:31:21 PM
Last edit: August 07, 2014, 06:32:13 PM by ballot
 #3

Have you installed OpenSSL?

many times lib dev, 32-64 bit from ming repos etc..
but i think it looks for 64 bit of openssl and not sure where to put which files  Undecided


installed openssl can compile wolf & lucas miner as 64 bit
but both of them crashes at startup

does anyone have idea what must i choose while installing mingw64

ballot (OP)
Hero Member
*****
Offline Offline

Activity: 969
Merit: 1000



View Profile
August 07, 2014, 06:32:38 PM
 #4

bump  Undecided
rarkenin
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
August 07, 2014, 11:44:24 PM
 #5

Do you have the openssl library available on the machine that is doing the compiling?

Anyway, I could compile this for you to target Windows (mingw), for 0.05 BTC, if you'd like. The executable will be portable to all fairly modern Windows versions.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!