Author

Topic: Help building CGminer (Read 2705 times)

newbie
Activity: 29
Merit: 0
July 03, 2012, 11:48:38 AM
#11
I got it working in Ubuntu, so I'll just use that since i don't use the computer that's the head of the mining for anything else. 
legendary
Activity: 1288
Merit: 1227
Away on an extended break
June 18, 2012, 09:18:31 AM
#10
I have but no matter how I start it it just immediately shuts down.
Try just running cgminer, without the .bat files and so. Just run cgminer.exe. I run CGMiner without a batch file or anything as it loads the settings using the configuration file.
newbie
Activity: 29
Merit: 0
June 18, 2012, 08:16:16 AM
#9
I have but no matter how I start it it just immediately shuts down.
vip
Activity: 980
Merit: 1001
June 18, 2012, 06:27:35 AM
#8
Also try without any extra flags
cgminer.exe -o http://pool:port -u username.workername -p password
sometimes incorrect flags (or out of range flags) will cause the inmstant close thing

I just realised I omitted .exe from the guide, that might cause an issue
* Graet goes and fixes guide
legendary
Activity: 1288
Merit: 1227
Away on an extended break
June 18, 2012, 06:12:46 AM
#7
I tried doing what you wrote but it didn't work in that the window opened but immediately closed, I wasn't able to even read what was wrong with.  After much opening and immediate closing I was able to make out that it basically couldn't recognize what cgminer was (when opening from the .bat file) and when I opened cgminer from the .exe it didn't register any of my devices.  Someone in the official cgminer thread suggested i visit overstack.com for more super noob help but if you think of anything please let me know. 
If you only want to run CGMiner, not to build it from scratch, just download the binary at http://ck.kolivas.org/apps/cgminer/cgminer-2.4.3-win32.zip

 Just continue with Graet's guide next, and make sure the .bat file is at the same dir with the cgminer binaries.
newbie
Activity: 29
Merit: 0
June 18, 2012, 06:08:11 AM
#6
I tried doing what you wrote but it didn't work in that the window opened but immediately closed, I wasn't able to even read what was wrong with.  After much opening and immediate closing I was able to make out that it basically couldn't recognize what cgminer was (when opening from the .bat file) and when I opened cgminer from the .exe it didn't register any of my devices.  Someone in the official cgminer thread suggested I visit stackoverflow.com for more super noob help but if you think of anything please let me know.  
vip
Activity: 980
Merit: 1001
June 17, 2012, 10:54:52 AM
#5
Thank you very much John. 

And thank you Graet, I'm not that much into the coding stuff yet but I'm working on it.  I will be taking a look at what you linked.
welcome, hope it works out for you Smiley
newbie
Activity: 29
Merit: 0
June 17, 2012, 04:51:06 AM
#4
Thank you very much John. 

And thank you Graet, I'm not that much into the coding stuff yet but I'm working on it.  I will be taking a look at what you linked.
legendary
Activity: 1288
Merit: 1227
Away on an extended break
June 16, 2012, 09:51:35 PM
#3
I need some help building and running CGminer on windows 7.  I've followed the windows build instructions and gotten to the point that I need to run the "CFLAGS="-O2 -msse2" ./configure" command after that I make and then it's done.  But I get an error message when I run that command in mingw.  It is as follows:

$ CFLAGS="-02 -msse2" ./configure
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/XXXXX/cgminer-2.4.2-win32':
configure: error: C compiler cannot create executables
See `config.log' for more details

when I open config.log it shows this:

$ config.log
./config.log: line 1: This: command not found
./config.log: line 2: running: command not found
./config.log: line 4: It: command not found
./config.log: line 5: generated: command not found
./config.log: line 7: $: command not found
hostname: extra operand `XXXXX-PC'
Try `hostname --help' for more information.
uname: extra operand `='
Try `uname --help' for more information.
./config.log: line 15: syntax error near unexpected token `('
./config.log: line 15: `uname -r = 1.0.17(0.48/3/2)'

If anyone can help me it would be very much appreciated and rewarded with a bitcoin or 3.  I know this belongs in the another thread for CGminer but I'm brand new and thus restricted from posting in it.
Whitelisted ya, go ask at the correct thread for more exposure. Wink
vip
Activity: 980
Merit: 1001
June 16, 2012, 08:10:04 PM
#2
you are doing it the hard way
I wrote a guide to cgminer in win7
https://ozcoin.net/content/win7-cgminer-setup-guide
have a look, by changing the login details it will work with any pool Smiley
newbie
Activity: 29
Merit: 0
June 16, 2012, 06:41:28 PM
#1
I need some help building and running CGminer on windows 7.  I've followed the windows build instructions and gotten to the point that I need to run the "CFLAGS="-O2 -msse2" ./configure" command after that I make and then it's done.  But I get an error message when I run that command in mingw.  It is as follows:

$ CFLAGS="-02 -msse2" ./configure
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/XXXXX/cgminer-2.4.2-win32':
configure: error: C compiler cannot create executables
See `config.log' for more details

when I open config.log it shows this:

$ config.log
./config.log: line 1: This: command not found
./config.log: line 2: running: command not found
./config.log: line 4: It: command not found
./config.log: line 5: generated: command not found
./config.log: line 7: $: command not found
hostname: extra operand `XXXXX-PC'
Try `hostname --help' for more information.
uname: extra operand `='
Try `uname --help' for more information.
./config.log: line 15: syntax error near unexpected token `('
./config.log: line 15: `uname -r = 1.0.17(0.48/3/2)'

If anyone can help me it would be very much appreciated and rewarded with a bitcoin or 3.  I know this belongs in the another thread for CGminer but I'm brand new and thus restricted from posting in it.
Jump to: