Build under Windows

Sorry if the topic already discussed, but I have a problem when follows this guide https://github.com/ethereum/webthree-umbrella/wiki/Building-on-Windows.

This is guide is not correct.
First
point "Generate solution with CMake"
....mkdir build
....cd build
....C:\webthree-umbrella\build> cmake -G "Visual Studio 12 Win64"

In this directory there is nothing because we create it

pont "Compile with Visual Studio"
....double click on ethereum.sln
Tis file is named cpp-ethereum.sln and is in parrent directory not here:
....C:\webthree-umbrella\build> msbuild ethereum.sln /p:Configuration=Release

Second, my VS compiler crashes after few seconds of working...
This is not happened before for other projects.

I cannot compile ethminer.exe

Please advise.

Comments

  • graber65graber65 Member Posts: 4
    The command line for the cmake is missing a part, the full line is:
    cmake -G "Visual Studio 12 Win64" ..
    The two .. at the end tell cmake to use the webthree-umbrella directory's cmakelists.txt file.
    cmake should create the ethereum.sln for you.

    hope this helps you out.
  • drr0ssdrr0ss Member Posts: 2
    edited October 2015
    Hi,
    Thank you for the answer, but cpp-ethereum.sln have been successful created with cmake -G "Visual Studio 12 Win64".
    Next, after executing the VS
    C:\webthree-umbrella\build> msbuild ethereum.sln /p:Configuration=Release
    (but in dir webthree-umbrella> not in build dir because there is nothing), VS compiling generate a lot of errors, and compiler have crashed.
    I can share the console log from VS, and if you have a time to check, and help...
Sign In or Register to comment.