Re: [Flightgear-devel] Current git broken

2013-05-13 Thread Guy Brand
On May 12, Thomas Geymayer wrote:

 Am 2013-05-12 17:59, schrieb Guy Brand:
  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));
 
 Seems like your simgear is not up-to-date. Either you have not checked
 out the latest version or you have not installed it/use the correct
 version with flightgear.

Sorry for the noise, a git pull failure on simgear bit me.

-- 
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
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Current git broken

2013-05-12 Thread Saikrishna Arcot
In flightgear, commit 915626a (from May 11) with simgear d18cc81 
compiled on Ubuntu. The current git revision for flightgear is ff902e5 
(simgear is the same).

Saikrishna Arcot

On Sun 12 May 2013 10:59:03 AM CDT, Guy Brand wrote:
 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.


--
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
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Current git broken

2013-05-12 Thread Thomas Geymayer
Am 2013-05-12 17:59, schrieb Guy Brand:
 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));

Seems like your simgear is not up-to-date. Either you have not checked
out the latest version or you have not installed it/use the correct
version with flightgear.

Tom


-- 
Thomas Geymayer  www.tomprogs.at / C-Forum und Tutorial: www.proggen.org

  Student of Computer Science @ Graz University of Technology
--- Austria 

--
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
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel