ifdefelse / ProgPOW

A Programmatic Proof-of-Work for Ethash. Forked from https://github.com/ethereum-mining/ethminer
GNU General Public License v3.0
259 stars 84 forks source link

Problem with build and compile #33

Open vasilevskykv opened 5 years ago

vasilevskykv commented 5 years ago

Good Afternoon, I have the problem with build and compile. I downloaded "cable", copied it to the folder "cmake" of the ethminer, created directory "build". But when I tried to build and compile

mkdir build; cd build cmake .. -DETHASHCL=OFF -DETHASHCUDA=ON cmake --build . --config Release

I got an error:

CMake error at cmake/cable/CableBuildInfo.cmake:18 (message) The PROJECT_NAME argument missing.

Please, explain me, where I need to write the PROJECT_NAME Argument and please, write clear instructions for build and compile. I had to guess that I need to download "cable".

cynixx3 commented 5 years ago

vasilevskykv, did you catch this thread about building? https://github.com/ifdefelse/ProgPOW/issues/27

There is an easy button if your on linux.

https://github.com/cynixx3/docker-ethos-open-source-miner-builder/blob/master/Dockerfile#L168

On Tue, Mar 19, 2019 at 12:15 AM vasilevskykv notifications@github.com wrote:

Good Afternoon, I have the problem with build and compile. I downloaded "cable", copied it to the folder "cmake" of the ethminer, created directory "build". But when I tried to build and compile

mkdir build; cd build cmake .. -DETHASHCL=OFF -DETHASHCUDA=ON cmake --build . --config Release

I got an error:

CMake error at cmake/cable/CableBuildInfo.cmake:18 (message) The PROJECT_NAME argument missing.

Please, explain me, where I need to write the PROJECT_NAME Argument and please, write clear instructions for build and compile. I had to guess that I need to download "cable".

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ifdefelse/ProgPOW/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVsHhBDKnVsZmbLNDk7Vo4KJ2fzNaN6ks5vYI6FgaJpZM4b7bu1 .

-- Greg Chisholm

vasilevskykv commented 5 years ago

I caught this thread about building. But when i tried to run "git submodule update --init --recursive" I got an error: "git" is not an internal or external command ... Please, write normal instruction how to run and compile, where to write this PROJECT_NAME

vasilevskykv commented 5 years ago

I try to compile in Windows 10 X64

lookfirst commented 5 years ago

I try to compile in Windows 10 X64

Have you installed git for windows? https://git-scm.com/downloads

vasilevskykv commented 5 years ago

I installed git for windows.

vasilevskykv commented 5 years ago

I made git clone https://github.com/ifdefelse/ProgPOW cd ProgPOW git submodule update --init --recursive mkdir build cd build cmake .. -DETHASHCUDA=ON But I got an Error: The source directory "D:/Ethereum/ProgPOW/build" doesn't appear to contain CMakeLists.txt Is it necessary to copy CMakeLists.txt to the "build" directory?

vasilevskykv commented 5 years ago

I made cmake .. -DETHASHCUDA=ON from ProgPOW directory - not build. But I got an Error in hunter: Hunter_error

AndreaLanfranchi commented 5 years ago

You need it install Perl on windows to build. It's required by OpenSSL package.

vasilevskykv commented 5 years ago

Can "-DOPENSSL=OFF" help if I don't want to install perl?

AndreaLanfranchi commented 5 years ago

No. OpenSSL is mandatory.

vasilevskykv commented 5 years ago

I had to build in directory ProgPOW. I used: cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 -DETHASHCUDA=ON -DETHASHCL=OFF.. It compiled and builded. But after rebuilding in Visual Studio 2017, I got errors: LNK2038

vasilevskykv commented 5 years ago

I compiled and built once more. But the problem is that the miner can be debugged only in Win32. make -sj8 shows that it is unknown command "make". How can it be compiled in Windows 10 x64?

cynixx3 commented 5 years ago

I'm not sure about on Windows, but maybe try cross compiling with mingw?

On Wed, Mar 27, 2019, 2:04 AM vasilevskykv notifications@github.com wrote:

I compiled and built once more. But the problem is that the miner can be debugged only in Win32. make -sj8 shows that it is unknown command "make". How can it be compiled in Windows 10 x64?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ifdefelse/ProgPOW/issues/33#issuecomment-477049062, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVsHhagwMeuFsf2lX0i-7QsE4VfYHLxks5vazQvgaJpZM4b7bu1 .

vasilevskykv commented 5 years ago

I installed MinGW, but when I did "make -sj8" I got "unknown command "make"..." Is it possible to do "cmake x64.. -DETHASHCUD =ON"?