ProjectPhilippines

Building new buildings, airports, mowing lawn on runways ... all that kind of things to create the world
D-ECHO
Posts: 436
Joined: Sat Jan 30, 2016 10:55 am

Re: ProjectPhilippines

Postby D-ECHO » Sat Sep 24, 2016 8:47 am

Okay, the main data is there.
Some info:
Area will be N4.5-21.5 E116.5-127
74 airports present
12 landclass types (including landmass)
90 HGT tiles
My terragear isn't working :( (build error:

Code: Select all

delta@Hashcooky:~/terragear$ git clone git://git.code.sf.net/p/flightgear/terragear/ --branch=scenery/ws2.0
Klone nach 'terragear' ...
remote: Counting objects: 14748, done.
remote: Compressing objects: 100% (3884/3884), done.
remote: Total 14748 (delta 11195), reused 13903 (delta 10574)
Empfange Objekte: 100% (14748/14748), 6.73 MiB | 660.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (11195/11195), Fertig.
Prüfe Konnektivität ... Fertig.
delta@Hashcooky:~/terragear$ cd terragear/
delta@Hashcooky:~/terragear/terragear$ cmake . -DCMAKE_PREFIX_PATH="/home/delta/terragear/
> ^C
delta@Hashcooky:~/terragear/terragear$ cmake . -DCMAKE_PREFIX_PATH="/home/delta/terragear/"
-- 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
-- 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: /usr/include
-- found SimGear version: 2016.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: /usr/lib/x86_64-linux-gnu/libSimGearCore.so (Required is at least version "3.1.0")
-- Found GDAL: /usr/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")
-- 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 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
-- Build files have been written to: /home/delta/terragear/terragear
delta@Hashcooky:~/terragear/terragear$ make install -j2
Scanning dependencies of target HGT
Scanning dependencies of target terragear
[  1%] Building CXX object src/Lib/HGT/CMakeFiles/HGT.dir/hgt.cxx.o
[  2%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/clipper.cpp.o
[  3%] Building CXX object src/Lib/HGT/CMakeFiles/HGT.dir/srtmbase.cxx.o
[  4%] Linking CXX static library libHGT.a
[  4%] Built target HGT
[  5%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_accumulator.cxx.o
Scanning dependencies of target Array
[  6%] Building CXX object src/Lib/Array/CMakeFiles/Array.dir/array.cxx.o
[  7%] Linking CXX static library libArray.a
[  7%] Built target Array
[  8%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_chopper.cxx.o
Scanning dependencies of target DEM
[  9%] Building CXX object src/Lib/DEM/CMakeFiles/DEM.dir/dem.cxx.o
[ 10%] Linking CXX static library libDEM.a
[ 10%] Built target DEM
[ 11%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_contour.cxx.o
Scanning dependencies of target hgtchop
[ 12%] Building CXX object src/Prep/DemChop/CMakeFiles/hgtchop.dir/hgtchop.cxx.o
[ 13%] Linking CXX executable hgtchop
[ 14%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_misc.cxx.o
[ 14%] Built target hgtchop
[ 15%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_nodes.cxx.o
[ 16%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_polygon.cxx.o
Scanning dependencies of target testassem
[ 17%] Building CXX object src/Prep/DemChop/CMakeFiles/testassem.dir/testassem.cxx.o
[ 18%] Linking CXX executable testassem
[ 18%] Built target testassem
Scanning dependencies of target Terra
[ 20%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/GreedyInsert.cc.o
[ 21%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Heap.cc.o
[ 22%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Map.cc.o
[ 23%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Mask.cc.o
[ 24%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_polygon_clean.cxx.o
[ 25%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Quadedge.cc.o
[ 26%] Building CXX object src/Prep/Terra/CMakeFiles/Terra.dir/Subdivision.cc.o
[ 27%] Building C object src/Prep/Terra/CMakeFiles/Terra.dir/getopt.c.o
[ 28%] Linking CXX static library libTerra.a
[ 28%] Built target Terra
Scanning dependencies of target test_array
[ 29%] Building CXX object src/Lib/Array/CMakeFiles/test_array.dir/testarray.cxx.o
[ 30%] Linking CXX executable test_array
[ 30%] Built target test_array
[ 31%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_polygon_clip.cxx.o
[ 32%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_polygon_tesselate.cxx.o
[ 33%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_rectangle.cxx.o
[ 34%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_shapefile.cxx.o
[ 35%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_surface.cxx.o
Scanning dependencies of target landcover
[ 36%] Building CXX object src/Lib/landcover/CMakeFiles/landcover.dir/landcover.cxx.o
[ 37%] Linking CXX static library liblandcover.a
[ 37%] Built target landcover
Scanning dependencies of target srtmchop
[ 38%] Building CXX object src/Prep/DemChop/CMakeFiles/srtmchop.dir/srtmchop.cxx.o
[ 40%] Linking CXX executable srtmchop
[ 40%] Built target srtmchop
Scanning dependencies of target fillvoids
[ 41%] Building CXX object src/Prep/DemChop/CMakeFiles/fillvoids.dir/fillvoids.cxx.o
[ 42%] Linking CXX executable fillvoids
[ 42%] Built target fillvoids
Scanning dependencies of target demchop
[ 43%] Building CXX object src/Prep/DemChop/CMakeFiles/demchop.dir/demchop.cxx.o
[ 44%] Linking CXX executable demchop
[ 44%] Built target demchop
Scanning dependencies of target terra_bin
[ 45%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/cmdline.cc.o
[ 46%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/greedy.cc.o
[ 47%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/output.cc.o
[ 48%] Building CXX object src/Prep/Terra/CMakeFiles/terra_bin.dir/terra.cc.o
[ 49%] Linking CXX executable terra_bin
[ 50%] Linking CXX static library libterragear.a
[ 50%] Built target terra_bin
Scanning dependencies of target terrafit
[ 51%] Building CXX object src/Prep/TerraFit/CMakeFiles/terrafit.dir/terrafit.cc.o
[ 51%] Built target terragear
Scanning dependencies of target test_landcover
[ 52%] Building CXX object src/Lib/landcover/CMakeFiles/test_landcover.dir/test-landcover.cxx.o
[ 53%] Linking CXX executable test_landcover
[ 53%] Built target test_landcover
Scanning dependencies of target genapts850
[ 54%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/airport.cxx.o
[ 55%] Linking CXX executable terrafit
[ 55%] Built target terrafit
[ 56%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/apt_math.cxx.o
[ 57%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/closedpoly.cxx.o
Scanning dependencies of target tg-construct
[ 58%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct.cxx.o
[ 60%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/debug.cxx.o
[ 61%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/elevations.cxx.o
[ 62%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/helipad.cxx.o
[ 63%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_cleanup.cxx.o
[ 64%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/lights.cxx.o
[ 65%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_clip.cxx.o
[ 66%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/linearfeature.cxx.o
[ 67%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_debug.cxx.o
[ 68%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/linked_objects.cxx.o
[ 69%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/main.cxx.o
[ 70%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_elevation.cxx.o
[ 71%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/object.cxx.o
[ 72%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_landclass.cxx.o
[ 73%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_lookup.cxx.o
[ 74%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/output.cxx.o
[ 75%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/parser.cxx.o
[ 76%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_math.cxx.o
[ 77%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_output.cxx.o
[ 78%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/runway.cxx.o
[ 80%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/rwy_simple.cxx.o
[ 81%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_poly.cxx.o
[ 82%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/rwy_gen.cxx.o
[ 83%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/scheduler.cxx.o
[ 84%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_shared.cxx.o
[ 85%] Building CXX object src/Airports/GenAirports850/CMakeFiles/genapts850.dir/taxiway.cxx.o
[ 86%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_tesselate.cxx.o
[ 87%] Linking CXX executable genapts850
[ 87%] Built target genapts850
[ 88%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tgconstruct_texture.cxx.o
[ 89%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/tglandclass.cxx.o
Scanning dependencies of target poly2ogr
[ 90%] Building CXX object src/Utils/poly2ogr/CMakeFiles/poly2ogr.dir/poly2ogr.cxx.o
In file included from /home/delta/terragear/terragear/src/Utils/poly2ogr/poly2ogr.cxx:41:0:
/home/delta/terragear/terragear/src/Utils/poly2ogr/poly2ogr.cxx: In function ‘void usage(const char*, const string&)’:
/home/delta/terragear/terragear/src/Utils/poly2ogr/poly2ogr.cxx:462:87: error: ‘class OGRSFDriver’ has no member named ‘GetDescription’
                 SG_LOG(SG_GENERAL, SG_INFO, "\t\t\t-f \"" << registrar->GetDriver(i)->GetDescription() << "\"");
                                                                                       ^
src/Utils/poly2ogr/CMakeFiles/poly2ogr.dir/build.make:62: die Regel für Ziel „src/Utils/poly2ogr/CMakeFiles/poly2ogr.dir/poly2ogr.cxx.o“ scheiterte
make[2]: *** [src/Utils/poly2ogr/CMakeFiles/poly2ogr.dir/poly2ogr.cxx.o] Fehler 1
CMakeFiles/Makefile2:1198: die Regel für Ziel „src/Utils/poly2ogr/CMakeFiles/poly2ogr.dir/all“ scheiterte
make[1]: *** [src/Utils/poly2ogr/CMakeFiles/poly2ogr.dir/all] Fehler 2
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
[ 91%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/priorities.cxx.o
[ 92%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/usgs.cxx.o
[ 93%] Building CXX object src/BuildTiles/Main/CMakeFiles/tg-construct.dir/main.cxx.o
[ 94%] Linking CXX executable tg-construct
CMakeFiles/tg-construct.dir/tgconstruct_output.cxx.o: In Funktion `TGConstruct::AddCustomObjects()':
/home/delta/terragear/terragear/src/BuildTiles/Main/tgconstruct_output.cxx:45: Nicht definierter Verweis auf `SGPath::str_native[abi:cxx11]() const'
/home/delta/terragear/terragear/src/BuildTiles/Main/tgconstruct_output.cxx:49: Nicht definierter Verweis auf `SGPath::str_native[abi:cxx11]() const'
/home/delta/terragear/terragear/src/BuildTiles/Main/tgconstruct_output.cxx:73: Nicht definierter Verweis auf `SGPath::str_native[abi:cxx11]() const'
/home/delta/terragear/terragear/src/BuildTiles/Main/tgconstruct_output.cxx:95: Nicht definierter Verweis auf `SGPath::str_native[abi:cxx11]() const'
collect2: error: ld returned 1 exit status
src/BuildTiles/Main/CMakeFiles/tg-construct.dir/build.make:538: die Regel für Ziel „src/BuildTiles/Main/tg-construct“ scheiterte
make[2]: *** [src/BuildTiles/Main/tg-construct] Fehler 1
CMakeFiles/Makefile2:1125: die Regel für Ziel „src/BuildTiles/Main/CMakeFiles/tg-construct.dir/all“ scheiterte
make[1]: *** [src/BuildTiles/Main/CMakeFiles/tg-construct.dir/all] Fehler 2
Makefile:149: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
 

Any idea,anyone? :D

User avatar
SHM
Posts: 1960
Joined: Mon Sep 14, 2015 3:32 pm
Location: India

Re: ProjectPhilippines

Postby SHM » Sat Sep 24, 2016 9:37 am

If you push the sources somewhere I could run terragear.
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Image

D-ECHO
Posts: 436
Joined: Sat Jan 30, 2016 10:55 am

Re: ProjectPhilippines

Postby D-ECHO » Sat Sep 24, 2016 9:43 am

Most of the sources are pushed to https://github.com/ProjectPhilippines unfortunately osm_landmass (1GB) is too big for it. But I think I found the failure or I can try it on another computer next week, let's see :D

User avatar
TheFilipinoFGPilot
Posts: 59
Joined: Sun Sep 18, 2016 1:31 am
Location: Cebu City, Philippines

Re: ProjectPhilippines

Postby TheFilipinoFGPilot » Sat Sep 24, 2016 9:56 am

Image

The model is from sketch up and slightly modified for FlightGear, I am still asking permission to the author, the author seems to be inactive since 2014, any Ideas?

User avatar
TheFilipinoFGPilot
Posts: 59
Joined: Sun Sep 18, 2016 1:31 am
Location: Cebu City, Philippines

Re: ProjectPhilippines

Postby TheFilipinoFGPilot » Sat Sep 24, 2016 9:57 am

Image

D-ECHO
Posts: 436
Joined: Sat Jan 30, 2016 10:55 am

Re: ProjectPhilippines

Postby D-ECHO » Sat Sep 24, 2016 10:05 am

Unfortunately if the authors isn't contactable there is no possibility to use it...

User avatar
TheFilipinoFGPilot
Posts: 59
Joined: Sun Sep 18, 2016 1:31 am
Location: Cebu City, Philippines

Re: ProjectPhilippines

Postby TheFilipinoFGPilot » Sat Sep 24, 2016 10:07 am

https://3dwarehouse.sketchup.com/tos.html#license


Any ideas?


if so, I will be building my own RPVM model :)

User avatar
SHM
Posts: 1960
Joined: Mon Sep 14, 2015 3:32 pm
Location: India

Re: ProjectPhilippines

Postby SHM » Sat Sep 24, 2016 11:12 am

D-ECHO wrote:Most of the sources are pushed to https://github.com/ProjectPhilippines unfortunately osm_landmass (1GB) is too big for it. But I think I found the failure or I can try it on another computer next week, let's see :D

You haven't pushed the other landclasses.
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Image

D-ECHO
Posts: 436
Joined: Sat Jan 30, 2016 10:55 am

Re: ProjectPhilippines

Postby D-ECHO » Sat Sep 24, 2016 11:16 am

The other ones are v0, gotten from terraGIT (cutted)

User avatar
SHM
Posts: 1960
Joined: Mon Sep 14, 2015 3:32 pm
Location: India

Re: ProjectPhilippines

Postby SHM » Sat Sep 24, 2016 11:18 am

Oh. I thought you made some custom landclasses.
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Image


Return to “Scenery Development”

Who is online

Users browsing this forum: No registered users and 2 guests