(Fixed) Another build failure in Points (missing Boost header)

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
ArunGiridhar
Posts: 38
Joined: Sun Mar 29, 2015 10:02 pm

(Fixed) Another build failure in Points (missing Boost header)

Post by ArunGiridhar »

git commit 987314b9d8c944347a7213999fcdadafc8ecbf9c

@uwestoehr

On Manjaro:

Code: Select all

...FreeCAD/src/Mod/Points/App/PointsAlgos.cpp:1654:21: error: no member named 'math' in namespace 'boost'
        if (!boost::math::isnan(p.x) &&
             ~~~~~~~^
...FreeCAD/src/Mod/Points/App/PointsAlgos.cpp:1655:21: error: no member named 'math' in namespace 'boost'
            !boost::math::isnan(p.y) &&
             ~~~~~~~^
...FreeCAD/src/Mod/Points/App/PointsAlgos.cpp:1656:21: error: no member named 'math' in namespace 'boost'
            !boost::math::isnan(p.z))
             ~~~~~~~^
...FreeCAD/src/Mod/Points/App/PointsAlgos.cpp:1740:20: error: no member named 'math' in namespace 'boost'
        if (boost::math::isnan(data(r,0)))
            ~~~~~~~^
...FreeCAD/src/Mod/Points/App/PointsAlgos.cpp:1742:20: error: no member named 'math' in namespace 'boost'
        if (boost::math::isnan(data(r,1)))
            ~~~~~~~^
...FreeCAD/src/Mod/Points/App/PointsAlgos.cpp:1744:20: error: no member named 'math' in namespace 'boost'
        if (boost::math::isnan(data(r,2)))
            ~~~~~~~^
...FreeCAD/src/Mod/Points/App/PointsAlgos.cpp:1927:24: error: no member named 'math' in namespace 'boost'
            if (boost::math::isnan(value))
                ~~~~~~~^
1 warning and 7 errors generated.
Last edited by ArunGiridhar on Thu Dec 08, 2022 12:39 pm, edited 1 time in total.
ArunGiridhar
Posts: 38
Joined: Sun Mar 29, 2015 10:02 pm

Re: Another build failure in Points (missing Boost header)

Post by ArunGiridhar »

Now builds properly. Fixed by git commit 378184f8eab9f8ac8300d63e26dd9b7b67b69272.

Thanks Uwe!
Post Reply