Yi-Chung,
I try to compile static libraries by enabling static executable, but it
failed. Can anyone help me about this?
Here are some issues (and possible way to work around)
8.4.1 always get some error (looks like template instantiation problem)
here are examples of errors
----------
/home/ycc/tool_download/STATIC_deal/dealii-8.4.1/source/fe/fe_system.cc:1445:
undefined reference to
`dealii::internal::FEValues::FiniteElementRelatedData<1,
3>::initialize(unsigned int, dealii::FiniteElement<1, 3> const&,
dealii::UpdateFlags)'
/home/ycc/test/deal/lib/libdeal_II.g.a(fe_system.cc.o): In function
`dealii::FESystem<1, 3>::get_subface_data(dealii::UpdateFlags,
dealii::Mapping<1, 3> const&, dealii::Quadrature<0> const&,
dealii::internal::FEValues::FiniteElementRelatedData<1, 3>&) const':
/home/ycc/tool_download/STATIC_deal/dealii-8.4.1/source/fe/fe_system.cc:1503:
undefined reference to
`dealii::internal::FEValues::FiniteElementRelatedData<1,
3>::initialize(unsigned int, dealii::FiniteElement<1, 3> const&,
dealii::UpdateFlags)'
/home/ycc/tool_download/STATIC_deal/dealii-8.4.1/source/dofs/dof_tools_sparsity.cc:447:
undefined reference to `dealii::DoFHandler<2,
2>::n_boundary_dofs(std::map<unsigned char, dealii::Function<2, double>
const*, std::less<unsigned char>, std::allocator<std::pair<unsigned char
const, dealii::Function<2, double> const*> > > const&) const'
/home/ycc/tool_download/STATIC_deal/dealii-8.4.1/source/dofs/dof_tools_sparsity.cc:447:
undefined reference to `dealii::DoFHandler<2,
2>::n_boundary_dofs(std::map<unsigned char, dealii::Function<2, double>
const*, std::less<unsigned char>, std::allocator<std::pair<unsigned char
const, dealii::Function<2, double> const*> > > const&) const'
......
----------
alll of them are about fe-system/value and dof_handler
I tried to fixed it by manual instantiation (adding <1,3> <2,3> ...). Only
solved the fe-system/value problem
These indeed seem to be missing. I've opened an issue here:
https://github.com/dealii/dealii/issues/3599
I will be posting patches that fix some of these issues in the current github
repository. Once you see them fixed, can you try again and, if you have more
errors, post them there so we can fix them as well?
Best
Wolfgang
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.