Daniel thank you very much,you are so kind,God bless you. best qiong Daniel Arndt <d.arndt.m...@gmail.com> 于 2022年9月8日周四 21:41写道:
> Qiong, > > It's not sufficient to include deal.II's include files but you need to > link the library target. Have a look at > https://www.dealii.org/current/users/cmake_user.html. > > Best, > Daniel > > > On Wed, Sep 7, 2022 at 9:38 PM jim wo <wojim...@gmail.com> wrote: > >> and at the same time, I write the codes and it comes "the >> deal.II/grid/tria.h not found" I dont konw why >> best >> Qiong >> >> >> 在2022年9月8日星期四 UTC+8 09:34:59<jim wo> 写道: >> >>> I created a new cmake project on wsl with vscode ,I write the >>> INCLUDE_DIRETORIES with header file of dealii in the CMakeLists and then >>> cmake project ,I am not sure if its going to work . But when I make it >>> comes error as follow >>> [image: 1662600815935.png] >>> best >>> Qiong >>> 在2022年9月8日星期四 UTC+8 09:23:08<jim wo> 写道: >>> >>>> I did install MPI on wsl >>>> and I congfigure deal.ii with DEAL_II_WITH_PETSC = ON >>>> DEAL_II_WITH_P4EST = ON >>>> >>>> >>>> 在2022年9月7日星期三 UTC+8 23:03:57<d.arnd...@gmail.com> 写道: >>>> >>>>> Qiong, >>>>> >>>>> What CMake settings did you use to configure deal.II? >>>>> Does your system indeed provide an MPI installation? >>>>> >>>>> Bets, >>>>> Daniel >>>>> >>>>> On Wed, Sep 7, 2022 at 10:22 AM jim wo <woji...@gmail.com> wrote: >>>>> >>>>>> Hello, >>>>>> I want to develop my own project on wsl with deal.ii 9.4. after >>>>>> make I got this message: >>>>>> >>>>>> In file included from /home/wu/deal_II/include/deal.II/grid/tria.h:20, >>>>>> from /home/wu/cmakeQuickStart/main.cpp:23: >>>>>> /home/wu/deal_II/include/deal.II/base/config.h:540:12: fatal error: >>>>>> mpi.h: No such file or directory >>>>>> 540 | # include <mpi.h> >>>>>> | ^~~~~~~ >>>>>> compilation terminated. >>>>>> thanks for your help >>>>>> Qiong >>>>>> >>>>>> -- >>>>>> 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+un...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/dealii/c3b2d20c-923f-457f-b938-61ca4e13029fn%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/dealii/c3b2d20c-923f-457f-b938-61ca4e13029fn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >> 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 on the web visit >> https://groups.google.com/d/msgid/dealii/9bbc2b6b-a3de-49d5-aab2-7f9ee31fc168n%40googlegroups.com >> <https://groups.google.com/d/msgid/dealii/9bbc2b6b-a3de-49d5-aab2-7f9ee31fc168n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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 a topic in the > Google Groups "deal.II User Group" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/dealii/lX-r3fbwUd8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/CAOYDWbJ0Dv44iiiZ1Yy857P876SDiR2KMdgw3j1b93v8Ea9YQg%40mail.gmail.com > <https://groups.google.com/d/msgid/dealii/CAOYDWbJ0Dv44iiiZ1Yy857P876SDiR2KMdgw3j1b93v8Ea9YQg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 on the web visit https://groups.google.com/d/msgid/dealii/CAFigMZ_sF5A7msQSmz5ZpXBm0ykpdjK7%3D_5vDmpAjwfBDRX9_w%40mail.gmail.com.