On 12/28/23 06:48, timo Hyvärinen wrote:
Unfortunately, I keep getting the following error in linking step between
libmylib.a and main:
"/projappl/project_xxxx/PDE/main.cc:115:undefined reference to
`MyNamespace_mpi::pde_solver<3>::pde_solver(unsigned int)
/projappl/project_xxxx/PDE/main.cc:116: undefined reference to
`MyNamespace_mpi::pde_solver<3>::run()'
Timo:
You need what is called an 'explicit instantiation'. If you search the
archives of this mailing list, you will find the issue discussed in more detail.
Best
W.
--
------------------------------------------------------------------------
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/3d612322-5d39-42b3-8dc5-118d2b863ab9%40colostate.edu.