We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp: In member function ‘void apl::scaling::{anonymous}::ScalingCalculator::minimumFixedHeight(double, double, double, Size&, double&)’: /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:76:33: error: ‘numeric_limits’ is not a member of ‘std’ 76 | double localCost = std::numeric_limits::max(); | ^~~~~~~~~~~~~~ /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:76:48: error: expected primary-expression before ‘double’ 76 | double localCost = std::numeric_limits::max(); | ^~~~~~ /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp: In member function ‘void apl::scaling::{anonymous}::ScalingCalculator::minimumFixedWidth(double, double, double, Size&, double&)’: /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:117:33: error: ‘numeric_limits’ is not a member of ‘std’ 117 | double localCost = std::numeric_limits::max(); | ^~~~~~~~~~~~~~ /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:117:48: error: expected primary-expression before ‘double’ 117 | double localCost = std::numeric_limits::max(); | ^~~~~~ /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp: In function ‘std::tuple<double, apl::Metrics, apl::ViewportSpecification> apl::scaling::calculate(const apl::Metrics&, const apl::ScalingOptions&)’: /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:190:24: error: ‘numeric_limits’ is not a member of ‘std’ 190 | double cost = std::numeric_limits::max(); | ^~~~~~~~~~~~~~ /root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:190:39: error: expected primary-expression before ‘double’ 190 | double cost = std::numeric_limits::max(); | ^~~~~~ make[2]: *** [aplcore/CMakeFiles/apl.dir/build.make:2638: aplcore/CMakeFiles/apl.dir/src/scaling/scalingcalculator.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:716: aplcore/CMakeFiles/apl.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 root@lola-System-Product-Name:~/sdk-folder/src/apl-core-library/build#
before perform this compiling add in scalingcalculator.h
#include <stddef.h> #include <limits.h>
Please help me to resolve that issue.
The text was updated successfully, but these errors were encountered:
Same issue Instead of #include <limits.h> use #include<limits>
#include <limits.h>
#include<limits>
Sorry, something went wrong.
No branches or pull requests
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp: In member function ‘void apl::scaling::{anonymous}::ScalingCalculator::minimumFixedHeight(double, double, double, Size&, double&)’:
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:76:33: error: ‘numeric_limits’ is not a member of ‘std’
76 | double localCost = std::numeric_limits::max();
| ^~~~~~~~~~~~~~
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:76:48: error: expected primary-expression before ‘double’
76 | double localCost = std::numeric_limits::max();
| ^~~~~~
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp: In member function ‘void apl::scaling::{anonymous}::ScalingCalculator::minimumFixedWidth(double, double, double, Size&, double&)’:
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:117:33: error: ‘numeric_limits’ is not a member of ‘std’
117 | double localCost = std::numeric_limits::max();
| ^~~~~~~~~~~~~~
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:117:48: error: expected primary-expression before ‘double’
117 | double localCost = std::numeric_limits::max();
| ^~~~~~
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp: In function ‘std::tuple<double, apl::Metrics, apl::ViewportSpecification> apl::scaling::calculate(const apl::Metrics&, const apl::ScalingOptions&)’:
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:190:24: error: ‘numeric_limits’ is not a member of ‘std’
190 | double cost = std::numeric_limits::max();
| ^~~~~~~~~~~~~~
/root/sdk-folder/src/apl-core-library/aplcore/src/scaling/scalingcalculator.cpp:190:39: error: expected primary-expression before ‘double’
190 | double cost = std::numeric_limits::max();
| ^~~~~~
make[2]: *** [aplcore/CMakeFiles/apl.dir/build.make:2638: aplcore/CMakeFiles/apl.dir/src/scaling/scalingcalculator.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:716: aplcore/CMakeFiles/apl.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
root@lola-System-Product-Name:~/sdk-folder/src/apl-core-library/build#
before perform this compiling add in scalingcalculator.h
#include <stddef.h>
#include <limits.h>
Please help me to resolve that issue.
The text was updated successfully, but these errors were encountered: