Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with build and compile #33

Open
vasilevskykv opened this issue Mar 19, 2019 · 14 comments
Open

Problem with build and compile #33

vasilevskykv opened this issue Mar 19, 2019 · 14 comments

Comments

@vasilevskykv
Copy link

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
Copy link

cynixx3 commented Mar 21, 2019 via email

@vasilevskykv
Copy link
Author

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
Copy link
Author

I try to compile in Windows 10 X64

@lookfirst
Copy link

I try to compile in Windows 10 X64

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

@vasilevskykv
Copy link
Author

I installed git for windows.

@vasilevskykv
Copy link
Author

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
Copy link
Author

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

@AndreaLanfranchi
Copy link
Contributor

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

@vasilevskykv
Copy link
Author

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

@AndreaLanfranchi
Copy link
Contributor

No. OpenSSL is mandatory.

@vasilevskykv
Copy link
Author

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
Copy link
Author

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
Copy link

cynixx3 commented Mar 27, 2019 via email

@vasilevskykv
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants