On Mon, Mar 24, 2014 at 5:38 PM, Matthias Troyer troyer@phys.ethz.chwrote:
I don't find the error message that you reported here, and the output looks truncated
On 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 - - AMD64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: Build flags: Id flags:
The output was: 0
Microsoft (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.c 1>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.exe 1>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: 0
Microsoft (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.cpp 1>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.exe 1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec343473873
Microsoft (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.08for 80x86
1>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.c
1>testCCompiler.c
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec1510577454
Microsoft (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.08for 80x86
1>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.c
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3488916556
Microsoft (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.08for 80x86
1>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.cxx
1>testCXXCompiler.cxx
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec683221049
Microsoft (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.08for 80x86
1>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.cpp
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2444191313
Microsoft (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.08for 80x86
1>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.c
1>CheckIncludeFile.c
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2769291780
Microsoft (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.08for 80x86
1>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.c
1>CheckIncludeFile.c
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec1053364341
Microsoft (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.08for 80x86
1>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.c
1>CheckIncludeFile.c
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3672226274
Microsoft (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.08for 80x86
1>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.c
1>CheckIncludeFile.c
1>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.0
1>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/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2495394295
Microsoft (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.08for 80x86
1>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.cxx
1>CheckIncludeFile.cxx
1>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.0
1>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 - - AMD64 The system is: Windows - - AMD64
On Mon, Mar 24, 2014 at 5:06 PM, Matthias Troyer troyer@phys.ethz.chwrote:
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.
On Mar 24, 2014, at 22:03, Niraj Ghimire niraj.ghimire@gmail.com wrote:
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 Ghimire Graduate Student Department of Physics University of Connecticut
On Mon, Mar 24, 2014 at 3:23 AM, Matthias Troyer troyer@phys.ethz.chwrote:
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 page https://alps.comp-phys.org/trac/wiki/AlpsOnWindows.
I 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 Ghimire Graduate Student Department of Physics University of Connecticut