Hi Toby, I have tried this before writing to the mail list... what I get if I try to link both 1D and 2D libraries is: a duplication of dealii::GridOut::GridOut(). The linker process then fails with:
ld: duplicate symbol dealii::GridOut::GridOut()in /Users/mihai/Utils/deal.II.svn/deal.II/lib/libdeal_II_1d.g.a(grid_grid_out_1d.g.o) and /Users/mihai/Utils/deal.II.svn/deal.II/lib/libdeal_II_2d.g.a(grid_grid_out_2d.g.o) -- Mihai ________________________________ Von: Toby D. Young <[email protected]> An: mihai alexe <[email protected]> CC: [email protected] Gesendet: Mittwoch, den 4. August 2010, 15:29:18 Uhr Betreff: Re: [deal.II] MeshWorker framework for 1D problems Mihai > I am trying to adapt step-12 (2D advection with DG) to a time-dependent > 1D advection problem. I'm having issues at link time - the linker is > unable to find references like Did you add the instruction to link to 1d libraries in Makefile? Currently you need to tell deal.II in the Makefile which dimension you want to link to in the library; you can add as many as you like. You'll be needing something like this there: libs.g = $(lib-deal2-2d.g) \ $(lib-deal2-1d.g) \ ## <---- Hej, Please link 1d libs too! $(lib-lac.g) \ $(lib-base.g) and the analogogical for optimized mode. Best, Toby ----- Toby D. Young Assistant Professor Institute of Fundamental Technological Problems Polish Academy of Sciences ul Adolfa Pawinskiego 5b 02-106 Warsaw Poland www: http://www.ippt.gov.pl/~tyoung skype: stenografia
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
