TerraGear compilation - Ubuntu 14.04: Difference between revisions

https://forum.flightgear.org/viewtopic.php?f=45&t=32458
(initial copy'n'paste from my forum topic of the same title.)
 
(https://forum.flightgear.org/viewtopic.php?f=45&t=32458)
Line 1: Line 1:
some of us may still be running ubuntu's 14.04 LTS for various reasons... building flightgear from the repo is pretty easy with the download_and_compile.sh script... one thing, though, is that terragear won't build because 14.04 has an old GDAL library, v1.17.something, but we can work around that...
== Motivation ==
some of us may still be running ubuntu's 14.04 LTS for various reasons... building flightgear from the repo is pretty easy with the download_and_compile.sh script... one thing, though, is that terragear won't build because 14.04 has an old GDAL library, v1.17.something, but we can work around that... <ref>{{cite web
  |url    =  https://forum.flightgear.org/viewtopic.php?p=313522#p313522
  |title  =  <nowiki> Terragear compilation - Ubuntu 14.04 </nowiki>
  |author =  <nowiki> wkitty42 </nowiki>
  |date  =  Jul 1st, 2017
  |added  =  Jul 1st, 2017
  |script_version = 0.40
  }}</ref>


== Background ==
a year ago on 2016 Jul 16, the minimum version of GDAL was increased to v2.0.0 and the code was adapted to the new API... what those of us on ubuntu 14.04 have had to do was to reset our terragear to the previous commit before this one and terragear would compile just fine... the problems arose when other fixes were needed because of changes in flightgear and simgear... so here we are...
a year ago on 2016 Jul 16, the minimum version of GDAL was increased to v2.0.0 and the code was adapted to the new API... what those of us on ubuntu 14.04 have had to do was to reset our terragear to the previous commit before this one and terragear would compile just fine... the problems arose when other fixes were needed because of changes in flightgear and simgear... so here we are...


== How to proceed ==
'''NOTE: you must have an existing terragear repo managed by the download_and_compile.sh script before doing all this!'''
'''NOTE: you must have an existing terragear repo managed by the download_and_compile.sh script before doing all this!'''


Line 111: Line 123:


that should do it... when download_and_compile.sh finishes, you should have a nice shiny set of terragear tools that you can play with building scenery... remember, this uses your old GDAL v1.17 so none of the newer code specific to GDAL stuff will be able to be used... future updates to this terragear will also have to be cherry-picked or hand-written...
that should do it... when download_and_compile.sh finishes, you should have a nice shiny set of terragear tools that you can play with building scenery... remember, this uses your old GDAL v1.17 so none of the newer code specific to GDAL stuff will be able to be used... future updates to this terragear will also have to be cherry-picked or hand-written...
== References ==
{{Appendix}}