Issues about "could not locate a (sufficiently recent) version of deal.ii"

54 views
Skip to first unread message

Zhengliu Zhou

unread,
Jul 3, 2023, 11:15:47 PM7/3/23
to deal.II User Group
Hi folks,
        I just finished installing deal.ii on my laptop and encountered an error somehow unexpectedly when running the tutorial program step-1, as shown in the first attachment. I could try to set the version back to 9.1.1, but then there would be some subsequent errors and I don't think it's the current version's problem. I think I have installed everything, as shown in the second attachment. Any ideas? Thank you!

image.png
image.png

Wolfgang Bangerth

unread,
Jul 3, 2023, 11:32:52 PM7/3/23
to dea...@googlegroups.com
On 7/3/23 21:15, Zhengliu Zhou wrote:
> I just finished installing deal.ii on my laptop and encountered an error
> somehow unexpectedly when running the tutorial program step-1, as shown in the
> first attachment.

There are two mistakes:
* The correct spelling is DEAL_II_DIR in the cmake invocation
* cmake wants to be called as
cmake <defines with -D> <directory to source files>
You only provide the defines, but not a path to source. For the
examples, the path to the source files is often the current directory,
i.e., "."

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/


Zhengliu Zhou

unread,
Jul 3, 2023, 11:52:43 PM7/3/23
to dea...@googlegroups.com
Prof. Bangerth,
       Thank you for your prompt reply. I fixed the two errors you mentioned, but the error remained. Could it be caused by something else? Please advise. Thank you!
image.png

--
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/RsZOL7OUNvU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/c6bb8bdd-fc53-ae1f-ad71-98c90dd3a119%40colostate.edu.


--
Regards,
Zhengliu

Wolfgang Bangerth

unread,
Jul 4, 2023, 12:22:50 AM7/4/23
to dea...@googlegroups.com
On 7/3/23 21:52, Zhengliu Zhou wrote:
>        Thank you for your prompt reply. I fixed the two errors you mentioned,
> but the error remained. Could it be caused by something else?

Zhengliu,
what you are asked to provide is a path to a deal.II installation, not
"/path/to/deal.II". You need to replace this string by an actual directory name.

Best
WB

Zhengliu Zhou

unread,
Jul 4, 2023, 2:10:28 AM7/4/23
to dea...@googlegroups.com
Prof. Bangerth,
      I am sorry to bother you again with such a trivial issue. Yet I still cannot resolve it. Below is a screenshot following your suggestion, but the same error remains. I suppose I didn't install something correctly? Thank you!
image.png

--
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/RsZOL7OUNvU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.


--
Regards,
Zhengliu

陈敏

unread,
Jul 5, 2023, 12:27:25 AM7/5/23
to dea...@googlegroups.com
Dear Zhengliu Zhou,

If you don't understand how to use cmake to install the dealii, changing the installing approach to candi(https://github.com/dealii/candi) or spack(https://github.com/dealii/dealii/wiki/deal.II-in-Spack) could be better.

Best,
Chen

Zhengliu Zhou <zhou...@gmail.com> 于2023年7月4日周二 14:10写道:
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/CAGTD2CQt1rjKFKwxq1p5zY%3DNX%3DNS2rDECBj58rOU4rdiEtr-nA%40mail.gmail.com.

Zhengliu Zhou

unread,
Jul 16, 2023, 11:54:39 PM7/16/23
to dea...@googlegroups.com
Hi folks,

       I followed the steps in Prof. Bangerth's lecture 8.01 about Direct project setup via CMake, but seemingly Eclipse still reports all the errors as shown below. Does anyone know why this is happening? Thank you!

image.png
Reply all
Reply to author
Forward
0 new messages