Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Windows 7 build failure #93

Closed
jonno85uk opened this issue Jun 29, 2017 · 5 comments
Closed

Windows 7 build failure #93

jonno85uk opened this issue Jun 29, 2017 · 5 comments

Comments

@jonno85uk
Copy link

Using the prescribed commands 'cmake .. ; cmake --build ." the compilation fails with 21 errors

config.txt
error.txt

It would appear jsonrpccpp-client.lib is a'Release' build yet ethminer is building in 'Debug'.

In visual-studio, building the 'Release' configuration works fine.

@jonno85uk
Copy link
Author

Using 'cmake -DETH_BUILD_TYPE=Release' results in

CMake Warning:
Manually-specified variables were not used by the project:

ETH_BUILD_TYPE

@volpeandrew
Copy link

volpeandrew commented Jun 29, 2017

I had the same problem on Windows 10. Follow the advice in issue #63

@jonno85uk
Copy link
Author

I needed Debug because it's crashing due to memory access violations in the GPU. I edited a cmake file to get hunter to build dependencies in debug.

@chfast
Copy link
Contributor

chfast commented Jul 3, 2017

@jonno85uk can you send us your changes?

@DeadManWalkingTO
Copy link
Contributor

My compile works fine [22 Warning(s) & 0 Error(s)]

cmake .. -G "Visual Studio 14 2015 Win64" -Tv140 -DETHASHCUDA=ON -DETHASHCL=OFF -DETHSTRATUM=ON -DAPICORE=OFF
cmake --build . --config Release

(cmake version 3.10.2)

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

No branches or pull requests

5 participants