Michal,

Are you using the latest version of deal.II? This problem should have been 
fixed. 

Best,

Bruno

On Monday, September 17, 2018 at 6:48:43 AM UTC-4, Michał Wichrowski wrote:
>
> Dear all,
> I had a problem while compiling deal.II source code from the git 
> repository:
>
> [ 72%] Building CXX object 
> source/algorithms/CMakeFiles/obj_algorithms_debug.dir/operator.cc.o
> In file included from 
> /home/mwichro/lib/dealii/include/deal.II/algorithms/any_data.h:21:0,
>                  from 
> /home/mwichro/lib/dealii/include/deal.II/algorithms/newton.h:20,
>                  from 
> /home/mwichro/lib/dealii/include/deal.II/algorithms/newton.templates.h:20,
>                  from 
> /home/mwichro/lib/dealii/source/algorithms/operator.cc:17:
> /home/mwichro/lib/dealii/include/deal.II/base/utilities.h: In function 
> ‘constexpr unsigned int dealii::Utilities::pow(unsigned int, int)’:
> /home/mwichro/lib/dealii/include/deal.II/base/exceptions.h:1242:72: error: 
> call to non-constexpr function ‘void 
> dealii::deal_II_exceptions::internals::issue_error_noreturn(dealii::deal_II_exceptions::internals::ExceptionHandling,
>  
> const char*, int, const char*, const char*, const char*, ExceptionType) 
> [with ExceptionType = dealii::StandardExceptions::ExcMessage]’
>            ::dealii::deal_II_exceptions::internals::issue_error_noreturn( \
>                                                                         ^
> /home/mwichro/lib/dealii/include/deal.II/base/utilities.h:357:5: note: in 
> expansion of macro ‘Assert’
>      Assert(iexp >= 0, ExcMessage("The exponent must not be negative!"));
>      ^
> source/algorithms/CMakeFiles/obj_algorithms_debug.dir/build.make:54: 
> recipe for target 
> 'source/algorithms/CMakeFiles/obj_algorithms_debug.dir/operator.cc.o' failed
> make[2]: *** 
> [source/algorithms/CMakeFiles/obj_algorithms_debug.dir/operator.cc.o] Error 
> 1
> CMakeFiles/Makefile2:4090: recipe for target 
> 'source/algorithms/CMakeFiles/obj_algorithms_debug.dir/all' failed
> make[1]: *** [source/algorithms/CMakeFiles/obj_algorithms_debug.dir/all] 
> Error 2
> Makefile:116: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
>
> Michał
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to