[Flightgear-devel] Current git broken

2013-05-12 Thread 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));
^
/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
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


[Flightgear-devel] osm2city.py

2013-05-12 Thread Thomas Albrecht
Dear list,
in particular Stuart,

please let me 'officially' announce my project osm2city.py [1,2] here. This 
python script takes OSM floor plans and generates 3D buildings for use with 
flightgear. I'm planning to develop this into a procedural city generator which 
would take a street network and then reasonably places (random) buildings. The 
ultimate goal is (obviously) to improve FG's representation of cities.

It's at a rather early stage, and for the moment I prefer python for quick 
prototyping. BUT, I know quite some C/C++, and compile from latest GIT sources 
regularly.  In the future, I'm definately willing to move this into FG (in one 
form or another).

Tom

[1] http://wiki.flightgear.org/Osm2city.py
[2] http://flightgear.org/forums/viewtopic.php?f=5t=19625

--
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] osm2city.py

2013-05-12 Thread James Turner


On 12 May 2013, at 21:35, Thomas Albrecht ra...@web.de wrote:

 Dear list,
 in particular Stuart,
 
 please let me 'officially' announce my project osm2city.py [1,2] here. This 
 python script takes OSM floor plans and generates 3D buildings for use with 
 flightgear. I'm planning to develop this into a procedural city generator 
 which would take a street network and then reasonably places (random) 
 buildings. The ultimate goal is (obviously) to improve FG's representation of 
 cities.
 
 It's at a rather early stage, and for the moment I prefer python for quick 
 prototyping. BUT, I know quite some C/C++, and compile from latest GIT 
 sources regularly.  In the future, I'm definately willing to move this into 
 FG (in one form or another).

Really looking forward to playing with this! 

Could the floor-plan data be pulled live from OSM servers, or does it need to 
be processed offline before hand? We have most of the infrastructure to pull 
data from web-services already in place. 

Regards,
James

 
 Tom
 
 [1] http://wiki.flightgear.org/Osm2city.py
 [2] http://flightgear.org/forums/viewtopic.php?f=5t=19625
 
 --
 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

--
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] osm2city.py

2013-05-12 Thread Curtis Olson
Hi Thomas,

That is way cool!  I'm also really looking forward to seeing this come
together.  Would this data set include airport hangar buildings as well?

The Lowi screenshot looks really nice!

Curt.


On Sun, May 12, 2013 at 3:35 PM, Thomas Albrecht ra...@web.de wrote:

 Dear list,
 in particular Stuart,

 please let me 'officially' announce my project osm2city.py [1,2] here.
 This python script takes OSM floor plans and generates 3D buildings for use
 with flightgear. I'm planning to develop this into a procedural city
 generator which would take a street network and then reasonably places
 (random) buildings. The ultimate goal is (obviously) to improve FG's
 representation of cities.

 It's at a rather early stage, and for the moment I prefer python for quick
 prototyping. BUT, I know quite some C/C++, and compile from latest GIT
 sources regularly.  In the future, I'm definately willing to move this into
 FG (in one form or another).

 Tom

 [1] http://wiki.flightgear.org/Osm2city.py
 [2] http://flightgear.org/forums/viewtopic.php?f=5t=19625


 --
 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




-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
--
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