I'm enjoying FGFS 2017 v.2.0 and I am very interested in improving my local Scenery.
I've run:
- Code: Select all
$ cd terragear
$ git pull
$ cd ..
$ rm -rf ./tgbuild
$ sudo cmake ../terragear -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH="../fgbin"
All fine. I got the msg "-- Build files have been written to: /home/rodolfo/terragear"
So,
- Code: Select all
$ cd ../terragear
$ sudo make -j2 install
That begins OK but it crash with:
- Code: Select all
[ 38%] Building CXX object src/Lib/terragear/CMakeFiles/terragear.dir/tg_nodes.cxx.o
/home/rodolfo/terragear/src/Lib/terragear/tg_misc.cxx: In function ‘SGGeod OffsetPointMiddle(const SGGeod&, const SGGeod&, const SGGeod&, double, int&)’:
/home/rodolfo/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)) ) {
^
I have read many posts about this and tried several scripts unsuccessfully.
So far I've come and my ideas are over.
Am I missing something ?