Hello
Current git revision (simgear + flightgear + fgdata) of flightgear does
not compile and raises an error:
[ 38%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Canvas/gui_mgr.cxx.o
/home/flightgear/src/Canvas/gui_mgr.cxx: In member function ‘bool
GUIMgr::handleMouse(const osgGA::GUIEventAdapter&)’:
/home/flightgear/src/Canvas/gui_mgr.cxx:297:48: error: no matching function for
call to ‘simgear::canvas::MouseEvent::MouseEvent(const osgGA::GUIEventAdapter&)’
sc::MouseEventPtr event(new sc::MouseEvent(ea));
^
/home/flightgear/src/Canvas/gui_mgr.cxx:297:48: note: candidates are:
In file included from /home/flightgear/src/Canvas/window.hxx:23:0,
from /home/flightgear/src/Canvas/gui_mgr.cxx:20:
/usr/include/simgear/canvas/MouseEvent.hxx:34:7: note:
simgear::canvas::MouseEvent::MouseEvent()
MouseEvent():
^
/usr/include/simgear/canvas/MouseEvent.hxx:34:7: note: candidate expects 0
arguments, 1 provided
/usr/include/simgear/canvas/MouseEvent.hxx:30:9: note:
simgear::canvas::MouseEvent::MouseEvent(const simgear::canvas::MouseEvent&)
class MouseEvent:
^
/usr/include/simgear/canvas/MouseEvent.hxx:30:9: note: no known conversion
for argument 1 from ‘const osgGA::GUIEventAdapter’ to ‘const
simgear::canvas::MouseEvent&’
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
Reverting commit d9881ae[1] fixes the problem.
--
bug
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel