Hello everybody,
I apologise for such a lot of questions. After the installation of hermes (devel), the problems of making hermes-tutorial occurs (CMake.vars enclosed). I see that he misses in some way the recognition of ‘MeshSharedPtr’, which in the hermes2d/test_examples/* are used also and the compilation passes well therein.
Could someone give me a hint where the problem could be?
Thank you very much.
Kind regards,
Tomas.
tomas@tomas-VirtualBox:~/workspace/hermes-tutorial$ cmake .
-- Found UMFPACK: /usr/lib/libumfpack.so;/usr/lib/libamd.so
-- Found PTHREAD: /usr/lib/i386-linux-gnu/libpthread.so
-- Found TCMALLOC: /usr/lib/libtcmalloc.so
-- Found PARALUTION: /home/tomas/workspace/paralution-0.4.0/build/lib/libparalution.a
-- Looking for Fortran dgemm
-- Looking for Fortran dgemm - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- A library with BLAS API found.
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Found HERMES_COMMON: /usr/local/lib/libhermes_common.so
-- Found HERMES: /usr/local/lib/libhermes2d.so
Hermes-tutorial Configuration results
---------------------
-------Features-------
Build with OpenMP: YES
Build with TCMalloc: YES
Build with BSON: NO
Build with MATIO: NO
Build with MPI: YES
Build with EXODUSII: NO
-------Solvers-------
Build with UMFPACK: YES
Build with PARALUTION: YES
Build with PETSC: !TO_DO!
Build with MUMPS: NO
Build with SUPERLU: NO
Build with TRILINOS: !TO_DO!
---------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tomas/workspace/hermes-tutorial
=========
tomas@tomas-VirtualBox:~/workspace/hermes-tutorial$ make [ 1%] Building CXX object A-linear/01-mesh/CMakeFiles/A-01-mesh.dir/main.cpp.o /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp: In function ‘int main(int, char**)’: /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:33:3: error: ‘MeshSharedPtr’ was not declared in this scope /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:33:17: error: expected ‘;’ before ‘mesh’ /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:40:34: error: ‘mesh’ was not declared in this scope /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:40:34: note: suggested alternatives: In file included from /usr/local/include/hermes2d/mesh/mesh_reader_h2d_xml.h:26:0, from /usr/local/include/hermes2d/hermes2d.h:38, from /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:1: /usr/local/include/hermes2d/mesh/mesh_h2d_xml.h:2111:9: note: ‘XMLMesh::mesh’ In file included from /usr/local/include/hermes2d/mesh/mesh_reader_h1d_xml.h:26:0, from /usr/local/include/hermes2d/hermes2d.h:39, from /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:1: /usr/local/include/hermes2d/mesh/mesh_h1d_xml.h:804:9: note: ‘XMLMesh1D::mesh’ /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:51:33: error: ‘mesh’ was not declared in this scope /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:51:33: note: suggested alternatives: In file included from /usr/local/include/hermes2d/mesh/mesh_reader_h2d_xml.h:26:0, from /usr/local/include/hermes2d/hermes2d.h:38, from /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:1: /usr/local/include/hermes2d/mesh/mesh_h2d_xml.h:2111:9: note: ‘XMLMesh::mesh’ In file included from /usr/local/include/hermes2d/mesh/mesh_reader_h1d_xml.h:26:0, from /usr/local/include/hermes2d/hermes2d.h:39, from /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:1: /usr/local/include/hermes2d/mesh/mesh_h1d_xml.h:804:9: note: ‘XMLMesh1D::mesh’ /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:55:3: error: ‘mesh’ was not declared in this scope /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:55:3: note: suggested alternatives: In file included from /usr/local/include/hermes2d/mesh/mesh_reader_h2d_xml.h:26:0, from /usr/local/include/hermes2d/hermes2d.h:38, from /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:1: /usr/local/include/hermes2d/mesh/mesh_h2d_xml.h:2111:9: note: ‘XMLMesh::mesh’ In file included from /usr/local/include/hermes2d/mesh/mesh_reader_h1d_xml.h:26:0, from /usr/local/include/hermes2d/hermes2d.h:39, from /home/tomas/workspace/hermes-tutorial/A-linear/01-mesh/main.cpp:1: /usr/local/include/hermes2d/mesh/mesh_h1d_xml.h:804:9: note: ‘XMLMesh1D::mesh’ make[2]: *** [A-linear/01-mesh/CMakeFiles/A-01-mesh.dir/main.cpp.o] Error 1 make[1]: *** [A-linear/01-mesh/CMakeFiles/A-01-mesh.dir/all] Error 2 make: *** [all] Error 2