[Slackbuilds-users] enblend-enfuse doesn't compile in current
Luc Van Rompaey
luc.vanrompaey at gmail.com
Sat Jun 6 16:19:22 UTC 2020
Op za 6 jun. 2020 17:27 schreef Giorgio Peron <giorgio.peron at gmail.com>:
> enblend-enfuse doesn't compile in current anymore
>
> g++ -DHAVE_CONFIG_H -I. -I.. -DENBLEND_SOURCE -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -I../src/dynamic_loader -I../src/layer_selection
> -pthread -I/usr/include/OpenEXR -O2 -fPIC -O2 -DNDEBUG -MT
> enblend-minimizer.o -MD -MP -MF .deps/enblend-minimizer.Tpo -c -o
> enblend-minimizer.o `test -f 'minimizer.cc' || echo './'`minimizer.cc
> minimizer.cc: In constructor ‘Minimizer::Minimizer(size_t)’:
> minimizer.cc:29:53: error: ‘numeric_limits’ is not a member of ‘std’
> 29 | f_goal_(boost::none),
> absolute_error_(sqrt(std::numeric_limits<double>::epsilon()))
> | ^~~~~~~~~~~~~~
>
I'm no C++ wizard, but I believe you need an
#include <limits>
here.
> minimizer.cc:29:68: error: expected primary-expression before ‘double’
> 29 | f_goal_(boost::none),
> absolute_error_(sqrt(std::numeric_limits<double>::epsilon()))
> |
> ^~~~~~
> minimizer.cc: In member function ‘Minimizer*
> Minimizer::set_absolute_error(double)’:
> minimizer.cc:93:65: error: ‘numeric_limits’ is not a member of ‘std’
> 93 | absolute_error_ = std::max(an_absolute_error,
> sqrt(std::numeric_limits<double>::epsilon()));
> |
> ^~~~~~~~~~~~~~
> minimizer.cc:93:80: error: expected primary-expression before ‘double’
> 93 | absolute_error_ = std::max(an_absolute_error,
> sqrt(std::numeric_limits<double>::epsilon()));
>
> |
> ^~~~~~
> minimizer.cc: In member function ‘virtual double
> Minimizer::absolute_error() const’:
> minimizer.cc:128:59: error: ‘numeric_limits’ is not a member of ‘std’
> 128 | return absolute_error_ ? *absolute_error_ :
> sqrt(std::numeric_limits<double>::epsilon());
> |
> ^~~~~~~~~~~~~~
> minimizer.cc:128:74: error: expected primary-expression before ‘double’
> 128 | return absolute_error_ ? *absolute_error_ :
> sqrt(std::numeric_limits<double>::epsilon());
>
> |
> ^~~~~~
> minimizer.cc: In constructor
> ‘MinimizerMultiDimensionNoDerivative::MinimizerMultiDimensionNoDerivative(const
> gsl_multimin_function&, const array_type&, const array_type&)’:
> minimizer.cc:362:31: error: ‘numeric_limits’ is not a member of ‘std’
> 362 | characteristic_size_(std::numeric_limits<double>::max())
> | ^~~~~~~~~~~~~~
> minimizer.cc:362:46: error: expected primary-expression before ‘double’
> 362 | characteristic_size_(std::numeric_limits<double>::max())
> | ^~~~~~
> minimizer.cc: In constructor
> ‘MinimizerMultiDimensionNoDerivative::MinimizerMultiDimensionNoDerivative(const
> gsl_multimin_function&, const array_type&)’:
> minimizer.cc:382:31: error: ‘numeric_limits’ is not a member of ‘std’
> 382 | characteristic_size_(std::numeric_limits<double>::max())
> | ^~~~~~~~~~~~~~
> minimizer.cc:382:46: error: expected primary-expression before ‘double’
> 382 | characteristic_size_(std::numeric_limits<double>::max())
> | ^~~~~~
> make[4]: *** [Makefile:823: enblend-minimizer.o] Error 1
> make[4]: Leaving directory '/tmp/SBo/enblend-enfuse-4.2/src'
> make[3]: *** [Makefile:1096: all-recursive] Error 1
> make[3]: Leaving directory '/tmp/SBo/enblend-enfuse-4.2/src'
> make[2]: *** [Makefile:520: all] Error 2
> make[2]: Leaving directory '/tmp/SBo/enblend-enfuse-4.2/src'
> make[1]: *** [Makefile:432: all-recursive] Error 1
> make[1]: Leaving directory '/tmp/SBo/enblend-enfuse-4.2'
> make: *** [Makefile:372: all] Error 2
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200606/da47e828/attachment.htm>
More information about the SlackBuilds-users
mailing list