[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with "pkg -forge fem-fenics"
From: |
arnaudl |
Subject: |
problem with "pkg -forge fem-fenics" |
Date: |
Mon, 27 Mar 2017 02:25:33 -0700 (PDT) |
Hello,
I am working on:
-> Linux version 4.4.0-67-generic (address@hidden) (gcc version 5.4.0
20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) )
-> Octave version 4.0.0
Trying to install fem-fenics using
"pkg -forge fem-fenics"
lead to the following error
*********************************************************
ar: création de libfemfenics_factories.a
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);
^
make: *** [Mesh.o] Erreur 1
************************************************************************************************************************
Has anyone ever solved this issue ?
Thanks for your answer (and sorry for my poor english)
Arnaud
--
View this message in context:
http://octave.1599824.n4.nabble.com/problem-with-pkg-forge-fem-fenics-tp4682629.html
Sent from the Octave - General mailing list archive at Nabble.com.
- problem with "pkg -forge fem-fenics",
arnaudl <=