Bitcoin Forum
June 23, 2024, 05:43:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.8.2, open source optimized multi-algo CPU miner on: February 18, 2018, 02:10:06 PM

I'm pretty close to compiling the final .exe file. It fails though. The output is:

Code:
/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lpthreadGC2

That's the same problem I have with CygWin, there is no mingw package for pthreadGC2. Or there wasn't
the last time I dug into this. But this looks new:

https://stackoverflow.com/questions/39215894/pthreads-static-linking-with-mingw

I'm very busy but if you give it a try let us know how it goes.
Thanks for the link, joblo. I played around a little bit, unfortunately I had no luck so far. As soon as I find out something or even can compile the .exe in cygwin I'll let you know.

Anway, your answer was very helpful since I now know that there is not an easy fix I have overlooked.

Cheers
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.8.2, open source optimized multi-algo CPU miner on: February 17, 2018, 03:16:53 PM
Hello,

first of all: Great project, thanks joblo - you're the man! Great community and thread here as well!

The reason for my post is that compiling from source fails. My setup: Windows 10 & cygwin. Tried with mingw_w64 and msys but I couldn't get it to work.

I'm not really familiar with compiling C/C++ stuff, so I'm sorry if my question is somehow stupid or whatever. Please be kind Wink I also hope that I provided all the needed information.

I'm pretty close to compiling the final .exe file. It fails though. The output is:

Code:
/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lpthreadGC2
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1748: cpuminer.exe] Error 1
make[2]: Leaving directory '{{MYPATH}}/cpuminer-opt-master'
make[1]: *** [Makefile:5412: all-recursive] Error 1
make[1]: Leaving directory '{{MYPATH}}/cpuminer-opt-master'
make: *** [Makefile:859: all] Error 2

Where
Code:
{{MYPATH}}
of course is the directory where
Code:
cpuminer-opt-master/
is located.

Does anyone have an idea how to fix this?

Thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!