I'm trying to compile Workbench v1.5.0 as a dependency for a colleague (with issues thus far) and came across an error that numeric_limits is not part of std. - This is using GCC 14.1.0 on an openSUSE distribution.
-> The solution was to add #include <limits> to the relevant header files.
These are:
- workbench-1.5.0/src/Charting/ChartTwoCartesianCustomSubdivisions.h
- workbench-1.5.0/src/Brain/SelectionItemChartTwoLineLayerVerticalNearest.h
- workbench-1.5.0/src/Brain/ChartTwoOverlay.h
- workbench-1.5.0/src/Charting/EventChartTwoCartesianOrientedAxesYoking.h
(I'm compiling off a release version without a git history... - Also, I have no way to test the result as I am not the end user, plus I'm running into other compile issues, but that is a different topic.)
I'm trying to compile Workbench v1.5.0 as a dependency for a colleague (with issues thus far) and came across an error that numeric_limits is not part of std. - This is using GCC 14.1.0 on an openSUSE distribution.
-> The solution was to add
#include <limits>to the relevant header files.These are:
(I'm compiling off a release version without a git history... - Also, I have no way to test the result as I am not the end user, plus I'm running into other compile issues, but that is a different topic.)