Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-10 Thread Chris Metzler
On Fri, 10 Nov 2006 07:45:23 + (UTC)
Martin Spott wrote:
 Chris Metzler wrote:
 
  Debian's package of freeglut is an exception to this -- the various
  freeglut problems that have manifested themselves in fgfs have been
  fixed with local patches.  I've been using freeglut 2.4 with no
  problems at all for a very long time.
 
 Hmmm, when I look at the Debian 3.1 installation on my AMD64 machine,
 it tells me:
 
 jive:~# dpkg -l | grep -i freeglut
 ii  freeglut3  2.2.0-8OpenGL Utility Toolkit
 ii  freeglut3-dev  2.2.0-8OpenGL Utility Toolkit development
 files

I'm not running 3.1 (Sarge).  I'm running etch (testing, the upcoming 4.0).
In my case, it's

} stax:~/Projects/FlightGear-0.9/source-1173 dpkg -l | grep -i freeglut
} ii  freeglut3  2.4.0-5OpenGL Utility Toolkit
} ii  freeglut3-dev  2.4.0-5OpenGL Utility Toolkit development files

-c

-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


signature.asc
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-09 Thread Jon Stockill
Jon Stockill wrote:

 No, it's gcc-3.4.6, but if you're having the problem on IRIX then that is
 a pointer - slackware uses glut - not freeglut, and I suspect that IRIX
 uses glut too. Could this be caused by header differences? Has anyone else
 successfully built FlightGear-OSG on a system that doesn't ue freeglut?

I forgot to add - commenting out the #undef APIENTRY line in glut.h 
allowed me to complete the build.

I'd just like to add to the other thread - as a non-programmer sysadmin 
data junkie type I accept that there will be stages in the development 
of any large software package where it may not build - particularly when 
there are large updates in progress. I am sensible enough to keep around 
a copy of the plib tree, as well as previously built plib binaries in 
order to ensure that I can still update and test scenery.

The population of the planet with scenery models continues unabated - 
over 5000 wind turbines were added to Denmark just last week (thanks to 
Morten for the data source).

Keep up the great work guys.

-- 
Jon Stockill
[EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-09 Thread Frederic Bouvier
Quoting Martin Spott :

 Hi Jon, Frederic,

 Jon Stockill wrote:
  Jon Stockill wrote:

 I didn't ever recieve this first EMail 

  I forgot to add - commenting out the #undef APIENTRY line in glut.h
  allowed me to complete the build.

 I'm not still there but at least the ATC stuff compiles fine after
 following your recommendation - I guess the rest will do so as well.

 BTW, yes, I have the real glut installation on IRIX. As none of the
 OSG header files includes glut.h, wouldn't it make sense to explicitly
 define APIENTRY for example in simgear/scene/model/model.hxx on
 non-Windows systems in order to make FlightGear compile with the
 original glut as well, or is this a completely mislead idea ?

The problem is more or less identical on Windows and Unix : glut #undef APIENTRY
. If you happen to have glut included between your define and the code that use
it, either directly or indirectly, as it is the case including plib/pu.h,
you're dead. It would make more sense to apply Jon's patch, or mine as
previously suggested. Off course, this is an open trap for newcomers, just like
the freeglut 2.4 bug.

BTW: freeglut doesn't use the MS APIENTRY, but their own FGAPIENTRY, so no
conflicts there.

-Fred

--
Frédéric Bouvier
http://frfoto.free.fr  Photo gallery - album photo
http://www.fotolia.fr/p/2278/partner/2278  Other photo gallery
http://fgsd.sourceforge.net/   FlightGear Scenery Designer

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-09 Thread Curtis Olson
I should double check, but I believe I'm running glut-3.7 on my home machine and didnt' have any build problems (Fedora Core 6.)For what it's worth. The full screen (game) mode of freeglut (any version) is horribly broken under unix. SDL full screen works fine, but locks out all other heads on a multiheaded system.
Old, original glut (well 3.7 anyway) is the only version I've found that can successful go full screen with FlightGear on one display of a multiheaded system while leaving the other head(s) usable for other things (like an operator console for instance.)
Curt.On 11/9/06, Jon Stockill [EMAIL PROTECTED] wrote:
On Wed, November 8, 2006 4:50 pm, Martin Spott wrote: This is _excellent_ because of two reasons: 1.) It releaves the bug from showing up only on IRIX/MIPSpro - where I ran into it right after the OSG port appeared in FlightGear CVS (I guess
 Frederic will remember), 2.) GCC's error message is much more informative, which should make it easier to track what happens here. I guess you're running GCC-4.x, right ? I have built FlightGear on
 Linux and FreeBSD with GCC-3.x and didn't face the effect you present to us,No, it's gcc-3.4.6, but if you're having the problem on IRIX then that isa pointer - slackware uses glut - not freeglut, and I suspect that IRIX
uses glut too. Could this be caused by header differences? Has anyone elsesuccessfully built FlightGear-OSG on a system that doesn't ue freeglut?--Jon Stockill[EMAIL PROTECTED]
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Flightgear-devel mailing listFlightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel-- Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/http://www.humanfirst.umn.edu/http://www.flightgear.orgUnique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-09 Thread Chris Metzler
On Thu, 9 Nov 2006 09:48:51 -0600
Curtis Olson wrote:

 For what it's worth.  The full screen (game) mode of freeglut (any
 version) is horribly broken under unix.

Debian's package of freeglut is an exception to this -- the various
freeglut problems that have manifested themselves in fgfs have been
fixed with local patches.  I've been using freeglut 2.4 with no
problems at all for a very long time.

-c



-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


signature.asc
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-09 Thread Curtis Olson
On 11/9/06, Chris Metzler [EMAIL PROTECTED] wrote:
Debian's package of freeglut is an exception to this -- the variousfreeglut problems that have manifested themselves in fgfs have beenfixed with local patches.I've been using freeglut 2.4 with noproblems at all for a very long time.
Really? You can do full screen with no window manager adornments? It doesn't screw up the requested resolution and give you a weird screen and then leave you in the wrong resolution? If that's the case then the debian guys need to get their patches in upstream!
If you are just running opengl in a window freeglut has always been fine ... (except for the cursor problem in v2.4)Regards,Curt.-- Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/http://www.humanfirst.umn.edu/http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-09 Thread Chris Metzler
On Thu, 9 Nov 2006 22:48:59 -0600
Curtis Olson wrote:

 Really?  You can do full screen with no window manager adornments?  It
 doesn't screw up the requested resolution and give you a weird screen
 and then leave you in the wrong resolution?

Yeah, it works absolutely fine in fullscreen/game-mode.


 If that's the case then the
 debian guys need to get their patches in upstream!

I don't know what the deal is there.  When I look in the changelog for the
Debian package, the only thing I see in there right now that seems relevant
is a patch to fix the glutSetCursor bug.  It was posted in response
to this bug, which references fgfs:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334446sourceid=mozilla-search

and included in the Debian version.  Why this might not have made it upstream,
I dunno.  But I don't think that's what prevents game-mode/fullscreen for
most freeglut 2.4 users, is it?  Something must be different, though, because
like I said, it works absolutely fine for me.

-c


-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


signature.asc
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-09 Thread Martin Spott
Chris Metzler wrote:

 Debian's package of freeglut is an exception to this -- the various
 freeglut problems that have manifested themselves in fgfs have been
 fixed with local patches.  I've been using freeglut 2.4 with no
 problems at all for a very long time.

Hmmm, when I look at the Debian 3.1 installation on my AMD64 machine,
it tells me:

jive:~# dpkg -l | grep -i freeglut
ii  freeglut3  2.2.0-8OpenGL Utility Toolkit
ii  freeglut3-dev  2.2.0-8OpenGL Utility Toolkit development files


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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear OSG build problem

2006-11-08 Thread Martin Spott
Hi Jon !

Jon Stockill wrote:

 if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src 
 -I/usr/local/include -I/usr/X11R6/include  -g -O2 -D_REENTRANT -MT 
 atis.o -MD -MP -MF .deps/atis.Tpo -c -o atis.o atis.cxx; \
  then mv -f .deps/atis.Tpo .deps/atis.Po; else rm -f 
 .deps/atis.Tpo; exit 1; fi
 In file included from /usr/local/include/osg/Image:17,
   from /usr/local/include/osg/Texture:18,
   from /usr/local/include/osg/Texture2D:17,
   from /usr/include/simgear/scene/model/model.hxx:22,
   from AIPlane.hxx:25,
   from tower.hxx:37,
   from ATCmgr.hxx:34,
   from atis.cxx:50:
 /usr/local/include/osg/BufferObject:173: error: expected `)' before '*' token

This is _excellent_ because of two reasons:
1.) It releaves the bug from showing up only on IRIX/MIPSpro - where I
ran into it right after the OSG port appeared in FlightGear CVS (I
guess Frederic will remember),
2.) GCC's error message is much more informative, which should make it
easier to track what happens here.

I guess you're running GCC-4.x, right ? I have built FlightGear on
Linux and FreeBSD with GCC-3.x and didn't face the effect you present
to us,

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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel