Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ****************************************
- *************** TERRAGEAR **************
- ****************************************
- https://git.code.sf.net/p/flightgear/terragear exists already
- La branche courante scenery/ws2.0 est à jour.
- Déjà sur 'scenery/ws2.0'
- Votre branche est à jour avec 'origin/scenery/ws2.0'.
- -- The C compiler identification is GNU 5.4.0
- -- The CXX compiler identification is GNU 5.4.0
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Found CGAL 4.7
- -- Build type: Release
- -- USING CXXFLAGS = '-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -frounding-math -O3 -DNDEBUG'
- -- USING EXEFLAGS = ' -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed '
- -- Targetting Unix Makefiles
- -- Using /usr/bin/c++ compiler.
- -- Requested component: Core
- -- Requested component: MPFR
- -- Requested component: GMP
- -- Looking for pthread.h
- -- Looking for pthread.h - found
- -- Looking for pthread_create
- -- Looking for pthread_create - not found
- -- Looking for pthread_create in pthreads
- -- Looking for pthread_create in pthreads - not found
- -- Looking for pthread_create in pthread
- -- Looking for pthread_create in pthread - found
- -- Found Threads: TRUE
- -- Boost version: 1.58.0
- -- Found the following Boost libraries:
- -- system
- -- thread
- -- chrono
- -- date_time
- -- atomic
- -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
- -- SimGear include directory: /home/tt/ab-tg/install/simgear/include
- -- found SimGear version: 2018.3.0 (needed 3.1.0 or higher)
- -- looking for static SimGear libraries
- -- Looking for clock_gettime in rt
- -- Looking for clock_gettime in rt - found
- -- found SimGear libraries
- -- Performing Test SIMGEAR_COMPILE_TEST
- -- Performing Test SIMGEAR_COMPILE_TEST - Success
- -- Found SimGear: optimized;/home/tt/ab-tg/install/simgear/lib/libSimGearScene.a;debug;/home/tt/ab-tg/install/simgear/lib/libSimGearScene.a;optimized;/home/tt/ab-tg/install/simgear/lib/libSimGearCore.a;debug;/home/tt/ab-tg/install/simgear/lib/libSimGearCore.a;optimized;/home/tt/ab-tg/install/simgear/lib/libSimGearCore.a;debug;/home/tt/ab-tg/install/simgear/lib/libSimGearCore.a (Required is at least version "3.1.0")
- -- Found GDAL: /usr/local/lib/libgdal.so (Required is at least version "2.0.0")
- -- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.6")
- -- Looking for unistd.h
- -- Looking for unistd.h - found
- -- Looking for sys/time.h
- -- Looking for sys/time.h - found
- -- Looking for windows.h
- -- Looking for windows.h - not found
- -- Looking for rint
- -- Looking for rint - not found
- -- Configuring done
- -- Generating done
- CMake Warning:
- Manually-specified variables were not used by the project:
- ENABLE_FLITE
- -- Build files have been written to: /home/tt/ab-tg/build/terragear
- Scanning dependencies of target DEM
- Scanning dependencies of target HGT
- Scanning dependencies of target Array
- [ 1%] Building CXX object src/Lib/DEM/CMakeFiles/DEM.dir/dem.cxx.o
- [ 2%] Building CXX object src/Lib/Array/CMakeFiles/Array.dir/array.cxx.o
- Scanning dependencies of target terragear
- [ 3%] Building CXX object src/Lib/HGT/CMakeFiles/HGT.dir/hgt.cxx.o
- [ 4%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/clipper.cpp.o
- In file included from /home/tt/ab-tg/terragear/src/Lib/HGT/hgt.cxx:43:0:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Lib/DEM/dem.hxx:36,
- from /home/tt/ab-tg/terragear/src/Lib/DEM/dem.cxx:33:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 5%] Building CXX object src/Lib/HGT/CMakeFiles/HGT.dir/srtmbase.cxx.o
- [ 6%] Linking CXX static library libDEM.a
- [ 6%] Built target DEM
- Scanning dependencies of target Terra
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/math/SGGeoc.hxx:21:0,
- from /home/tt/ab-tg/install/simgear/include/simgear/math/SGMath.hxx:34,
- from /home/tt/ab-tg/install/simgear/include/simgear/io/lowlevel.hxx:36,
- from /home/tt/ab-tg/terragear/src/Lib/Array/array.cxx:33:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 7%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/GreedyInsert.cc.o
- [ 8%] Linking CXX static library libArray.a
- [ 8%] Built target Array
- Scanning dependencies of target landcover
- [ 9%] Building CXX object src/Lib/landcover/CMakeFiles/landcover.dir/landcover.cxx.o
- [ 10%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Heap.cc.o
- [ 11%] Linking CXX static library liblandcover.a
- [ 11%] Built target landcover
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/math/SGGeoc.hxx:21:0,
- from /home/tt/ab-tg/install/simgear/include/simgear/math/SGMath.hxx:34,
- from /home/tt/ab-tg/install/simgear/include/simgear/io/lowlevel.hxx:36,
- from /home/tt/ab-tg/terragear/src/Lib/HGT/srtmbase.cxx:33:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- Scanning dependencies of target fillvoids
- [ 12%] Building CXX object src/Prep/DemChop/CMakeFiles/fillvoids.dir/fillvoids.cxx.o
- [ 13%] Linking CXX static library libHGT.a
- [ 13%] Built target HGT
- Scanning dependencies of target demchop
- [ 14%] Building CXX object src/Prep/DemChop/CMakeFiles/demchop.dir/demchop.cxx.o
- [ 15%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Map.cc.o
- [ 16%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Mask.cc.o
- [ 17%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Quadedge.cc.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Prep/DemChop/fillvoids.cxx:32:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 18%] Linking CXX executable fillvoids
- [ 18%] Built target fillvoids
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Prep/DemChop/demchop.cxx:35:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- Scanning dependencies of target hgtchop
- [ 20%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Subdivision.cc.o
- [ 21%] Building CXX object src/Prep/DemChop/CMakeFiles/hgtchop.dir/hgtchop.cxx.o
- [ 22%] Linking CXX executable demchop
- [ 22%] Built target demchop
- Scanning dependencies of target testassem
- [ 23%] Building CXX object src/Prep/DemChop/CMakeFiles/testassem.dir/testassem.cxx.o
- [ 24%] Building C object src/Prep/Terra/CMakeFiles/Terra.dir/getopt.c.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Prep/DemChop/hgtchop.cxx:33:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 25%] Linking CXX static library libTerra.a
- [ 26%] Linking CXX executable hgtchop
- [ 26%] Built target Terra
- Scanning dependencies of target test_array
- [ 27%] Building CXX object src/Lib/Array/CMakeFiles/test_array.dir/testarray.cxx.o
- [ 27%] Built target hgtchop
- Scanning dependencies of target test_landcover
- [ 28%] Building CXX object src/Lib/landcover/CMakeFiles/test_landcover.dir/test-landcover.cxx.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Prep/DemChop/testassem.cxx:33:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 29%] Linking CXX executable testassem
- [ 30%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_accumulator.cxx.o
- [ 30%] Built target testassem
- Scanning dependencies of target srtmchop
- [ 31%] Building CXX object src/Prep/DemChop/CMakeFiles/srtmchop.dir/srtmchop.cxx.o
- [ 32%] Linking CXX executable test_landcover
- [ 32%] Built target test_landcover
- Scanning dependencies of target terra_bin
- [ 33%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/cmdline.cc.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Lib/Array/testarray.cxx:8:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 34%] Linking CXX executable test_array
- [ 35%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/greedy.cc.o
- [ 35%] Built target test_array
- Scanning dependencies of target terrafit
- [ 36%] Building CXX object src/Prep/TerraFit/CMakeFiles/terrafit.dir/terrafit.cc.o
- [ 37%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/output.cc.o
- [ 38%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/terra.cc.o
- [ 40%] Linking CXX executable terra_bin
- [ 40%] Built target terra_bin
- [ 41%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_chopper.cxx.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Prep/DemChop/srtmchop.cxx:40:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 42%] Linking CXX executable srtmchop
- [ 42%] Built target srtmchop
- [ 43%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_contour.cxx.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Prep/TerraFit/terrafit.cc:49:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 44%] Linking CXX executable terrafit
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_polygon.hxx:60,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_accumulator.hxx:4,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_accumulator.cxx:8:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 44%] Built target terrafit
- [ 45%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_misc.cxx.o
- [ 46%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_nodes.cxx.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/math/SGMath.hxx:35:0,
- from /home/tt/ab-tg/install/simgear/include/simgear/math/sg_geodesy.hxx:4,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_contour.cxx:1:
- /home/tt/ab-tg/install/simgear/include/simgear/math/SGGeod.hxx: In function ‘void AddIntermediateNodes(const SGGeod&, const SGGeod&, bool, std::vector<TGNode*>&, tgContour&, double, double)’:
- /home/tt/ab-tg/install/simgear/include/simgear/math/SGGeod.hxx:326:25: warning: ‘new_pt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- _elevation = elevation;
- ^
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_contour.cxx:728:13: note: ‘new_pt’ was declared here
- TGNode* new_pt;
- ^
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/math/SGGeoc.hxx:21:0,
- from /home/tt/ab-tg/install/simgear/include/simgear/math/SGMath.hxx:34,
- from /home/tt/ab-tg/install/simgear/include/simgear/io/lowlevel.hxx:36,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_chopper.cxx:7:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 47%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_polygon.cxx.o
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/math/SGGeoc.hxx:21:0,
- from /home/tt/ab-tg/install/simgear/include/simgear/math/SGMath.hxx:34,
- from /home/tt/ab-tg/install/simgear/include/simgear/math/sg_geodesy.hxx:4,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_contour.cxx:1:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h: At global scope:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- [ 48%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_polygon_clean.cxx.o
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx: In function ‘SGGeod OffsetPointMiddle(const SGGeod&, const SGGeod&, const SGGeod&, double, int&)’:
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:177:74: error: ‘isnan’ was not declared in this scope
- if ( (abs(theta - 180.0) < 0.1) || (abs(theta) < 0.1) || (isnan(theta)) ) {
- ^
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:177:74: note: suggested alternative:
- In file included from /usr/include/c++/5/random:38:0,
- from /usr/include/c++/5/bits/stl_algo.h:66,
- from /usr/include/c++/5/algorithm:62,
- from /usr/include/CGAL/config.h:323,
- from /usr/include/CGAL/basic.h:29,
- from /usr/include/CGAL/Cartesian/Cartesian_base.h:28,
- from /usr/include/CGAL/Simple_cartesian.h:28,
- from /usr/include/CGAL/Exact_predicates_exact_constructions_kernel.h:28,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:3:
- /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
- isnan(_Tp __x)
- ^
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx: In function ‘void OffsetPointsMiddle(const SGGeod&, const SGGeod&, const SGGeod&, double, double, int&, SGGeod&, SGGeod&)’:
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:278:74: error: ‘isnan’ was not declared in this scope
- if ( (abs(theta - 180.0) < 0.1) || (abs(theta) < 0.1) || (isnan(theta)) ) {
- ^
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:278:74: note: suggested alternative:
- In file included from /usr/include/c++/5/random:38:0,
- from /usr/include/c++/5/bits/stl_algo.h:66,
- from /usr/include/c++/5/algorithm:62,
- from /usr/include/CGAL/config.h:323,
- from /usr/include/CGAL/basic.h:29,
- from /usr/include/CGAL/Cartesian/Cartesian_base.h:28,
- from /usr/include/CGAL/Simple_cartesian.h:28,
- from /usr/include/CGAL/Exact_predicates_exact_constructions_kernel.h:28,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:3:
- /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
- isnan(_Tp __x)
- ^
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_polygon.hxx:60,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:8:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h: At global scope:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- src/Lib/terragear/CMakeFiles/terragear.dir/build.make:158 : la recette pour la cible « src/Lib/terragear/CMakeFiles/terragear.dir/tg_misc.cxx.o » a échouée
- make[2]: *** [src/Lib/terragear/CMakeFiles/terragear.dir/tg_misc.cxx.o] Erreur 1
- make[2]: *** Attente des tâches non terminées....
- In file included from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_polygon.cxx:25:0:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_nodes.hxx:19,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_nodes.cxx:6:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_polygon.hxx:60,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_polygon_clean.cxx:3:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- CMakeFiles/Makefile2:976 : la recette pour la cible « src/Lib/terragear/CMakeFiles/terragear.dir/all » a échouée
- make[1]: *** [src/Lib/terragear/CMakeFiles/terragear.dir/all] Erreur 2
- Makefile:149 : la recette pour la cible « all » a échouée
- make: *** [all] Erreur 2
- [ 1%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_misc.cxx.o
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx: In function ‘SGGeod OffsetPointMiddle(const SGGeod&, const SGGeod&, const SGGeod&, double, int&)’:
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:177:74: error: ‘isnan’ was not declared in this scope
- if ( (abs(theta - 180.0) < 0.1) || (abs(theta) < 0.1) || (isnan(theta)) ) {
- ^
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:177:74: note: suggested alternative:
- In file included from /usr/include/c++/5/random:38:0,
- from /usr/include/c++/5/bits/stl_algo.h:66,
- from /usr/include/c++/5/algorithm:62,
- from /usr/include/CGAL/config.h:323,
- from /usr/include/CGAL/basic.h:29,
- from /usr/include/CGAL/Cartesian/Cartesian_base.h:28,
- from /usr/include/CGAL/Simple_cartesian.h:28,
- from /usr/include/CGAL/Exact_predicates_exact_constructions_kernel.h:28,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:3:
- /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
- isnan(_Tp __x)
- ^
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx: In function ‘void OffsetPointsMiddle(const SGGeod&, const SGGeod&, const SGGeod&, double, double, int&, SGGeod&, SGGeod&)’:
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:278:74: error: ‘isnan’ was not declared in this scope
- if ( (abs(theta - 180.0) < 0.1) || (abs(theta) < 0.1) || (isnan(theta)) ) {
- ^
- /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:278:74: note: suggested alternative:
- In file included from /usr/include/c++/5/random:38:0,
- from /usr/include/c++/5/bits/stl_algo.h:66,
- from /usr/include/c++/5/algorithm:62,
- from /usr/include/CGAL/config.h:323,
- from /usr/include/CGAL/basic.h:29,
- from /usr/include/CGAL/Cartesian/Cartesian_base.h:28,
- from /usr/include/CGAL/Simple_cartesian.h:28,
- from /usr/include/CGAL/Exact_predicates_exact_constructions_kernel.h:28,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:3:
- /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
- isnan(_Tp __x)
- ^
- In file included from /home/tt/ab-tg/install/simgear/include/simgear/bucket/newbucket.hxx:38:0,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_polygon.hxx:60,
- from /home/tt/ab-tg/terragear/src/Lib/terragear/tg_misc.cxx:8:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h: At global scope:
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
- const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
- ^
- /home/tt/ab-tg/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
- const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
- ^
- src/Lib/terragear/CMakeFiles/terragear.dir/build.make:158 : la recette pour la cible « src/Lib/terragear/CMakeFiles/terragear.dir/tg_misc.cxx.o » a échouée
- make[2]: *** [src/Lib/terragear/CMakeFiles/terragear.dir/tg_misc.cxx.o] Erreur 1
- CMakeFiles/Makefile2:976 : la recette pour la cible « src/Lib/terragear/CMakeFiles/terragear.dir/all » a échouée
- make[1]: *** [src/Lib/terragear/CMakeFiles/terragear.dir/all] Erreur 2
- Makefile:149 : la recette pour la cible « all » a échouée
- make: *** [all] Erreur 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement