I followed the installation instructions for Cygwin but could not compile ALPS-1.3.5 libraries. The error was:
make[1]: Entering directory `/sci/alps/tool' g++ -DHAVE_CONFIG_H -I../src -I../src -DNDEBUG -I/usr/src/boost_1_43_0 -g -O2 -MT convert2xml.o -MD -MP -MF .deps/convert2xml.Tpo -c -o convert2xml.o convert2xml.C In file included from /usr/src/boost_1_43_0/boost/integer.hpp:18, ... other 18 files ... from convert2xml.C:34: /usr/src/boost_1_43_0/boost/integer_fwd.hpp:98: error: expected identifier before 'unsigned' /usr/src/boost_1_43_0/boost/integer_fwd.hpp:98: error: multiple types in one declaration In file included from /usr/src/boost_1_43_0/boost/function/function_base.hpp:21, ... other 17 files ... from convert2xml.C:34: /usr/src/boost_1_43_0/boost/integer.hpp:127: error: expected identifier before 'unsigned' /usr/src/boost_1_43_0/boost/integer.hpp:127: error: expected unqualified-id before ':' token make[1]: *** [convert2xml.o] Error 1 make[1]: Leaving directory `/sci/alps/tool'
I have Cygwin 1.7.7 with gcc-g++ 3.4.4-999 , boost 1.43.0-1, libxslt 1.1.26-2, LAPACK 3.2.2-1, and other required packages.
The results of running configure was as follows:
cd /sci/alps ./configure --with-boost=/usr/src/boost_1_43_0
Summary of configuration: ALPS version 1.3.5 prefix /home/admin/ALPS compiler type gnu [g++] optimization yes exceptions yes warnings no Boost version svn MPI support no OpenMP support no HDF5 support no LAPACK support no SQLite support no XML parser native Documentation no
Kind regards, Andriy Zhugayevych
Hi Andriy,
You need to use an older version of Boost to install ALPS 1.3.5. But why don't you try ALPS 2.0b4 of which there is a simple installer available for Windows?
Matthias
On 5 Sep 2010, at 18:53, Andriy Zhugayevych wrote:
I followed the installation instructions for Cygwin but could not compile ALPS-1.3.5 libraries. The error was:
make[1]: Entering directory `/sci/alps/tool' g++ -DHAVE_CONFIG_H -I../src -I../src -DNDEBUG -I/usr/src/boost_1_43_0 -g -O2 -MT convert2xml.o -MD -MP -MF .deps/convert2xml.Tpo -c -o convert2xml.o convert2xml.C In file included from /usr/src/boost_1_43_0/boost/integer.hpp:18, ... other 18 files ... from convert2xml.C:34: /usr/src/boost_1_43_0/boost/integer_fwd.hpp:98: error: expected identifier before 'unsigned' /usr/src/boost_1_43_0/boost/integer_fwd.hpp:98: error: multiple types in one declaration In file included from /usr/src/boost_1_43_0/boost/function/function_base.hpp:21, ... other 17 files ... from convert2xml.C:34: /usr/src/boost_1_43_0/boost/integer.hpp:127: error: expected identifier before 'unsigned' /usr/src/boost_1_43_0/boost/integer.hpp:127: error: expected unqualified-id before ':' token make[1]: *** [convert2xml.o] Error 1 make[1]: Leaving directory `/sci/alps/tool'
I have Cygwin 1.7.7 with gcc-g++ 3.4.4-999 , boost 1.43.0-1, libxslt 1.1.26-2, LAPACK 3.2.2-1, and other required packages.
The results of running configure was as follows:
cd /sci/alps ./configure --with-boost=/usr/src/boost_1_43_0
Summary of configuration: ALPS version 1.3.5 prefix /home/admin/ALPS compiler type gnu [g++] optimization yes exceptions yes warnings no Boost version svn MPI support no OpenMP support no HDF5 support no LAPACK support no SQLite support no XML parser native Documentation no
Kind regards, Andriy Zhugayevych
comp-phys-alps-users@lists.phys.ethz.ch