[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OF] fem-fenics
From: |
JuanPi |
Subject: |
[OF] fem-fenics |
Date: |
Wed, 17 May 2017 10:59:56 +0200 |
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
--
JuanPi Carbajal
https://goo.gl/ayiJzi
Public GnuPG key: 9C5B72BF
-----
"Why is thought, being a secretion of the brain, more wonderful than
gravity, a property of matter?"
- C. Darwin
- [OF] fem-fenics,
JuanPi <=