That's what happens when you don't read the whole thing. :)

On Mon, 31 Jan 2005 16:03:25 -0800, Adam Dershowitz
<[EMAIL PROTECTED]> wrote:
> Don't you mean it should not include it with Windows?
> Since it is #ifndef not #ifdef?
> 
> -- Adam
> 
> > From: Arthur Wiebe <[EMAIL PROTECTED]>
> > Reply-To: FlightGear developers discussions 
> > <[email protected]>
> > Date: Mon, 31 Jan 2005 18:46:07 -0500
> > To: FlightGear developers discussions <[email protected]>
> > Subject: Re: [Flightgear-devel] Mac os x simgear build break with
> > RenderTexture.cpp
> >
> > That is wierd. Because of this:
> >
> > #ifndef _WIN32
> > #  include SG_GLX_H
> > #endif
> >
> > It should only include GLX on Windows.
> >
> > On Mon, 31 Jan 2005 17:51:34 -0500, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> When I went to do a full build of simgear January 27th, I am having a
> >> problem with the build of RenderTexture.cpp.  I have been unable to
> >> download newer source since then due to a network problem that  breaks
> >> CVS on my local network.
> >>
> >> Mac OS X doesn't generally support glx.h
> >>
> >> If someone has X11 developer sources installed on mac os x, the glx
> >> file exists on:
> >>
> >> /usr/X11R6/include/GL
> >>
> >> but I don't think that I should be using that GLX file as I am NOT
> >> building a version of FG for X, but rather for native mac os x.
> >>
> >> Does anyone have any suggestions for how to build simgear/screen
> >> without requiring GLX? (I tried explicitly giving --without-x during
> >> configure but it didn't seem to help).
> >>
> >> The first error message is:
> >>
> >> g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
> >> -DGLX_GLXEXT_PROTOTYPES
> >> -I/Users/ima/Desktop/FlightGear/fgdev9.8/include  -g -O2 -D_REENTRANT
> >> -c -o RenderTexture.o `test -f 'RenderTexture.cpp' || echo
> >> './'`RenderTexture.cpp
> >> In file included from RenderTexture.cpp:58:
> >> ../../simgear/screen/RenderTexture.h:56:20: OpenGL/glx.h: No such file
> >> or directory
> >>
> >> .. followed by these errors
> >>
> >> In file included from RenderTexture.cpp:58:
> >> ../../simgear/screen/RenderTexture.h:342: error: 'GLXContext' is used
> >> as a
> >>     type, but is not defined as a type.
> >> ../../simgear/screen/RenderTexture.h:343: error: 'GLXPbuffer' is used
> >> as a
> >>     type, but is not defined as a type.
> >> ../../simgear/screen/RenderTexture.h:345: error: 'GLXDrawable' is used
> >> as a
> >>     type, but is not defined as a type.
> >> ../../simgear/screen/RenderTexture.h:346: error: 'GLXContext' is used
> >> as a
> >>     type, but is not defined as a type.
> >> RenderTexture.cpp: In constructor `RenderTexture::RenderTexture(const
> >> char*)':
> >> RenderTexture.cpp:127: error: class `RenderTexture' does not have any
> >> field
> >>     named `_hGLContext'
> >> RenderTexture.cpp:128: error: class `RenderTexture' does not have any
> >> field
> >>     named `_hPBuffer'
> >>   .. and so on
> >>
> >> Sorry, I seem especially clueless lately. 8-(
> >> TIA for any help!
> >>
> >> Best regards,
> >>
> >> Ima
> >>
> >> _______________________________________________
> >> Flightgear-devel mailing list
> >> [email protected]
> >> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> >> 2f585eeea02e2c79d7b1d8c4963bae2d
> >>
> >
> >
> > --
> > <Arthur/>
> > - http://artooro.blogspot.com  (Weblog)
> > - http://machcms.sourceforge.net  (MachCMS Project)
> > - http://acalproj.sourceforge.net  (Calendar Project)
> > 
> > _______________________________________________
> > Flightgear-devel mailing list
> > [email protected]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> > 2f585eeea02e2c79d7b1d8c4963bae2d
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
> 


-- 
<Arthur/>
- http://artooro.blogspot.com  (Weblog)
- http://machcms.sourceforge.net  (MachCMS Project)
- http://acalproj.sourceforge.net  (Calendar Project)

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to