(Deleted) Dolfin installation, error in Eigen

9 months ago by
Hey, when I am trying to install dolfin from src, it gives me an error with Eigen library:

[ 0%] Built target compile_ale_forms
[ 1%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/LocalSolver.cpp.o
[ 1%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/MultiMeshAssembler.cpp.o
[ 1%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/DofMap.cpp.o
[ 1%] Built target copy_swig_files
[ 2%] Building CXX object dolfin/CMakeFiles/dolfin.dir/fem/MultiMeshDirichletBC.cpp.o
/u/prbansal/Documents/projectsUtilities/fenics/dolfin/dolfin/fem/DofMap.cpp: In constructor ‘dolfin::DofMap::DofMap(std::unordered_map<long unsigned int, long unsigned int>&, const dolfin::DofMap&, const dolfin::Mesh&)’:
/u/prbansal/Documents/projectsUtilities/fenics/dolfin/dolfin/fem/DofMap.cpp:123:10: error: ‘Index’ is not a member of ‘Eigen’
for (Eigen::Index j = 0; j < view_cell_dofs.size(); ++j)
/u/prbansal/Documents/projectsUtilities/fenics/dolfin/dolfin/fem/DofMap.cpp:123:30: error: ‘j’ was not declared in this scope
for (Eigen::Index j = 0; j < view_cell_dofs.size(); ++j)

I have specified the path for Eigen library for cmake correctly. Does anyone have an idea what the issue is here? Thanks.
Community: FEniCS Project
What version of Eigen do you have?
written 9 months ago by Chris Richardson  
I am using Eigen3.3.3
written 9 months ago by Pratyuksh Bansal  
Please login to add an answer/comment or follow this question.
The thread is closed. No new answer/comment may be added.

Similar posts:
Search »
  • Nothing matches yet.