[Flightgear-devel] build dependencies for Ubuntu 12.04

2012-09-02 Thread Pace Willisson
In preparation for possibly working on an Oculus Rift driver, I've sorted
out the build dependencies for Ubuntu 12.04 and written them up at:

http://wiki.flightgear.org/Ubuntu_12.04_Package_List_and_Build_Hints

Pace Willisson
p...@alum.mit.edu
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] strange screen

2012-09-02 Thread ThorstenB
> On Sun, Sep 2, 2012 at 11:31 AM, Alasdair  wrote:
>> After git pull (sg,fg,fgdata) a couple of days ago, I was presented with a
>> strange screen which I had not seen before. My regular was shown as a
>> sub-screen in the bottom-left corner. Clicking the maximise widget restores
>> full screen, but any click on a menu item returns me to this stupid screen.
>> Is this infuriating behaviour deliberate, or has my graphics driver gone
>> walk-about?
>>
>> https://dl.dropbox.com/u/15936159/fg_quarter-screen.png

Unfortunately a long standing issue. This affects ATI graphics cards 
when running newer drivers. It can be "fixed" by reverting to an older 
ATI driver (see link below). To me it looked like a genuine OSG or ATI 
driver bug (the size of the graphics view port doesn't properly resize 
to the size of the window), but it's likely triggered by something 
"special" we're doing in FG, since other applications don't seem to have 
this issue.

Also, it's timing-/sequence dependant: it only affects certain aircraft 
(aircraft using wxradar, which changes/delays the OSG init sequence on 
startup, are less likely to have the issue) - and for some people it 
dis- and reappears with certain FG builds.

It would be really good if someone seeing the issue locally could 
properly debug this - even if it means digging into OSG - since a larger 
number of people are affected. I tried "remote debugging" this a while 
ago, but gave up after being unable to narrow it down inside FG. Maybe 
someone else has better luck.

For more see here:
http://code.google.com/p/flightgear-bugs/issues/detail?id=385

cheers,
Thorsten

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Error while compiling 2.6.0 on FreeBSD, what the reason?

2012-09-02 Thread Frederic Bouvier
Hi,

my bet is that FreeBSD has a macro named 'nitems' that conflicts with a FLTK 
member function of the same name.

Regards,
-Fred

- Mail original -
> De: "Nikolay Tychina" 
> À: flightgear-devel@lists.sourceforge.net
> Envoyé: Dimanche 2 Septembre 2012 23:45:47
> Objet: [Flightgear-devel] Error while compiling 2.6.0 on FreeBSD, what 
> the reason?
> 
> Hi!
> 
> I'm trying to build a port of FlightGear 2.6.0 on FreeBSD, and it
> fails with the same error every time. What can possibly cause it?
> I already contacted port maintainer, and he said the port should
> build
> fine. We tried reinstalling FLTK and the ports it depends on, but it
> didn't help.
> 
> Scanning dependencies of target fgadmin
> [ 97%] Building CXX object
> utils/fgadmin/src/CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o
> In file included from
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin.h:14,
>  from
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:37:
> /usr/local/include/FL/Fl_Check_Browser.H:100: error: expected
> unqualified-id before 'sizeof'
> /usr/local/include/FL/Fl_Check_Browser.H:100: error: expected `)'
> before 'sizeof'
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:
> In member function 'void FGAdminUI::install_selected()':
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
> error: expected unqualified-id before '(' token
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
> error: expected primary-expression before ')' token
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
> error: expected primary-expression before ')' token
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:
> In member function 'void FGAdminUI::remove_selected()':
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
> error: expected unqualified-id before '(' token
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
> error: expected primary-expression before ')' token
> /usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
> error: expected primary-expression before ')' token
> *** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o]
> Error code 1
> 
> --
> Nik
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions
> will include endpoint security, mobile security and the latest in
> malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
> 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Error while compiling 2.6.0 on FreeBSD,

2012-09-02 Thread Martin Spott
Nikolay Tychina wrote:

> I'm trying to build a port of FlightGear 2.6.0 on FreeBSD, [...]

Which version of FreeBSD ? Do you have BATCH enabled in make.conf ? Are
you sure your port dependencies are up to date ? Do you have any other
custom rules defined in make.conf ?

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Error while compiling 2.6.0 on FreeBSD, what the reason?

2012-09-02 Thread Nikolay Tychina
Hi!

I'm trying to build a port of FlightGear 2.6.0 on FreeBSD, and it
fails with the same error every time. What can possibly cause it?
I already contacted port maintainer, and he said the port should build
fine. We tried reinstalling FLTK and the ports it depends on, but it
didn't help.

Scanning dependencies of target fgadmin
[ 97%] Building CXX object
utils/fgadmin/src/CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o
In file included from
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin.h:14,
 from
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:37:
/usr/local/include/FL/Fl_Check_Browser.H:100: error: expected
unqualified-id before 'sizeof'
/usr/local/include/FL/Fl_Check_Browser.H:100: error: expected `)'
before 'sizeof'
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:
In member function 'void FGAdminUI::install_selected()':
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
error: expected unqualified-id before '(' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
error: expected primary-expression before ')' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
error: expected primary-expression before ')' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:
In member function 'void FGAdminUI::remove_selected()':
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
error: expected unqualified-id before '(' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
error: expected primary-expression before ')' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
error: expected primary-expression before ')' token
*** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o] Error code 1

-- 
Nik

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] strange screen

2012-09-02 Thread James Turner
Please open a bug for this, if there is not one already (it sounds similar to 
one existing issue), and include all the information below - especially when it 
broke, OSG versions,  graphics cards and so on. 

Cheers,
James



On 2 Sep 2012, at 20:07, Alasdair  wrote:

> On Sun, 2012-09-02 at 12:26 -0600, syd adams wrote:
>> Ive had this same issue for months now , on a laptop with ATI Mobility
>> Radeon HD 4250.It only happens on some aircraft , but i havent really
>> tried to hunt the problem down. Im suspecting a shortage of video
>> memory . I also can get full screen by changing the window size , but
>> any dialog or text on the screen reduces it back to the bottom left
>> corner.Possibly related , Ive noticed that the aspect ratio isnt
>> updated when resizing the window. I hope someone else has an idea
>> where to start debugging this .
>> Syd
>> 
>> On Sun, Sep 2, 2012 at 11:31 AM, Alasdair  wrote:
>>> After git pull (sg,fg,fgdata) a couple of days ago, I was presented with a 
>>> strange screen which I had not seen before. My regular was shown as a 
>>> sub-screen in the bottom-left corner. Clicking the maximise widget restores 
>>> full screen, but any click on a menu item returns me to this stupid screen. 
>>> Is this infuriating behaviour deliberate, or has my graphics driver gone 
>>> walk-about?
>>> 
>>> 
>>> https://dl.dropbox.com/u/15936159/fg_quarter-screen.png
>>> 
>>> Kind regards, Alasdair
>>> 
> This is also an a Radeon device (HD 6530D) on my "quiet" machine, no
> moving parts except for cpu fan. But this is certainly a NEW problem,
> cos I have had no problems since yesterdays git build, last git pull
> about a week ago. I will check it out on my big (noisy) machine with
> Nvidia cards, but not till I can backup my working fg.
> Thanks for your interest, Syd
> Alasdair
> 
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] strange screen

2012-09-02 Thread Alasdair
On Sun, 2012-09-02 at 12:26 -0600, syd adams wrote:
> Ive had this same issue for months now , on a laptop with ATI Mobility
> Radeon HD 4250.It only happens on some aircraft , but i havent really
> tried to hunt the problem down. Im suspecting a shortage of video
> memory . I also can get full screen by changing the window size , but
> any dialog or text on the screen reduces it back to the bottom left
> corner.Possibly related , Ive noticed that the aspect ratio isnt
> updated when resizing the window. I hope someone else has an idea
> where to start debugging this .
> Syd
> 
> On Sun, Sep 2, 2012 at 11:31 AM, Alasdair  wrote:
> > After git pull (sg,fg,fgdata) a couple of days ago, I was presented with a 
> > strange screen which I had not seen before. My regular was shown as a 
> > sub-screen in the bottom-left corner. Clicking the maximise widget restores 
> > full screen, but any click on a menu item returns me to this stupid screen. 
> > Is this infuriating behaviour deliberate, or has my graphics driver gone 
> > walk-about?
> >
> >
> > https://dl.dropbox.com/u/15936159/fg_quarter-screen.png
> >
> > Kind regards, Alasdair
> >
This is also an a Radeon device (HD 6530D) on my "quiet" machine, no
moving parts except for cpu fan. But this is certainly a NEW problem,
cos I have had no problems since yesterdays git build, last git pull
about a week ago. I will check it out on my big (noisy) machine with
Nvidia cards, but not till I can backup my working fg.
Thanks for your interest, Syd
Alasdair


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] strange screen

2012-09-02 Thread syd adams
Ive had this same issue for months now , on a laptop with ATI Mobility
Radeon HD 4250.It only happens on some aircraft , but i havent really
tried to hunt the problem down. Im suspecting a shortage of video
memory . I also can get full screen by changing the window size , but
any dialog or text on the screen reduces it back to the bottom left
corner.Possibly related , Ive noticed that the aspect ratio isnt
updated when resizing the window. I hope someone else has an idea
where to start debugging this .
Syd

On Sun, Sep 2, 2012 at 11:31 AM, Alasdair  wrote:
> After git pull (sg,fg,fgdata) a couple of days ago, I was presented with a 
> strange screen which I had not seen before. My regular was shown as a 
> sub-screen in the bottom-left corner. Clicking the maximise widget restores 
> full screen, but any click on a menu item returns me to this stupid screen. 
> Is this infuriating behaviour deliberate, or has my graphics driver gone 
> walk-about?
>
>
> https://dl.dropbox.com/u/15936159/fg_quarter-screen.png
>
> Kind regards, Alasdair
>
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] strange screen

2012-09-02 Thread Alasdair
After git pull (sg,fg,fgdata) a couple of days ago, I was presented with a 
strange screen which I had not seen before. My regular was shown as a 
sub-screen in the bottom-left corner. Clicking the maximise widget restores 
full screen, but any click on a menu item returns me to this stupid screen. Is 
this infuriating behaviour deliberate, or has my graphics driver gone 
walk-about? 


https://dl.dropbox.com/u/15936159/fg_quarter-screen.png

Kind regards, Alasdair




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Usability

2012-09-02 Thread Gijs de Rooy
Hi Stuart,

> This is now checked in as the new Joystick Configuration item under
> the Help menu, which replaces the Joystick Information dialog.

I think you forgot to add it to the menu? 

I was able to open the dialog via fgcommand, and from what I've tested so far 
(a very quick test with a simple joystick), it works really well. Well done, 
this is truly an improvement in usability!

Gijs
  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Running Nasal code via telnet connection

2012-09-02 Thread Arnt Karlsen
On Sun, 2 Sep 2012 01:37:06 +0300, Adrian wrote in message 
<201209020137.06307.kanto...@gmail.com>:

> Hi there,
> 
> I'd just like to know if anybody was able to run Nasal code via a
> normal telnet connection (run nasal /property/where/code/is/located
> ). I tried, but couldn't manage it, and had to modify a little the
> code from Network/props.cxx in order to get it to work.
> Maybe I was doing it wrong, or maybe I should share the patch, please
> let me know.

..share your patch here so we can see what you've done, and
ask if anyone can see what's wrong with it, to stop anyone 
from using it on the assumption it's ok, and instead try help 
fix it.  And I'm _not_ saying I know how to fix it. ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel