I am trying to compile some code on Jetson AGX Orin DevKit both directly and via docker image (nvcr.io/nvidia/deepstream:7.0-samples-multiarch). However, I met an error with libboost_1.74 as below:

```
/usr/include/boost/geometry/geometries/point_xy.hpp: In member function ‘void boost::geometry::model::d2::point_xy<CoordinateType, CoordinateSystem>::x(const CoordinateType&)’:
/usr/include/boost/geometry/geometries/point_xy.hpp:74:27: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Key, class _Compare, class _Alloc> class std::set’
74 | { this->template set<0>(v); }
| ^
/usr/include/boost/geometry/geometries/point_xy.hpp:74:27: note: expected a type, got ‘0’
/usr/include/boost/geometry/geometries/point_xy.hpp:74:27: error: template argument 2 is invalid
/usr/include/boost/geometry/geometries/point_xy.hpp:74:27: error: template argument 3 is invalid
/usr/include/boost/geometry/geometries/point_xy.hpp: In member function ‘void boost::geometry::model::d2::point_xy<CoordinateType, CoordinateSystem>::y(const CoordinateType&)’:
/usr/include/boost/geometry/geometries/point_xy.hpp:78:27: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Key, class _Compare, class _Alloc> class std::set’
78 | { this->template set<1>(v); }
| ^
/usr/include/boost/geometry/geometries/point_xy.hpp:78:27: note: expected a type, got ‘1’
/usr/include/boost/geometry/geometries/point_xy.hpp:78:27: error: template argument 2 is invalid
/usr/include/boost/geometry/geometries/point_xy.hpp:78:27: error: template argument 3 is invalid
In file included from /usr/include/boost/math/tools/cxx03_warn.hpp:9,
from /usr/include/boost/math/constants/constants.hpp:11,
from /usr/include/boost/geometry/util/math.hpp:29,
from /usr/include/boost/geometry/core/radian_access.hpp:33,
from /usr/include/boost/geometry/geometry.hpp:51,
from /usr/include/boost/geometry.hpp:17,
```

As my investigation, it is an issue of GCC 11.4 . I am testing by upgrading GCC/G++ to version of 12.x or later (It is still fail with GCC 12.3 and not supported GCC 13.2). Can anyone give some other suggestions for fixing this problem?