Harish Narayanan wrote:
> I think I am having come conflicts with the recent changes in UFC. With
> clean checkouts of all FEniCS projects, I am unable to compile DOLFIN. I
> see numerous errors of the following form:
> 
> In file included from dolfin/ale/HarmonicSmoothing.cpp:13:
> dolfin/ale/Poisson1D.h: In member function ‘virtual ufc::dof_map*
> UFC_Poisson1DBilinearForm_dof_map_0::create_sub_dof_map(unsigned int)
> const’:
> dolfin/ale/Poisson1D.h:864: error: cannot allocate an object of abstract
> type ‘UFC_Poisson1DBilinearForm_dof_map_0’
> dolfin/ale/Poisson1D.h:719: note:   because the following virtual
> functions are pure within ‘UFC_Poisson1DBilinearForm_dof_map_0’:
> /sw/include/ufc.h:205: note:  virtual unsigned int
> ufc::dof_map::local_dimension() const
> dolfin/ale/Poisson1D.h: In member function ‘virtual ufc::dof_map*
> UFC_Poisson1DBilinearForm_dof_map_1::create_sub_dof_map(unsigned int)
> const’:
> dolfin/ale/Poisson1D.h:1018: error: cannot allocate an object of
> abstract type ‘UFC_Poisson1DBilinearForm_dof_map_1’
> dolfin/ale/Poisson1D.h:873: note:   because the following virtual
> functions are pure within ‘UFC_Poisson1DBilinearForm_dof_map_1’:
> /sw/include/ufc.h:205: note:  virtual unsigned int
> ufc::dof_map::local_dimension() const
> dolfin/ale/Poisson1D.h: In member function ‘virtual ufc::dof_map*
> UFC_Poisson1DBilinearForm::create_dof_map(unsigned int) const’:
> dolfin/ale/Poisson1D.h:1224: error: cannot allocate an object of
> abstract type ‘UFC_Poisson1DBilinearForm_dof_map_0’
> dolfin/ale/Poisson1D.h:719: note:   since type
> ‘UFC_Poisson1DBilinearForm_dof_map_0’ has pure virtual functions
> dolfin/ale/Poisson1D.h:1227: error: cannot allocate an object of
> abstract type ‘UFC_Poisson1DBilinearForm_dof_map_1’
> dolfin/ale/Poisson1D.h:873: note:   since type
> ‘UFC_Poisson1DBilinearForm_dof_map_1’ has pure virtual functions
> 
> Should I be using the last stable release of UFC instead of the hg
> version for this to not be a problem?
>

If you use the development version of DOLFIN, you need the development 
versions of UFC and FFC. Make sure that you don't have any old ufc.h 
files lying around

Garth

> Harish
> _______________________________________________
> DOLFIN-dev mailing list
> [email protected]
> http://www.fenics.org/mailman/listinfo/dolfin-dev


_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to