hi,
Did you look at the topic "problem with "pkg -forge fem-fenics"" ?
Le 17/05/2017 10:59, JuanPi a écrit :
Hi all,
What's the status of this package? I am unable to install it even if I
follow the instructions in the wiki [1].
The error I get is
Makefile_common:31: recipe for target 'Mesh.o' failed
ar rUv libfemfenics_factories.a PETSc_factory.o
a - PETSc_factory.o
ranlib libfemfenics_factories.a
rm PETSc_factory.o femfenics_factory.o
make[1]: Leaving directory '/tmp/oct-IBg7RZ/fem-fenics/src'
make: Leaving directory '/tmp/oct-IBg7RZ/fem-fenics/src'
If I try to compile outside of source tree from the repository I get
make: *** No rule to make target 'Mesh.cc', needed by 'Mesh.o'. Stop.
If I compile in the source tree I get
Mesh.cc: In function ‘octave_value
compute_facet_markers(std::shared_ptr<const dolfin::Mesh>, const
Array<int>&, std::size_t)’:
Mesh.cc:430:38: error: invalid initialization of reference of type
‘const std::vector<long unsigned int>&’ from expression of type ‘const
std::vector<long int>’
_msh->topology ().global_indices (0);
^
Mesh.cc:432:38: error: invalid initialization of reference of type
‘const std::vector<long unsigned int>&’ from expression of type ‘const
std::vector<long int>’
_msh->topology ().global_indices (D - 1);
^
Mesh.cc: In function ‘octave_value
compute_cell_markers(std::shared_ptr<const dolfin::Mesh>, const
Array<int>&, std::size_t)’:
Mesh.cc:530:38: error: invalid initialization of reference of type
‘const std::vector<long unsigned int>&’ from expression of type ‘const
std::vector<long int>’
_msh->topology ().global_indices (0);
^
Mesh.cc:532:38: error: invalid initialization of reference of type
‘const std::vector<long unsigned int>&’ from expression of type ‘const
std::vector<long int>’
_msh->topology ().global_indices (D);
^
Makefile_common:31: recipe for target 'Mesh.o' failed
make: *** [Mesh.o] Error 1
[1]: http://wiki.octave.org/Fem-fenics#Known_issues
--
Arnaud LEJEUNE
Ingénieur de Recherche
Responsable Pôle Calcul Scientifique
Departement Mec'Appli/Institut FEMTO-ST
24 chemin de l'epitaphe
25000 BESANCON
tel : +(33)3 81 66 60 24
fax : +(33)3 81 66 67 00
mail: address@hidden