Re: [Flightgear-devel] Freeglut and game mode

2005-12-15 Thread cmetzler


> Is gamemode just broken in freeglut-2.2.0?

Yes.


> Has anyone had this working 
> with freeglut?

Once upon a time; but not for a year or more.


> I would have thought we would get a lot of complaints if 
> something this basic didn't work?

I'm pretty sure I did whine about it here a year or so ago; I
know I did on IRC.

-c





___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread John Wojnaroski

I know you guys have taken care of this, but perhaps it bears repeating..

Check your XF86Config file(s).  In some case incorrect monitor settings 
can result in X "turning off" the second monitor if the numbers for the 
desired unit don't meet spec or becomes confused if you have two 
different monitors for a dual headed card and don't call out the 
specific sync and refresh numbers.


Regards
John W.

Bruce Benneke wrote:




Curtis L. Olson wrote:




I'm not expecting any issues with glut-3.7 on FC4 ... should I be?



I'll try it, probably not till  next weekI'll post...(assuming I 
haven't booted that box against the wall...having pesonal issues 
switching from mandrake to FC.)


Bruce Benneke

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d




___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] CVS compiling error CYGWIN

2005-12-15 Thread Georg Vollnhals

Hi David,
your help did not only save the day but the rest of the week, thank you 
very much :-)

I could compile the CVS and FG is running!


Have you tried adding -DNOMINMAX to your CFLAGS and CXXFLAGS?

 

Mmh, this was behind my scope. If you ever have some time then tell me 
please where I find these "flags". Can I find something linke a config 
file anywhere?



Alternatively try adding

#ifdef HAVE_CONFIG_H
#  include 
#endif

as the first include of each cxx or cpp file giving problems.

 

This solved the problem. I just put it into the following 4 files (I 
hope I did not forget one):

FGDeadband.h
../FGJSBBase.h
FGFCSComponent.h
../FGPropertyManager.h
!!
As I have not got the skills until now to create a diff file to the cvs 
and I am not sure whether I have placed the stuff at the position in the 
code where it should be in a professional manner I would ask anyone who 
can do it for changing these CVS files to prevent trouble for other 
friends using Cygwin/CVS. Thank you in advance!




I'm not using Cygwin any more BTW, so I'm posting blind, but I'm pretty sure it 
will turn out to be the old min/max redefinition problem again.

Cheers - Dave
 

Ok, now blind but pretty well remembering the way to go from the days 
you could see :-) :-)

Thank you once again, I am really happy now.
Regards
Georg EDDW

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread Bruce Benneke



Curtis L. Olson wrote:




I'm not expecting any issues with glut-3.7 on FC4 ... should I be?



I'll try it, probably not till  next weekI'll post...(assuming I 
haven't booted that box against the wall...having pesonal issues 
switching from mandrake to FC.)


Bruce Benneke
begin:vcard
fn:Bruce Benneke
n:Benneke;Bruce
org:Benneke Computers
email;internet:[EMAIL PROTECTED]
tel;work:1 (306) 542-2891
version:2.1
end:vcard

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Re: [Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread Curtis L. Olson

Bruce Benneke wrote:


I take it you got multiheaded working with glut 3.7 on FC4?



I haven't actually configured the multiheaded stuff on FC4.  I have done 
this with glut3.7 and an older version of Debian and didn't encounter 
any surprises.


I'm having general issues with my FC4 box, and haven't got around to 
trying multiheaded yet...

so for multiheaded systems in general
SDL --- blanks second monitor?



I should clarify that SDL in 'fullscreen' mode blanks the second monitor 
and locks the mouse to the first display.



freeglut ---just doesn't work?



Freeglut's gamemode/fullscreen support is badly broken.


glut 3.7 --- ok?



glut-3.7 works great.


Openglut ---?



No idea, hadn't even heard of it before today and have never tried it.

Any other solutions/ideas?  I'm not at this stage yet with my project, 
but will be soon



I'm not expecting any issues with glut-3.7 on FC4 ... should I be?

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread Bruce Benneke




I take it you got multiheaded working with glut 3.7 on FC4?  I'm having 
general issues with my FC4 box, and haven't got around to trying 
multiheaded yet...

so for multiheaded systems in general
SDL --- blanks second monitor?
freeglut ---just doesn't work?
glut 3.7 --- ok?
Openglut ---?

Any other solutions/ideas?  I'm not at this stage yet with my project, 
but will be soon


Bruce Benneke


begin:vcard
fn:Bruce Benneke
n:Benneke;Bruce
org:Benneke Computers
email;internet:[EMAIL PROTECTED]
tel;work:1 (306) 542-2891
version:2.1
end:vcard

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Re: [Flightgear-devel] panel only

2005-12-15 Thread Bruce Benneke

Did the trick!!  Thanks Curtis..


Bruce Benneke

Curtis L. Olson wrote:


Bruce Benneke wrote:

Can anybody tell me how to disable the exterior view?  I have one 
system running just the 2d panels (working on a couple of custom 172 
panels, with hopefully some updated gauges/instruments), and anther 
running the exterior view(and the FDM).

I really have no need to have the exterior view on the panel system.




Hi Bruce,

Try adding this option to your ~/.fgfsrc or the command line:

--prop:/sim/rendering/draw-otw=false

Curt.

begin:vcard
fn:Bruce Benneke
n:Benneke;Bruce
org:Benneke Computers
email;internet:[EMAIL PROTECTED]
tel;work:1 (306) 542-2891
version:2.1
end:vcard

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Re: [Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread Curtis L. Olson

Melchior FRANZ wrote:


* Curtis L. Olson -- Thursday 15 December 2005 21:06:
 

I have verified that glut game mode works great with the original 
glut-3.7, but it's horribly broken in freeglut. 
   



Keyboard handling is also broken in freeglut. That's why I'm using
SDL. (I don't like unfreeglut :-).
 



I'd be using SDL here too if it didn't blank and lockout all the 
secondary displays in a multiheaded system. :-(


Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread Melchior FRANZ
* Curtis L. Olson -- Thursday 15 December 2005 21:06:
> I have verified that glut game mode works great with the original 
> glut-3.7, but it's horribly broken in freeglut. 

Keyboard handling is also broken in freeglut. That's why I'm using
SDL. (I don't like unfreeglut :-).

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] CVS compiling error CYGWIN

2005-12-15 Thread David Luff
Have you tried adding -DNOMINMAX to your CFLAGS and CXXFLAGS?

Alternatively try adding

#ifdef HAVE_CONFIG_H
#  include 
#endif

as the first include of each cxx or cpp file giving problems.

I'm not using Cygwin any more BTW, so I'm posting blind, but I'm pretty sure it 
will turn out to be the old min/max redefinition problem again.

Cheers - Dave

Georg Vollnhals writes:

> Hi,
> after many!!! new builds without any problem I have got a new one over 
> the last days when trying to compile the newest CVS under Cygwin.
> At last I even made a complete new Cygwin install and complete new 
> download of SimGear and FlightGear CVS and tried to compile the whole 
> stuff - same result: SimGear without problems, FlightGear compilation 
> does not work.
> Any ideas? Thank you in advance!
> Regards
> Georg EDDW
> 
> In file included from 
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/deque:71,
>  from 
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/queue:74,
>  from ../FGJSBBase.h:47,
>  from FGFCSComponent.h:46,
>  from FGDeadBand.h:40,
>  from FGDeadBand.cpp:40:
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_deque.h: In 
> member function `void std::_Deque_base<_Tp, 
> _Alloc>::_M_initialize_map(size_t)':
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_deque.h:446: 
> error: expected unqualified-id before '(' token
> In file included from 

...

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Freeglut and game mode

2005-12-15 Thread Curtis L. Olson

Stefan Seifert wrote:


Curtis L. Olson wrote:

Is gamemode just broken in freeglut-2.2.0?  Has anyone had this 
working with freeglut?  I would have thought we would get a lot of 
complaints if something this basic didn't work?


I always thought that this was a well known limitation of gamemode in 
FG, so never asked. Did always get 640x480 so I'm using 
fullscreen-mode now.



I have verified that glut game mode works great with the original 
glut-3.7, but it's horribly broken in freeglut. 


Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] panel only

2005-12-15 Thread Curtis L. Olson

Bruce Benneke wrote:

Can anybody tell me how to disable the exterior view?  I have one 
system running just the 2d panels (working on a couple of custom 172 
panels, with hopefully some updated gauges/instruments), and anther 
running the exterior view(and the FDM).

I really have no need to have the exterior view on the panel system.



Hi Bruce,

Try adding this option to your ~/.fgfsrc or the command line:

--prop:/sim/rendering/draw-otw=false

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Freeglut and game mode

2005-12-15 Thread Stefan Seifert

Curtis L. Olson wrote:
Is gamemode just broken in freeglut-2.2.0?  Has anyone had this 
working with freeglut?  I would have thought we would get a lot of 
complaints if something this basic didn't work?
I always thought that this was a well known limitation of gamemode in 
FG, so never asked. Did always get 640x480 so I'm using fullscreen-mode now.


Nine

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] panel only

2005-12-15 Thread Bruce Benneke
Can anybody tell me how to disable the exterior view?  I have one system 
running just the 2d panels (working on a couple of custom 172 panels, 
with hopefully some updated gauges/instruments), and anther running the 
exterior view(and the FDM).

I really have no need to have the exterior view on the panel system.

Thanks
Bruce
begin:vcard
fn:Bruce Benneke
n:Benneke;Bruce
org:Benneke Computers
email;internet:[EMAIL PROTECTED]
tel;work:1 (306) 542-2891
version:2.1
end:vcard

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Re: [Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread Curtis L. Olson

Melchior FRANZ wrote:


* Curtis L. Olson -- Thursday 15 December 2005 19:21:
 

In the past with Debin and Glut, specifying --enable-game-mode has 
always worked for me as expected.  But now I'm trying to do the same 
thing with freeglut-2.2.0 and Fedora Core 4.
   



Don't know if it has anything to do with it:

 
http://mail.flightgear.org/pipermail/flightgear-cvslogs/2005-November/011451.html

Maybe your glut doesn't understand the "preferred" format.

I run fgfs with SDL, but not with the built-in "fullscreen" mode,
but manually set to screensize. And I tell my window manager to omit
the window decoration. Don't know if this works with multiscreen.
 



I did some googling and poking around the freeglut mailing list and it 
does appear that freeglut's game-mode (fullscreen) is simply broken.  
There was a reference to OpenGLUT and it sounded like that may be seeing 
more development than freeglut?  I don't track those projects closely so 
I don't know.




I found some original glut-3.7 rpms, installed those and everything 
works great.  Bye, bye freeglut. :-)


Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Freeglut and game mode

2005-12-15 Thread Melchior FRANZ
* Curtis L. Olson -- Thursday 15 December 2005 19:21:
> In the past with Debin and Glut, specifying --enable-game-mode has 
> always worked for me as expected.  But now I'm trying to do the same 
> thing with freeglut-2.2.0 and Fedora Core 4.

Don't know if it has anything to do with it:

  
http://mail.flightgear.org/pipermail/flightgear-cvslogs/2005-November/011451.html

Maybe your glut doesn't understand the "preferred" format.

I run fgfs with SDL, but not with the built-in "fullscreen" mode,
but manually set to screensize. And I tell my window manager to omit
the window decoration. Don't know if this works with multiscreen.

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Freeglut and game mode

2005-12-15 Thread Curtis L. Olson
I have an application here where I need (a) to build with glut/freeglut 
and (b) I need to go full screen with no window decorations or portions 
of the desktop visible.


(a) I need to run this on a multiheaded system and SDL completely blanks 
and locks out the second display when you run fullscreen.
(b) this is for a full cockpit flight simulator so the only thing I want 
to see in the display monitors is the FG imagery.


In the past with Debin and Glut, specifying --enable-game-mode has 
always worked for me as expected.  But now I'm trying to do the same 
thing with freeglut-2.2.0 and Fedora Core 4.  No matter what 
--geometry=WxH and --bpp=D values I specify, I always get a 640x480 
window with a window title and a portion of the desktop visible.


Is gamemode just broken in freeglut-2.2.0?  Has anyone had this working 
with freeglut?  I would have thought we would get a lot of complaints if 
something this basic didn't work?


Thanks,

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] CVS compiling error CYGWIN

2005-12-15 Thread Georg Vollnhals

Hi,
after many!!! new builds without any problem I have got a new one over 
the last days when trying to compile the newest CVS under Cygwin.
At last I even made a complete new Cygwin install and complete new 
download of SimGear and FlightGear CVS and tried to compile the whole 
stuff - same result: SimGear without problems, FlightGear compilation 
does not work.

Any ideas? Thank you in advance!
Regards
Georg EDDW

In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/deque:71,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/queue:74,

from ../FGJSBBase.h:47,
from FGFCSComponent.h:46,
from FGDeadBand.h:40,
from FGDeadBand.cpp:40:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_deque.h: In 
member function `void std::_Deque_base<_Tp, 
_Alloc>::_M_initialize_map(size_t)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_deque.h:446: 
error: expected unqualified-id before '(' token
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/deque:74,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/queue:74,

from ../FGJSBBase.h:47,
from FGFCSComponent.h:46,
from FGDeadBand.h:40,
from FGDeadBand.cpp:40:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/deque.tcc: In member 
function `void std::deque<_Tp, _Alloc>::_M_reallocate_map(size_t, bool)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/deque.tcc:699: error: 
expected unqualified-id before '(' token
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/streambuf:781,

from /fg-cvs/include/simgear/debug/logstream.hxx:36,
from /fg-cvs/include/simgear/props/props.hxx:34,
from ../FGPropertyManager.h:40,
from FGFCSComponent.h:47,
from FGDeadBand.h:40,
from FGDeadBand.cpp:40:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc: In 
member function `virtual std::streamsize std::basic_streambuf<_CharT, 
_Traits>::xsgetn(_CharT*, std::streamsize)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc:54: 
error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc: In 
member function `virtual std::streamsize std::basic_streambuf<_CharT, 
_Traits>::xsputn(const _CharT*, std::streamsize)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc:88: 
error: expected unqualified-id before '(' token
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/locale:47,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:40,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:545,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:45,

from /fg-cvs/include/simgear/debug/logstream.hxx:37,
from /fg-cvs/include/simgear/props/props.hxx:34,
from ../FGPropertyManager.h:40,
from FGFCSComponent.h:47,
from FGDeadBand.h:40,
from FGDeadBand.cpp:40:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:514:57: 
macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:563:57: 
macro "max" requires 2 arguments, but only 1 given
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/locale:47,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:40,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:545,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:45,

from /fg-cvs/include/simgear/debug/logstream.hxx:37,
from /fg-cvs/include/simgear/props/props.hxx:34,
from ../FGPropertyManager.h:40,
from FGFCSComponent.h:47,
from FGDeadBand.h:40,
from FGDeadBand.cpp:40:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc: In 
member function `_InIter std::time_get<_CharT, 
_InIter>::_M_extract_name(_InIter, _InIter, int&, const _CharT**, 
size_t, std::ios_base&, std::_Ios_Iostate&) const':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:2056: 
error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc: In 
function `bool std::__verify_grouping(const char*, size_t, const 
std::string&)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:2499: 
error: expected unqualified-id before '(' token
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/istream:771,
from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:46,

from /fg-cvs/include/simgear/debug/logstream.hxx:37,