I tried to compile new hermes 2.0 under ubuntu 13.04 like is described in the hermes manual (cmake version > 2.6 and matplotlib 1.2.1). Cloned from github created CMake.vars and as such performed:
cmake .
Tomas.
tomas@tomas-VirtualBox:~/workspace/hermes$ cmake .
-- Hermes will by default be using 4 threads for calculation.
Hermes2D: Generating classes for XML mesh parsing according to your version of XSD.
Configuration results
---------------------
Build with UMFPACK: YES
Build with PETSC: NO
Build with MUMPS: NO
Build with SUPERLU: NO
Build with TRILINOS: NO
Build with MPI: NO
Build with OPENMP: YES
Build with EXODUSII: NO
---------------------
Hermes common library:
Build Debug version: YES
Build Release version: YES
Build with tests:
Build Hermes2D: YES
Build Hermes2D Debug version: YES
Build Hermes2D Release version: YES
---------------------
Build Hermes2D with test examples: YES
---------------------
Build Hermes2D with GLUT: YES
Build Hermes2D with VIEWER_GUI:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tomas/workspace/hermes
tomas@tomas-VirtualBox:~/workspace/hermes$
...
Linking CXX shared library libhermes2d-debug.so
[ 90%] Built target hermes2d-debug
Scanning dependencies of target 01-poisson
[ 90%] Building CXX object hermes2d/test_examples/01-poisson/CMakeFiles/01-poisson.dir/main.cpp.o
[ 90%] Building CXX object hermes2d/test_examples/01-poisson/CMakeFiles/01-poisson.dir/definitions.cpp.o
Linking CXX executable 01-poisson
[ 90%] Built target 01-poisson
Scanning dependencies of target 02-poisson-newton
[ 91%] Building CXX object hermes2d/test_examples/02-poisson-newton/CMakeFiles/02-poisson-newton.dir/main.cpp.o
[ 91%] Building CXX object hermes2d/test_examples/02-poisson-newton/CMakeFiles/02-poisson-newton.dir/definitions.cpp.o
Linking CXX executable 02-poisson-newton
[ 91%] Built target 02-poisson-newton
Scanning dependencies of target 03-navier-stokes
[ 92%] Building CXX object hermes2d/test_examples/03-navier-stokes/CMakeFiles/03-navier-stokes.dir/main.cpp.o
Linking CXX executable 03-navier-stokes
[ 92%] Built target 03-navier-stokes
Scanning dependencies of target 04-complex-adapt
[ 92%] Building CXX object hermes2d/test_examples/04-complex-adapt/CMakeFiles/04-complex-adapt.dir/main.cpp.o
[ 92%] Building CXX object hermes2d/test_examples/04-complex-adapt/CMakeFiles/04-complex-adapt.dir/definitions.cpp.o
Linking CXX executable 04-complex-adapt
[ 92%] Built target 04-complex-adapt
Scanning dependencies of target 05-hcurl-adapt
[ 93%] Building CXX object hermes2d/test_examples/05-hcurl-adapt/CMakeFiles/05-hcurl-adapt.dir/main.cpp.o
Linking CXX executable 05-hcurl-adapt
[ 93%] Built target 05-hcurl-adapt
Scanning dependencies of target 06-system-adapt
[ 93%] Building CXX object hermes2d/test_examples/06-system-adapt/CMakeFiles/06-system-adapt.dir/main.cpp.o
/home/tomas/workspace/hermes/hermes2d/test_examples/06-system-adapt/main.cpp: In function ‘int main(int, char**)’:
/home/tomas/workspace/hermes/hermes2d/test_examples/06-system-adapt/main.cpp:222:102: error: no matching function for call to ‘Hermes::Hermes2D::Adapt<double>::Adapt(Hermes::vector<Hermes::Hermes2D::Space<double>*>)’
/home/tomas/workspace/hermes/hermes2d/test_examples/06-system-adapt/main.cpp:222:102: note: candidates are:
In file included from /home/tomas/workspace/hermes/hermes2d/include/discrete_problem.h:20:0,
from /home/tomas/workspace/hermes/hermes2d/include/newton_solver.h:26,
from /home/tomas/workspace/hermes/hermes2d/include/hermes2d.h:23,
from /home/tomas/workspace/hermes/hermes2d/test_examples/06-system-adapt/definitions.h:1,
from /home/tomas/workspace/hermes/hermes2d/test_examples/06-system-adapt/main.cpp:3:
/home/tomas/workspace/hermes/hermes2d/include/adapt/adapt.h:63:7: note: Hermes::Hermes2D::Adapt<T>::Adapt(Hermes::Hermes2D::Space<Scalar>*, Hermes::Hermes2D::ProjNormType) [with Scalar = double]
/home/tomas/workspace/hermes/hermes2d/include/adapt/adapt.h:63:7: note: no known conversion for argument 1 from ‘Hermes::vector<Hermes::Hermes2D::Space<double>*>’ to ‘Hermes::Hermes2D::Space<double>*’
/home/tomas/workspace/hermes/hermes2d/include/adapt/adapt.h:62:7: note: Hermes::Hermes2D::Adapt<T>::Adapt(Hermes::vector<Hermes::Hermes2D::Space<Scalar>*>&, Hermes::vector<Hermes::Hermes2D::ProjNormType>) [with Scalar = double]
/home/tomas/workspace/hermes/hermes2d/include/adapt/adapt.h:62:7: note: no known conversion for argument 1 from ‘Hermes::vector<Hermes::Hermes2D::Space<double>*>’ to ‘Hermes::vector<Hermes::Hermes2D::Space<double>*>&’
/home/tomas/workspace/hermes/hermes2d/include/adapt/adapt.h:57:22: note: Hermes::Hermes2D::Adapt<double>::Adapt(const Hermes::Hermes2D::Adapt<double>&)
/home/tomas/workspace/hermes/hermes2d/include/adapt/adapt.h:57:22: note: no known conversion for argument 1 from ‘Hermes::vector<Hermes::Hermes2D::Space<double>*>’ to ‘const Hermes::Hermes2D::Adapt<double>&’
make[2]: *** [hermes2d/test_examples/06-system-adapt/CMakeFiles/06-system-adapt.dir/main.cpp.o] Error 1
make[1]: *** [hermes2d/test_examples/06-system-adapt/CMakeFiles/06-system-adapt.dir/all] Error 2
make: *** [all] Error 2
tomas@tomas-VirtualBox:~/workspace/hermes$