- Code: Select all
[ 29%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Canvas/gui_mgr.cxx.o
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx: In member function ‘bool GUIMgr::handleMouse(const osgGA::GUIEventAdapter&)’:
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:297:48: error: no matching function for call to ‘simgear::canvas::MouseEvent::MouseEvent(const osgGA::GUIEventAdapter&)’
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:297:48: note: candidates are:
In file included from /home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/window.hxx:23:0,
from /home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:20:
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:34:7: note: simgear::canvas::MouseEvent::MouseEvent()
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:34:7: note: candidate expects 0 arguments, 1 provided
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:30:9: note: simgear::canvas::MouseEvent::MouseEvent(const simgear::canvas::MouseEvent&)
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:30:9: note: no known conversion for argument 1 from ‘const osgGA::GUIEventAdapter’ to ‘const simgear::canvas::MouseEvent&’
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:311:10: error: ‘class simgear::canvas::MouseEvent’ has no member named ‘local_pos’
make[2]: *** [src/Main/CMakeFiles/fgfs.dir/__/Canvas/gui_mgr.cxx.o] Error 1
make[1]: *** [src/Main/CMakeFiles/fgfs.dir/all] Error 2
make: *** [all] Error 2
It then tries again with:
- Code: Select all
[ 0%] Built target fgjs
[ 0%] Built target js_demo
[ 5%] Built target yasim
[ 11%] Built target yasim-proptest
[ 28%] Built target JSBSim
[ 28%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Canvas/gui_mgr.cxx.o
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx: In member function ‘bool GUIMgr::handleMouse(const osgGA::GUIEventAdapter&)’:
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:297:48: error: no matching function for call to ‘simgear::canvas::MouseEvent::MouseEvent(const osgGA::GUIEventAdapter&)’
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:297:48: note: candidates are:
In file included from /home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/window.hxx:23:0,
from /home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:20:
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:34:7: note: simgear::canvas::MouseEvent::MouseEvent()
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:34:7: note: candidate expects 0 arguments, 1 provided
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:30:9: note: simgear::canvas::MouseEvent::MouseEvent(const simgear::canvas::MouseEvent&)
/home/truenorthist/fgfs/install/simgear/include/simgear/canvas/MouseEvent.hxx:30:9: note: no known conversion for argument 1 from ‘const osgGA::GUIEventAdapter’ to ‘const simgear::canvas::MouseEvent&’
/home/truenorthist/fgfs/fgfs/flightgear/src/Canvas/gui_mgr.cxx:311:10: error: ‘class simgear::canvas::MouseEvent’ has no member named ‘local_pos’
make[2]: *** [src/Main/CMakeFiles/fgfs.dir/__/Canvas/gui_mgr.cxx.o] Error 1
make[1]: *** [src/Main/CMakeFiles/fgfs.dir/all] Error 2
make: *** [all] Error 2
To start fgfs, run the run_fgfs.sh file
To start terrasync, run the run_terrasync.sh file
To start fgrun, run the run_fgrun.sh file
To start fgcom, run the run_fgcom.sh file
To start fgcom GUI, run the run_fgcomgui.sh file
To start atlas, run the run_atlas.sh file
Usage: ./download_and_compile.sh -h
for help
Is this a problem on my end? I updated it a few weeks back with no probs.