Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing Plasticity after deal.ii #45

Open
kaushikrajpyla opened this issue Aug 26, 2023 · 2 comments
Open

Error while installing Plasticity after deal.ii #45

kaushikrajpyla opened this issue Aug 26, 2023 · 2 comments

Comments

@kaushikrajpyla
Copy link

kaushikrajpyla commented Aug 26, 2023

Hello, while following the installation procedure I am facing the following issue after "make" command.

/home/kaushikkinny/p4est_files/candi/plasticity/src/ellipticBVP/applyInitialConditions.cc:10:29: error: ‘ZeroFunction’ was not declared in this scope; did you mean ‘dealii::Functions::ZeroFunction’?
10 | ZeroFunction(dim),
| ^~~~~~~~~~~~
| dealii::Functions::ZeroFunction
In file included from /home/kaushikkinny/p4est_files/candi/plasticity/src/ellipticBVP/../../include/dealIIheaders.h:3,
from /home/kaushikkinny/p4est_files/candi/plasticity/src/ellipticBVP/../../include/ellipticBVP.h:6,
from /home/kaushikkinny/p4est_files/candi/plasticity/src/ellipticBVP/applyInitialConditions.cc:2:
/home/kaushikkinny/dealii-candi/deal.II-v9.5.1/include/deal.II/base/function.h:510:9: note: ‘dealii::Functions::ZeroFunction’ declared here
510 | class ZeroFunction : public ConstantFunction<dim, RangeNumberType>
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/prisms_cp.dir/build.make:90: CMakeFiles/prisms_cp.dir/src/ellipticBVP/applyInitialConditions.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:166: CMakeFiles/prisms_cp.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

------Adding to this in the previous step cmake:
CMake Deprecation Warning at CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
I got this warning does this has anything to do with that..

Please suggest a solution

@vanthaitran
Copy link

Hi,
In candi.cfg, please change dealii verrsion to 9.3.3
DEAL_II_VERSION=v9.3.3

@Ttw0626
Copy link

Ttw0626 commented Nov 27, 2023

use Dealii v9.3.3 as vanthaitran said,

if the boost cannot work in your situation after swithing to 9.3.3, you can also use the boost within candi.

best regards,
tianwen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants