ProgPOW icon indicating copy to clipboard operation
ProgPOW copied to clipboard

Problem with build and compile

Open vasilevskykv opened this issue 5 years ago • 14 comments

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".

vasilevskykv avatar Mar 19 '19 07:03 vasilevskykv

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 [email protected] 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

cynixx3 avatar Mar 21 '19 14:03 cynixx3

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 avatar Mar 24 '19 10:03 vasilevskykv

I try to compile in Windows 10 X64

vasilevskykv avatar Mar 24 '19 10:03 vasilevskykv

I try to compile in Windows 10 X64

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

lookfirst avatar Mar 24 '19 11:03 lookfirst

I installed git for windows.

vasilevskykv avatar Mar 24 '19 11:03 vasilevskykv

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 avatar Mar 24 '19 12:03 vasilevskykv

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

vasilevskykv avatar Mar 24 '19 12:03 vasilevskykv

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

AndreaLanfranchi avatar Mar 24 '19 16:03 AndreaLanfranchi

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

vasilevskykv avatar Mar 24 '19 17:03 vasilevskykv

No. OpenSSL is mandatory.

AndreaLanfranchi avatar Mar 24 '19 17:03 AndreaLanfranchi

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 avatar Mar 26 '19 11:03 vasilevskykv

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?

vasilevskykv avatar Mar 27 '19 09:03 vasilevskykv

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

On Wed, Mar 27, 2019, 2:04 AM vasilevskykv [email protected] 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 .

cynixx3 avatar Mar 27 '19 12:03 cynixx3

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

vasilevskykv avatar Mar 27 '19 13:03 vasilevskykv