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:                 bange...@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/ebfb872e-3f4b-4856-b0fb-aa023ae29ff5%40colostate.edu.

Reply via email to