Dear Prof.  Bangerth 

Thanks a lot for your advice.

I successfully compiled the test code snippets.

Best Regards,

Junxiang.

On Saturday, January 18, 2025 at 7:03:01 AM UTC+8 Wolfgang Bangerth wrote:

> On 1/17/25 05:54, Junxiang Wang wrote:
> > 
> > I'd like to ask if you know how to compile deal.II test file, say, 
> > tests/base/quadrature_point_data.cc 
> > <
> https://github.com/dealii/dealii/blob/master/tests/base/quadrature_point_data.cc
> >.
>
> It is generally quite a lot of work to get individual files to compile 
> from 
> scratch because you need to know where the deal.II headers are located, 
> how 
> exactly to link to deal.II and all of the dependencies, what compiler 
> flags 
> are necessary, etc.
>
> As a consequence, the right approach is to use the CMakeLists.txt files 
> that 
> come, for example, with the deal.II tutorial programs and use those to 
> compile 
> programs. You may want to locate where 'apt-get' has installed the deal.II 
> tutorials, and then copy an entire directory (say step-1) to your home 
> directory where you can then call 'cmake' in that directory to set up all 
> the 
> necessary steps.
>
> Best
> W.
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: bang...@colostate.edu
> 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 dealii+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/f7d0ee7b-7c66-43d2-8bc9-c64acdb7ad65n%40googlegroups.com.

Reply via email to