how to compile the wallet in windows

General discussion of CryptoNote based currencies and issues.

how to compile the wallet in windows

Postby EMU » Wed Aug 05, 2015 4:40 pm

Hi all,

does anyone have any *KISS* directions on how to build the wallet in windows? I am missing something or am REALLY thick and missing a lot...

By the way, I have been able to compile what i need in Ubuntu.
EMU
 
Posts: 31
Joined: Wed Jul 22, 2015 6:16 pm
Location: Texas

Re: how to compile the wallet in windows

Postby Clever Crypto » Thu Aug 06, 2015 12:16 pm

https://github.com/amjuarez/bytecoin

Have a look at README:
On Windows:
Dependencies: MSVC 2013 or later, CMake 2.8.6 or later, and Boost 1.55. You may download them from:
http://www.microsoft.com/
http://www.cmake.org/
http://www.boost.org/

To build, change to a directory where this file is located, and run this commands:
mkdir build
cd build
cmake -G "Visual Studio 12 Win64" ..
Clever Crypto
 
Posts: 33
Joined: Tue May 26, 2015 12:25 pm

Re: how to compile the wallet in windows

Postby EMU » Thu Aug 06, 2015 12:40 pm

I need a little more detail... Here's your wood, nails, hammers, blueprints and people - go build a house.
EMU
 
Posts: 31
Joined: Wed Jul 22, 2015 6:16 pm
Location: Texas

Re: how to compile the wallet in windows

Postby Clever Crypto » Thu Aug 06, 2015 2:19 pm

Let's go step by step.
where did you get stuck?
Clever Crypto
 
Posts: 33
Joined: Tue May 26, 2015 12:25 pm

Re: how to compile the wallet in windows

Postby EMU » Thu Aug 06, 2015 6:17 pm

I have Visual Studio 2015, Cmake 3.3.0 and boost 1.58 - The rig has 16GB memory, AMD FX 8 CPU @3.5 GHZ - 2tb HD

Cmake and Mingw are in the environment variables

With boost 1.58 i was able to bootstrap mingw - not msvc... Once bootstrap mingw is done - executed .\b2 and it ran for a long time with a lot of errors.
Code: Select all
...failed compile-c-c++ bin.v2\libs\wave\build\msvc\release\link-static\threadin
g-multi\cpplexer\re2clex\aq.obj...
compile-c-c++ bin.v2\libs\wave\build\msvc\release\link-static\threading-multi\cp
plexer\re2clex\cpp_re.obj
'cl' is not recognized as an internal or external command,
operable program or batch file.

    cl /Zm800 -nologo @"bin.v2\libs\wave\build\msvc\release\link-static\threadin
g-multi\cpplexer\re2clex\cpp_re.obj.rsp"

...failed compile-c-c++ bin.v2\libs\wave\build\msvc\release\link-static\threadin
g-multi\cpplexer\re2clex\cpp_re.obj...
...skipped <pbin.v2\libs\wave\build\msvc\release\link-static\threading-multi>lib
boost_wave-vc-mt-1_58.lib for lack of <pbin.v2\libs\wave\build\msvc\release\link
-static\threading-multi>instantiate_cpp_exprgrammar.obj...
...skipped <pstage\lib>libboost_wave-vc-mt-1_58.lib for lack of <pbin.v2\libs\wa
ve\build\msvc\release\link-static\threading-multi>libboost_wave-vc-mt-1_58.lib..
.
...failed updating 466 targets...
...skipped 296 targets...
...updated 196 targets...


This is the error from trying to build the coin...
Code: Select all
c:\EMU-master\build>cmake -G "Visual Studio 12 Win64" ..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in :
  No CMAKE_C_COMPILER could be found.

CMake Error in :
  No CMAKE_CXX_COMPILER could be found.
EMU
 
Posts: 31
Joined: Wed Jul 22, 2015 6:16 pm
Location: Texas

Re: how to compile the wallet in windows

Postby *tech_star* » Fri Aug 07, 2015 1:52 pm

why do you try to build boost with MinGW if you have Visual Studio 2015?
Build boost using Visual Studio: http://stackoverflow.com/questions/3156 ... enterprise

Then cmake -G "Visual Studio 14 Win64"
*tech_star*
 
Posts: 35
Joined: Fri Mar 28, 2014 9:51 am

Re: how to compile the wallet in windows

Postby EMU » Fri Aug 07, 2015 3:28 pm

I'll try it. When I searched for the requirements Microsoft kept sending me to visual studio. The directions for this wallet didn't explicitly say where to download. Earlier in this thread those three components were spelled out.

MSVC 2013
Boost
Cmake.

Somewhere in the documents mimgw was mentioned as a component.

When this is built I'll submit detailed steps I took and maybe someone else can benefit.

Thanks again for the suggestion.
EMU
 
Posts: 31
Joined: Wed Jul 22, 2015 6:16 pm
Location: Texas

Re: how to compile the wallet in windows

Postby EMU » Sat Aug 08, 2015 4:11 am

It didn't compile the wallet, though the updates before the compile worked. Here is the error..

Code: Select all
c:\EMU-master>cmake -G "Visual Studio 14 Win64"
CMake Error at C:/CMake/share/cmake-3.3/Modules/FindBoost.cmake:1245 (message)
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:90 (find_package)


CMake Error at CMakeLists.txt:91 (if):
  if given arguments:

    "(" "EQUAL" "1" ")" "AND" "(" "EQUAL" "54" ")"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!
See also "C:/EMU-master/CMakeFiles/CMakeOutput.log".


And here is the output from the log...
Code: Select all
The system is: Windows - 6.2 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: 
Build flags:
Id flags:

The output was:
0
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 8/7/2015 9:59:03 PM.
Project "C:\EMU-master\CMakeFiles\3.3.0\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\msvs15\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TC /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  C:\msvs15\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
  CompilerIdC.vcxproj -> C:\EMU-master\CMakeFiles\3.3.0\CompilerIdC\.\CompilerIdC.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_C_COMPILER=C:\msvs15\VC\bin\x86_amd64\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Done Building Project "C:\EMU-master\CMakeFiles\3.3.0\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.46


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "C:/EMU-master/CMakeFiles/3.3.0/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: 
Build flags:
Id flags:

The output was:
0
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 8/7/2015 9:59:06 PM.
Project "C:\EMU-master\CMakeFiles\3.3.0\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\msvs15\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TP /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  C:\msvs15\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
  CompilerIdCXX.vcxproj -> C:\EMU-master\CMakeFiles\3.3.0\CompilerIdCXX\.\CompilerIdCXX.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_CXX_COMPILER=C:\msvs15\VC\bin\x86_amd64\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Done Building Project "C:\EMU-master\CMakeFiles\3.3.0\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.26


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "C:/EMU-master/CMakeFiles/3.3.0/CompilerIdCXX/CompilerIdCXX.exe"

Determining if the C compiler works passed with the following output:
Change Dir: C:/EMU-master/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_84992.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.23107.0

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 8/7/2015 9:59:08 PM.

Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_84992.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_84992.dir\Debug\".

  Creating directory "C:\EMU-master\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_84992.dir\Debug\cmTC_84992.tlog\".

InitializeBuildStatus:

  Creating "cmTC_84992.dir\Debug\cmTC_84992.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\msvs15\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_84992.dir\Debug\\" /Fd"cmTC_84992.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\EMU-master\CMakeFiles\CMakeTmp\testCCompiler.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_84992.dir\Debug\\" /Fd"cmTC_84992.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\EMU-master\CMakeFiles\CMakeTmp\testCCompiler.c"

  testCCompiler.c

 

Link:

  C:\msvs15\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_84992.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_84992.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_84992.lib" /MACHINE:X64  /machine:x64 /debug cmTC_84992.dir\Debug\testCCompiler.obj

  cmTC_84992.vcxproj -> C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_84992.exe

FinalizeBuildStatus:

  Deleting file "cmTC_84992.dir\Debug\cmTC_84992.tlog\unsuccessfulbuild".

  Touching "cmTC_84992.dir\Debug\cmTC_84992.tlog\cmTC_84992.lastbuildstate".

Done Building Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_84992.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.65



Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/EMU-master/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_a80fa.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.23107.0

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 8/7/2015 9:59:10 PM.

Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_a80fa.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_a80fa.dir\Debug\".

  Creating directory "C:\EMU-master\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_a80fa.dir\Debug\cmTC_a80fa.tlog\".

InitializeBuildStatus:

  Creating "cmTC_a80fa.dir\Debug\cmTC_a80fa.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\msvs15\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a80fa.dir\Debug\\" /Fd"cmTC_a80fa.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\CMake\share\cmake-3.3\Modules\CMakeCCompilerABI.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a80fa.dir\Debug\\" /Fd"cmTC_a80fa.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\CMake\share\cmake-3.3\Modules\CMakeCCompilerABI.c"

  CMakeCCompilerABI.c

 

Link:

  C:\msvs15\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_a80fa.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_a80fa.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_a80fa.lib" /MACHINE:X64  /machine:x64 /debug cmTC_a80fa.dir\Debug\CMakeCCompilerABI.obj

  cmTC_a80fa.vcxproj -> C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_a80fa.exe

FinalizeBuildStatus:

  Deleting file "cmTC_a80fa.dir\Debug\cmTC_a80fa.tlog\unsuccessfulbuild".

  Touching "cmTC_a80fa.dir\Debug\cmTC_a80fa.tlog\cmTC_a80fa.lastbuildstate".

Done Building Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_a80fa.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.37



Determining if the CXX compiler works passed with the following output:
Change Dir: C:/EMU-master/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_a5a55.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.23107.0

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 8/7/2015 9:59:12 PM.

Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_a5a55.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_a5a55.dir\Debug\".

  Creating directory "C:\EMU-master\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_a5a55.dir\Debug\cmTC_a5a55.tlog\".

InitializeBuildStatus:

  Creating "cmTC_a5a55.dir\Debug\cmTC_a5a55.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\msvs15\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_a5a55.dir\Debug\\" /Fd"cmTC_a5a55.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\EMU-master\CMakeFiles\CMakeTmp\testCXXCompiler.cxx"

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  testCXXCompiler.cxx

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_a5a55.dir\Debug\\" /Fd"cmTC_a5a55.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\EMU-master\CMakeFiles\CMakeTmp\testCXXCompiler.cxx"

 

Link:

  C:\msvs15\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_a5a55.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_a5a55.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_a5a55.lib" /MACHINE:X64  /machine:x64 /debug cmTC_a5a55.dir\Debug\testCXXCompiler.obj

  cmTC_a5a55.vcxproj -> C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_a5a55.exe

FinalizeBuildStatus:

  Deleting file "cmTC_a5a55.dir\Debug\cmTC_a5a55.tlog\unsuccessfulbuild".

  Touching "cmTC_a5a55.dir\Debug\cmTC_a5a55.tlog\cmTC_a5a55.lastbuildstate".

Done Building Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_a5a55.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.29



Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/EMU-master/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_8055b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.23107.0

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 8/7/2015 9:59:14 PM.

Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_8055b.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_8055b.dir\Debug\".

  Creating directory "C:\EMU-master\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_8055b.dir\Debug\cmTC_8055b.tlog\".

InitializeBuildStatus:

  Creating "cmTC_8055b.dir\Debug\cmTC_8055b.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\msvs15\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_8055b.dir\Debug\\" /Fd"cmTC_8055b.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\CMake\share\cmake-3.3\Modules\CMakeCXXCompilerABI.cpp"

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  CMakeCXXCompilerABI.cpp

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_8055b.dir\Debug\\" /Fd"cmTC_8055b.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\CMake\share\cmake-3.3\Modules\CMakeCXXCompilerABI.cpp"

 

Link:

  C:\msvs15\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_8055b.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_8055b.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_8055b.lib" /MACHINE:X64  /machine:x64 /debug cmTC_8055b.dir\Debug\CMakeCXXCompilerABI.obj

  cmTC_8055b.vcxproj -> C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_8055b.exe

FinalizeBuildStatus:

  Deleting file "cmTC_8055b.dir\Debug\cmTC_8055b.tlog\unsuccessfulbuild".

  Touching "cmTC_8055b.dir\Debug\cmTC_8055b.tlog\cmTC_8055b.lastbuildstate".

Done Building Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_8055b.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.31





Detecting CXX [] compiler features compiled with the following output:
Change Dir: C:/EMU-master/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_19359.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.23107.0

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 8/7/2015 9:59:16 PM.

Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_19359.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_19359.dir\Debug\".

  Creating directory "C:\EMU-master\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_19359.dir\Debug\cmTC_19359.tlog\".

InitializeBuildStatus:

  Creating "cmTC_19359.dir\Debug\cmTC_19359.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\msvs15\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_19359.dir\Debug\\" /Fd"cmTC_19359.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\EMU-master\CMakeFiles\feature_tests.cxx"

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_19359.dir\Debug\\" /Fd"cmTC_19359.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\EMU-master\CMakeFiles\feature_tests.cxx"

  feature_tests.cxx

 

Link:

  C:\msvs15\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_19359.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_19359.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/EMU-master/CMakeFiles/CMakeTmp/Debug/cmTC_19359.lib" /MACHINE:X64  /machine:x64 /debug cmTC_19359.dir\Debug\feature_tests.obj

  cmTC_19359.vcxproj -> C:\EMU-master\CMakeFiles\CMakeTmp\Debug\cmTC_19359.exe

FinalizeBuildStatus:

  Deleting file "cmTC_19359.dir\Debug\cmTC_19359.tlog\unsuccessfulbuild".

  Touching "cmTC_19359.dir\Debug\cmTC_19359.tlog\cmTC_19359.lastbuildstate".

Done Building Project "C:\EMU-master\CMakeFiles\CMakeTmp\cmTC_19359.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.31



    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Any ideas you have I am all ears.
EMU
 
Posts: 31
Joined: Wed Jul 22, 2015 6:16 pm
Location: Texas

Re: how to compile the wallet in windows

Postby Clever Crypto » Mon Aug 10, 2015 3:39 pm

Do next things:

mkdir build
cd build
cmake.exe -DBOOST_ROOT=C:\path\to\boost_1_58 -DBOOST_LIBRARYDIR=C:\path\to\boost_1_58\lib\ -G "Visual Studio 14 Win64" ..

where
C:\path\to\boost_1_58 is a path to the Boost directory
C:\path\to\boost_1_58\lib\ is a path to a directotory with Boost's libraries (something like lib64 or lib64-vc14. It depends on you build parameters)
Clever Crypto
 
Posts: 33
Joined: Tue May 26, 2015 12:25 pm

Re: how to compile the wallet in windows

Postby EMU » Mon Aug 10, 2015 5:51 pm

I have tried both and with the same result.

Code: Select all
c:\EMU-master\src>cmake.exe -DBOOST_ROOT=C:\boost_1_58_0\boost -DBOOST_LIBRARYDI
R=C:\boost_1_58_0\stage\lib -G "Visual Studio 14 Win64" ..
CMake Error at C:/CMake/share/cmake-3.3/Modules/FindBoost.cmake:1245 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:90 (find_package)


CMake Error at CMakeLists.txt:91 (if):
  if given arguments:

    "(" "EQUAL" "1" ")" "AND" "(" "EQUAL" "54" ")"

  Unknown arguments specified


Now it works!

Code: Select all
c:\EMU-master\src>cmake.exe -DBOOST_ROOT=C:\boost_1_58_0 -DBOOST_LIBRARYDIR=C:\b
oost_1_58_0\stage\lib -G "Visual Studio 14 Win64" ..
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   chrono
--   regex
--   serialization
--   program_options
--   coroutine
--   context
-- Found PythonInterp: C:/Users/2020/AppData/Local/Programs/Python/Python35/pyth
on.exe (found version "3.5")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/EMU-master
EMU
 
Posts: 31
Joined: Wed Jul 22, 2015 6:16 pm
Location: Texas

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron