Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: destrocci on April 13, 2019, 05:58:47 AM



Title: please help a NOOB ... how to use Cmake to set Build file ? Mac OS / ETHMINER
Post by: destrocci on April 13, 2019, 05:58:47 AM
Sorry guys, I am new to mining and I don't know much of programming
I have a Mac and successfully manage to mine Equihash with an external eGpu (gtx1070)

but having a 1070 it would be great to start mining some eth!

So, I download ETHMINER from Github, extract the package ,create a Build directory and next I should CREAT A BUILD FILE
AND HOW DO I DO THAT?
I installed CMAKE on my Mac but I know nothing of programming...
If inside the folder I type "make .."
CMake Error: The source directory "/Users/destrocci/bin" does not appear to contain CMakeLists.txt

on
https://github.com/ethereum-mining/ethminer/blob/master/docs/BUILD.md#macos
there is no info

Anyone can help me please?
Thank you guys



Title: Re: please help a NOOB ... how to use Cmake to set Build file ? Mac OS / ETHMINER
Post by: dagarair on April 13, 2019, 01:09:28 PM
here let me help you.  Don't mine on a mac.  You gonna mess that card up then you have a crappy mac.

buy a crappy mb and ps and 1 card if you are really hard up to mine.


Title: Re: please help a NOOB ... how to use Cmake to set Build file ? Mac OS / ETHMINER
Post by: bitkube on April 13, 2019, 01:24:28 PM
Download source code from git repository
Code:
$ git clone https://github.com/ethereum-mining/ethminer.git

Go to the source code directory
Code:
$ cd ethminer

Create a build directory
Code:
$ mkdir build; cd build

Configure the project with CMake
Code:
$ cmake ..

If you have NVidia GPU(s), you need to add more options
Code:
$ cmake .. -DETHASHCUDA=ON

Build the project using CMake Build Tool Mode
Code:
$ cmake --build .

you are welcome!


Title: Re: please help a NOOB ... how to use Cmake to set Build file ? Mac OS / ETHMINER
Post by: dagarair on April 13, 2019, 01:49:32 PM
have fun making .07 eth a month destroying your 3K mac.


Title: Re: please help a NOOB ... how to use Cmake to set Build file ? Mac OS / ETHMINER
Post by: destrocci on April 13, 2019, 01:58:57 PM
Thanks a lot, will try asap !!

(what is that the others don't understand? It's an external eGpu I won't damage my Mac...! )

Download source code from git repository
Code:
$ git clone https://github.com/ethereum-mining/ethminer.git

Go to the source code directory
Code:
$ cd ethminer

Create a build directory
Code:
$ mkdir build; cd build

Configure the project with CMake
Code:
$ cmake ..

If you have NVidia GPU(s), you need to add more options
Code:
$ cmake .. -DETHASHCUDA=ON

Build the project using CMake Build Tool Mode
Code:
$ cmake --build .

you are welcome!