Hello,
when compiling a file that uses float_distance from
#include
On 13/09/2016 10:40, Florian Lindner wrote:
Hello,
when compiling a file that uses float_distance from #include
I get a linking error:
undefined reference to `boost::math::tools::promote_args
::type boost::math::float_distance (double const&, double const&)' I try to add all boost_math libs I could find, but none helped:
-lboost_system -lboost_filesystem -lboost_math_tr1 -lboost_math_c99 -lboost_math_c99
Since float_distance is not a C99 / TR1 function, shouldn't boost.math work as header only?
What is the problem here?
As per http://www.boost.org/doc/libs/1_61_0/libs/math/doc/html/math_toolkit/next_fl... You need to includeboost/math/special_functions/next.hpp HTH, John.
Thanks, Florian
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Florian Lindner
-
John Maddock