On 3/4/22 16:51, Stephanie Sparks wrote:
I did try to specify C99 as you suggested
OK, good news that that worked at least.
but I get a new error now:
/home/saspark2/build2//tmp/unpack/p4est-2.3.2/sc/src/sc_io.c(581): warning
#266: function "fileno" declared implicitly
retval = fsync (fileno (file));
^
/home/saspark2/build2//tmp/unpack/p4est-2.3.2/sc/src/sc_random.c(153): error:
identifier "M_PI" is undefined
t = tan (M_PI * sc_rand (state));
^
I'm afraid that you might have to edit these source files yourself. We're not
the authors of p4est, so there is nothing I can fix myself, but I did open
github issues for everything:
https://github.com/cburstedde/libsc/issues/66
https://github.com/cburstedde/libsc/issues/65
https://github.com/cburstedde/p4est/issues/133
I *think* that it should work if you added the #include directives mentioned
in these issues to the two libsc files. This may or may not be enough to get
things compiled...
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 on the web visit
https://groups.google.com/d/msgid/dealii/962e1faf-2ce7-aa2f-1d08-d8cb0ce3f403%40colostate.edu.