Skip to content

Error compilaton  #189

Open
Open
@pit65

Description

Slackware 15

error compilation scantailor 1.0.16.

[ 41%] Building CXX object foundation/CMakeFiles/foundation.dir/PropertyFactory.cpp.o
[ 42%] Building CXX object foundation/CMakeFiles/foundation.dir/PropertySet.cpp.o
[ 42%] Building CXX object foundation/CMakeFiles/foundation.dir/PerformanceTimer.cpp.o
[ 42%] Building CXX object foundation/CMakeFiles/foundation.dir/QtSignalForwarder.cpp.o
[ 42%] Building CXX object foundation/CMakeFiles/foundation.dir/GridLineTraverser.cpp.o
[ 42%] Linking CXX static library libfoundation.a
[ 42%] Built target foundation
[ 42%] Building CXX object math/CMakeFiles/math.dir/LinearSolver.cpp.o
[ 42%] Building CXX object math/CMakeFiles/math.dir/SidesOfLine.cpp.o
[ 42%] Building CXX object math/CMakeFiles/math.dir/ToLineProjector.cpp.o
/tmp/SBo/scantailor-advanced-1.0.16/math/ToLineProjector.cpp: In constructor ‘ToLineProjector::ToLineProjector(const QLineF&)’:
/tmp/SBo/scantailor-advanced-1.0.16/math/ToLineProjector.cpp:27:23: error: ‘numeric_limits’ was not declared in this scope
   27 |   if (std::abs(AtA) > numeric_limits<double>::epsilon()) {
      |                       ^~~~~~~~~~~~~~
/tmp/SBo/scantailor-advanced-1.0.16/math/ToLineProjector.cpp:27:38: error: expected primary-expression before ‘double’
   27 |   if (std::abs(AtA) > numeric_limits<double>::epsilon()) {
      |                                      ^~~~~~
/tmp/SBo/scantailor-advanced-1.0.16/math/ToLineProjector.cpp:27:38: error: expected ‘)’ before ‘double’
   27 |   if (std::abs(AtA) > numeric_limits<double>::epsilon()) {
      |      ~                               ^~~~~~
      |                                      )
make[2]: *** [math/CMakeFiles/math.dir/build.make:104: math/CMakeFiles/math.dir/ToLineProjector.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Makefile2:715: math/CMakeFiles/math.dir/all] Błąd 2
make: *** [Makefile:166: all] Błąd 2

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions