Pages:
Author

Topic: Cgminer compiling on windows - fail - page 2. (Read 10922 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
October 15, 2012, 07:23:26 AM
#7
ckolivas
Can you fix the issue with compiling on Windows machines in next releases?
It compiles fine on windows. There is an extensive readme on how to do it included in the source. Don't guess, follow the instructions.
member
Activity: 125
Merit: 10
October 15, 2012, 06:22:44 AM
#6
ckolivas
Can you fix the issue with compiling on Windows machines in next releases?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
October 15, 2012, 06:11:45 AM
#5
None of those matter for scrypt mining. No CPU mining in cgminer is optimal, and that's intentional as it is only there for legacy reasons and testing and I don't wish anyone to mine on CPU with cgminer for anything other than an academic experience.
member
Activity: 125
Merit: 10
October 15, 2012, 06:05:00 AM
#4
rav3n_pl
Try to play with this key
Code:
--algo|-a      Specify sha256 implementation for CPU mining:
        auto            Benchmark at startup and pick fastest algorithm
        c               Linux kernel sha256, implemented in C
        4way            tcatm's 4-way SSE2 implementation
        via             VIA padlock implementation
        cryptopp        Crypto++ C/C++ implementation
        sse2_64         SSE2 64 bit implementation for x86_64 machines
        sse4_64         SSE4.1 64 bit implementation for x86_64 machines (default: sse2_64)
auto is not always the best choice
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
October 15, 2012, 05:34:59 AM
#3
Thanks, it works on one machine (win7 32)Smiley on Win7 64 still no workie. I`ll try reinstall mingw and stuff.

Compiled, running, but LTC CPU mining performance is less than I expected.
CPU miner minerd (https://bitcointalksearch.org/topic/an-even-more-optimized-version-of-cpuminer-poolers-cpuminer-cpu-only-55038) is making about 3kh/core where cgminer only about 1kh/core.
Tried different -O2 -O3 -Wall, even added yasm to my mingw installation - same results.
When yasm is present I can not use -msse2 option because it fails on make.
As far I know cgminer include pooler cpu miner code, why so much difference?
member
Activity: 125
Merit: 10
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
October 13, 2012, 01:48:43 PM
#1
I open thread to not mess much in main cgminer thread and allow to easy find windows compiling related troubles.
I`m trying to compile it on win7, do everything like it is in windows-build.txt file but hit wall.

I want cpu+gpu+scrypt and nothing more:
$ CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-scrypt --without-libudev

It is not detecting Opencl...
Code:
------------------------------------------------------------------------
cgminer 2.8.3
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: pdcurses
  OpenCL...............: NOT FOUND. GPU mining support DISABLED
  scrypt...............: Disabled (needs OpenCL)
  ADL..................: SDK NOT found, GPU monitoring support DISABLED

  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Disabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

  CPU Mining...........: Enabled
  ASM.(for CPU mining).: false

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -msse2
  LDFLAGS..............:
  LDADD................:  -LC:/MinGW/lib -lcurl -lcurldll   compat/jansson/libjansson.a -lpthread    -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local
Tried git zip, and source tarballs...
Code:
$ set|grep AMD
AMDAPPSDKROOT='E:\Program Files (x86)\AMD APP\'
(...)
It is installed, ADL files copied etc...
Pages:
Jump to: