You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried installing the adapter after installing Deal.II using apt on my Ubuntu 20.04 system. By default Ubuntu 20.04 gives me Deal.II 9.1.0, but the adapter requires 9.2.0 as indicated here. Since installing via apt was recommended by the documentation of the adapter this situation confused me a bit.
What I tried
cmake . gave the following error
~/dealii-adapter/linear_elasticity$ cmake .
-- Build type: Release
CMake Error at CMakeLists.txt:39 (MESSAGE):
*** Could not locate a (sufficiently recent) version of deal.II. ***
You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake
or set an environment variable "DEAL_II_DIR" that contains this path.
-- Configuring incomplete, errors occurred!
Here, I was unsure whether my deal.II installation is found or not. I finally cloned the deal.II github repository and when trying to build an example I got the following error
~/dealii/examples/step-1$ cmake .
CMake Warning at CMakeLists.txt:26 (FIND_PACKAGE):
Could not find a configuration file for package "deal.II" that is
compatible with requested version "9.3.0".
The following configuration files were considered but not accepted:
/usr/share/cmake/deal.II/deal.IIConfig.cmake, version: 9.1.1
CMake Error at CMakeLists.txt:30 (MESSAGE):
*** Could not locate a (sufficiently recent) version of deal.II. ***
You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake
or set an environment variable "DEAL_II_DIR" that contains this path.
-- Configuring incomplete, errors occurred!
From my perspective this error message was very useful, since it told me that:
my deal.II is found
my deal.II version is too old
My Suggestion
Is it possible to add a similar error in the CMakeLists.txt of the adapter?
The text was updated successfully, but these errors were encountered:
I tried installing the adapter after installing Deal.II using
apt
on my Ubuntu 20.04 system. By default Ubuntu 20.04 gives me Deal.II 9.1.0, but the adapter requires 9.2.0 as indicated here. Since installing viaapt
was recommended by the documentation of the adapter this situation confused me a bit.What I tried
cmake .
gave the following errorHere, I was unsure whether my deal.II installation is found or not. I finally cloned the deal.II github repository and when trying to build an example I got the following error
From my perspective this error message was very useful, since it told me that:
My Suggestion
Is it possible to add a similar error in the
CMakeLists.txt
of the adapter?The text was updated successfully, but these errors were encountered: