Dr. Troyer, I downloaded "boost 1.55.0" (and I cannot use a version newer than that because alps 2.1.1 does not support it) and tried to build it using CMake but I got the same error message yet again. I checked that the boost folder contains file version.hpp, I specified this location for Boost_root_directory in CMake, it didn't work. I have no idea what went wrong and how to fix it.P.S. Like you said, building from source is really difficult on Windows, I am going to have a Linux based machine in a few days and then I will build alps from source.
On Tue, Mar 25, 2014 at 12:47 AM, Matthias Troyer <troyer@phys.ethz.ch> wrote:You will need a more recent version of Boost and should check that the directory you specify contains a file boost\version.hpp .MatthiasThe path to the source tree of the boost library would be C:\Users\Username\src\boost_1_42_0, right ? I treid that but it didn't work.On Tue, Mar 25, 2014 at 12:27 AM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
As you can see in the message, you need to specify the path to the source tree of the Boost library.
Sorry about that. This is the error message on CMake that I got when I hit "Configure."CMake Error: Could not open file for write in copy operation /CMakeSystem.cmake.tmpCMake Error: : System Error: Permission deniedCMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:182 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:110 (include)Build type: ReleaseALPS version: 2.1.1Looking for precompiled Boost libraries (version >= 1.47)Could NOT find BoostCould NOT find BoostLooking for Boost SourceCMake Error at config/FindBoostSrc.cmake:102 (message):
Boost Source not Found
Call Stack (most recent call first):
config/FindBoostForALPS.cmake:61 (find_package)
CMakeLists.txt:248 (find_package)Configuring incomplete, errors occurred!See also "C:/Users/Niraj/build/alps/CMakeFiles/CMakeOutput.log".See also "C:/Users/Niraj/build/alps/CMakeFiles/CMakeError.log".On Tue, Mar 25, 2014 at 12:03 AM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
Need the output of CMake, not the error fileThis is the content from the CMakeError.txt file. Hope this helps to figure out what went wrong.Determining if the include file rpc/rpc.h exists failed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2655219810Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec2655219810, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec2655219810.dir\Debug\\" /Fd"cmTryCompileExec2655219810.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\CheckIncludeFile.c1>CheckIncludeFile.c1>.\CheckIncludeFile.c(1) : fatal error C1083: Cannot open include file: 'rpc/rpc.h': No such file or directory1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec2655219810.dir\Debug\BuildLog.htm"1>cmTryCompileExec2655219810 - 1 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Determining if the include file sys/systeminfo.h exists failed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3412457876Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec3412457876, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec3412457876.dir\Debug\\" /Fd"cmTryCompileExec3412457876.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\CheckIncludeFile.c1>CheckIncludeFile.c1>.\CheckIncludeFile.c(1) : fatal error C1083: Cannot open include file: 'sys/systeminfo.h': No such file or directory1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec3412457876.dir\Debug\BuildLog.htm"1>cmTryCompileExec3412457876 - 1 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========Determining if the include file unistd.h exists failed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec4027216326Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec4027216326, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec4027216326.dir\Debug\\" /Fd"cmTryCompileExec4027216326.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\CheckIncludeFile.c1>CheckIncludeFile.c1>.\CheckIncludeFile.c(1) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec4027216326.dir\Debug\BuildLog.htm"1>cmTryCompileExec4027216326 - 1 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
On Mon, Mar 24, 2014 at 5:41 PM, Niraj Ghimire <niraj.ghimire@gmail.com> wrote:
On Mon, Mar 24, 2014 at 5:38 PM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
I don't find the error message that you reported here, and the output looks truncatedOn 24 Mar 2014, at 22:15, Niraj Ghimire <niraj.ghimire@gmail.com> wrote:The content of the Cmake output.txt file is huge, I have no idea how to convey it to you, so I have just copied it here:The system is: Windows - - AMD64Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.Compiler:Build flags:Id flags:The output was:0Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: CompilerIdC, Configuration: Debug Win32 ------1>Compiling...1>CMakeCCompilerId.c1>Linking...1>Embedding manifest...1>Performing Post-Build Event...1>CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\2.8.12.2\CompilerIdC\Debug\BuildLog.htm"1>CompilerIdC - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcproj"The C compiler identification is MSVC, found in "C:/Users/Niraj/build/alps/CMakeFiles/2.8.12.2/CompilerIdC/CompilerIdC.exe"Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.Compiler:Build flags:Id flags:The output was:0Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: CompilerIdCXX, Configuration: Debug Win32 ------1>Compiling...1>CMakeCXXCompilerId.cpp1>Linking...1>Embedding manifest...1>Performing Post-Build Event...1>CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\2.8.12.2\CompilerIdCXX\Debug\BuildLog.htm"1>CompilerIdCXX - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcproj"The CXX compiler identification is MSVC, found in "C:/Users/Niraj/build/alps/CMakeFiles/2.8.12.2/CompilerIdCXX/CompilerIdCXX.exe"Determining if the C compiler works passed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec343473873Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec343473873, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec343473873.dir\Debug\\" /Fd"cmTryCompileExec343473873.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\testCCompiler.c1>testCCompiler.c1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec343473873.dir\Debug\BuildLog.htm"1>cmTryCompileExec343473873 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Detecting C compiler ABI info compiled with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec1510577454Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec1510577454, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec1510577454.dir\Debug\\" /Fd"cmTryCompileExec1510577454.dir\Debug\vc90.pdb" /W3 /c /Zi /TC "..\..\..\..\..\..\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCCompilerABI.c"1>CMakeCCompilerABI.c1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec1510577454.dir\Debug\BuildLog.htm"1>cmTryCompileExec1510577454 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Determining if the CXX compiler works passed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3488916556Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec3488916556, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec3488916556.dir\Debug\\" /Fd"cmTryCompileExec3488916556.dir\Debug\vc90.pdb" /W3 /c /Zi /TP .\testCXXCompiler.cxx1>testCXXCompiler.cxx1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec3488916556.dir\Debug\BuildLog.htm"1>cmTryCompileExec3488916556 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Detecting CXX compiler ABI info compiled with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec683221049Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec683221049, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec683221049.dir\Debug\\" /Fd"cmTryCompileExec683221049.dir\Debug\vc90.pdb" /W3 /c /Zi /TP "..\..\..\..\..\..\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCXXCompilerABI.cpp"1>CMakeCXXCompilerABI.cpp1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec683221049.dir\Debug\BuildLog.htm"1>cmTryCompileExec683221049 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Determining if the include file stdarg.h exists passed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2444191313Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec2444191313, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec2444191313.dir\Debug\\" /Fd"cmTryCompileExec2444191313.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\CheckIncludeFile.c1>CheckIncludeFile.c1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec2444191313.dir\Debug\BuildLog.htm"1>cmTryCompileExec2444191313 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Determining if the include file sys/stat.h exists passed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2769291780Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec2769291780, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec2769291780.dir\Debug\\" /Fd"cmTryCompileExec2769291780.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\CheckIncludeFile.c1>CheckIncludeFile.c1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec2769291780.dir\Debug\BuildLog.htm"1>cmTryCompileExec2769291780 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Determining if the include file sys/types.h exists passed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec1053364341Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec1053364341, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec1053364341.dir\Debug\\" /Fd"cmTryCompileExec1053364341.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\CheckIncludeFile.c1>CheckIncludeFile.c1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec1053364341.dir\Debug\BuildLog.htm"1>cmTryCompileExec1053364341 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Determining if the include file windows.h exists passed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3672226274Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec3672226274, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec3672226274.dir\Debug\\" /Fd"cmTryCompileExec3672226274.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\CheckIncludeFile.c1>CheckIncludeFile.c1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec3672226274.dir\Debug\BuildLog.htm"1>cmTryCompileExec3672226274 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Determining if the include file valarray exists passed with the following output:Change Dir: C:/Users/Niraj/build/alps/CMakeFiles/CMakeTmpRun Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2495394295Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.Copyright (C) Microsoft Corp 2007. All rights reserved.1>------ Build started: Project: cmTryCompileExec2495394295, Configuration: Debug Win32 ------1>Compiling...1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x861>Copyright (C) Microsoft Corporation. All rights reserved.1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec2495394295.dir\Debug\\" /Fd"cmTryCompileExec2495394295.dir\Debug\vc90.pdb" /W3 /c /Zi /TP .\CheckIncludeFile.cxx1>CheckIncludeFile.cxx1>Compiling manifest to resources...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Linking...1>Embedding manifest...1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.01>Copyright (C) Microsoft Corporation. All rights reserved.1>Build log was saved at "file://c:\Users\Niraj\build\alps\CMakeFiles\CMakeTmp\cmTryCompileExec2495394295.dir\Debug\BuildLog.htm"1>cmTryCompileExec2495394295 - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
The system is: Windows - - AMD64The system is: Windows - - AMD64On Mon, Mar 24, 2014 at 5:06 PM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
These errors mean that you did not specify the correct paths to various libraries. You will have to provide the CMake output for us to help. But please be aware that building from source on Windows is hard.
Thank you, Dr. Troyer. Now I am having problems trying to build ALPS. I downloaded the source package alps-2.2.b1-r7195-src.tar.gz from the webpage "http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2" and tried to build it, I was not successful at all. Then I downloaded the other source package alps-2.1.1-r6176-src.tar.gz from the same page and tried to build it, I ended up getting the same error message which reads "Error in configuration process, project files may be invalid."Where can I find the correct source code for ALPS ?Regards,Niraj GhimireGraduate StudentDepartment of PhysicsUniversity of ConnecticutOn Mon, Mar 24, 2014 at 3:23 AM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
lpsolve and sqlite are not needed anymore. zlib and szlib are included in the binary distributions of HDF5 for Windows, which are easier to use than building from source.On Mar 24, 2014, at 12:32 AM, Niraj Ghimire <niraj.ghimire@gmail.com> wrote:Dear alps users,I have been trying to build alps package from source on Windows 7 OS. I have been following the outdated instructions on the pageI could not find the proper versions of Zlib, SZlib, Lpsolve and SQlite. There are links on this webpage that read "Check out the source code from <>" where <> is, for instance, https://alps.comp-phys.org/svn/alps1/trunk/wistaria/windows/lpsolve for "Lpsolve". I don't know how to download the source codes using these links.I tried to download the source codes from a trusted webpage like sourceforge.net, some of them work while others don't and I keep getting errors.Please help me.Regards,Niraj GhimireGraduate StudentDepartment of PhysicsUniversity of Connecticut