Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Erik Hofman
John Wojnaroski wrote:
Started building a CVS version and bombed out in Simgear with the following:
RenderTexture.cpp: In method `RenderTexture::Render
RenderTexture.cpp:151: `GLX_RENDER_TYPE_SGIX' undec

RenderTexture.cpp:1774: `GLX_SGIX_pbuffer' undeclar
RenderTexture.cpp:1779: `GLX_SGIX_fbconfig' undecla
make[2]: *** [RenderTexture.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
looks like a GL extension thingy for SGI machines.
No, it's a standard glx extension that should be supported by all 
UNIX/Linux OpenGL implementations.
Any suggestions where to look or add or specify as an option or turn off
You might want to check if the glx-dev package is installed, or the 
glx.h header is present on your system.

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


Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Frederic Bouvier
Erik Hofman a écrit :
John Wojnaroski wrote:
Started building a CVS version and bombed out in Simgear with the 
following:

RenderTexture.cpp: In method `RenderTexture::Render
RenderTexture.cpp:151: `GLX_RENDER_TYPE_SGIX' undec

RenderTexture.cpp:1774: `GLX_SGIX_pbuffer' undeclar
RenderTexture.cpp:1779: `GLX_SGIX_fbconfig' undecla
make[2]: *** [RenderTexture.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
looks like a GL extension thingy for SGI machines.

No, it's a standard glx extension that should be supported by all 
UNIX/Linux OpenGL implementations.

Any suggestions where to look or add or specify as an option or turn 
off

You might want to check if the glx-dev package is installed, or the 
glx.h header is present on your system.

Perhaps John can enlight us on the system he use. My bet would be on 
cygwin looking the way the error was clipped.

-Fred

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


RE: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Norman Vine
Frederic Bouvier writes:
 
  John Wojnaroski wrote:
 
  Started building a CVS version and bombed out in Simgear with the 
  following:
 
  RenderTexture.cpp: In method `RenderTexture::Render
  RenderTexture.cpp:151: `GLX_RENDER_TYPE_SGIX' undec
 
 
  RenderTexture.cpp:1774: `GLX_SGIX_pbuffer' undeclar
  RenderTexture.cpp:1779: `GLX_SGIX_fbconfig' undecla
  make[2]: *** [RenderTexture.o] Error 1
  make[1]: *** [install-recursive] Error 1
  make: *** [install-recursive] Error 1

 Perhaps John can enlight us on the system he use. My bet would be on 
 cygwin looking the way the error was clipped.

Here are my local changes to Simgear configure.ac that
should help in case John is on Cygwin and happens to have 
the XServer package installed

Norman


$ cvs diff -c configure.ac
Index: configure.ac
===
RCS file: /var/cvs/SimGear-0.3/source/configure.ac,v
retrieving revision 1.82
diff -c -r1.82 configure.ac
*** configure.ac18 Jan 2005 14:34:13 -  1.82
--- configure.ac6 Feb 2005 13:34:43 -
***
*** 121,127 

  dnl Determine an extra directories to add to include/lib search paths
  case ${host} in
! *-apple-darwin* | *-*-mingw32*)
  echo no EXTRA_DIRS for $host
  ;;

--- 121,127 

  dnl Determine an extra directories to add to include/lib search paths
  case ${host} in
! *-apple-darwin* | *-*-cygwin* | *-*-mingw32*)
  echo no EXTRA_DIRS for $host
  ;;

***
*** 258,264 
  case ${host} in
  *-*-cygwin* | *-*-mingw32*)
  dnl CygWin under Windoze.
!
  AC_SEARCH_LIBS(alGenBuffers, openal32)
  AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] )
  LIBS=$LIBS -lwinmm -ldsound -ldxguid -lole32
--- 258,265 
  case ${host} in
  *-*-cygwin* | *-*-mingw32*)
  dnl CygWin under Windoze.
! INCLUDES=$INCLUDES -I/usr/local/include
! LIBS=$LIBS -L/usr/local/lib
  AC_SEARCH_LIBS(alGenBuffers, openal32)
  AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] )
  LIBS=$LIBS -lwinmm -ldsound -ldxguid -lole32

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


Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Hermann Schiffer
Am Sunday, 6. February 2005 14:12 schrieb Frederic Bouvier:
 Erik Hofman a écrit :

  off
 
  You might want to check if the glx-dev package is installed, or the
  glx.h header is present on your system.

 Perhaps John can enlight us on the system he use. My bet would be on
 cygwin looking the way the error was clipped.

Hi,

I have the same problem on Debian. Theres two different glx.h residing on my 
system, one in /usr/include/GL and one in /usr/X11R6/include/GL.
I tried several combinations of the two files in the two places, no luck 
though.

Any ideas?
Hermann

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


Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Frederic Bouvier
Hermann Schiffer a écrit :
Am Sunday, 6. February 2005 14:12 schrieb Frederic Bouvier:
 

Erik Hofman a écrit :
   

 

off
   

You might want to check if the glx-dev package is installed, or the
glx.h header is present on your system.
 

Perhaps John can enlight us on the system he use. My bet would be on
cygwin looking the way the error was clipped.
   

Hi,
I have the same problem on Debian. Theres two different glx.h residing on my 
system, one in /usr/include/GL and one in /usr/X11R6/include/GL.
I tried several combinations of the two files in the two places, no luck 
though.
 

On my debian system /usr/include/GL/glx.h is a link to 
/usr/X11R6/include/GL/glx.h

-Fred

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


Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread John Wojnaroski

- Original Message -
From: Frederic Bouvier [EMAIL PROTECTED]
To: FlightGear developers discussions flightgear-devel@flightgear.org
Sent: Sunday, February 06, 2005 5:12 AM
Subject: Re: [Flightgear-devel] SimGear CVS errors



Perhaps John can enlight us on the system he use. My bet would be on
cygwin looking the way the error was clipped.

Debian with a Nvidia card and glut-3.7 which I thought included the gl
extensions.  I'll have to go back and review just what is on this machine.
It's been a while since I messed with the configuration...

Thanks
John W.



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


Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Hermann Schiffer

 I have the same problem on Debian. Theres two different glx.h residing on
  my system, one in /usr/include/GL and one in /usr/X11R6/include/GL.
 I tried several combinations of the two files in the two places, no luck
 though.

 On my debian system /usr/include/GL/glx.h is a link to
 /usr/X11R6/include/GL/glx.h

 -Fred

I got it sorted: It seems like (on linux) the video driver comes with the 
GL(X) header files, in my case with an Nvidia card, I installed them 
using ' ./NVIDIA-Linux-x86-1.0-6629-pkg1.run --opengl-headers' :

--opengl-headers
  Normally, installation does not install NVIDIA's OpenGL header
  files.  This option enables installation of the NVIDIA OpenGL
  header files.

This put the files in /usr/include/GL, but simgear picked them up from 
/usr/X11R6/include/GL, so i just copied  glx.h and glxtokens.h (glxtokens.h
is included by glx.h and contains the missing definitions). Not sure what 
other files are involved besides those two, but that did the trick for me so 
far.

Hermann

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


Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread John Wojnaroski






Hermann Schiffer wrote:

  

  I have the same problem on Debian. Theres two different glx.h residing on
my system, one in /usr/include/GL and one in /usr/X11R6/include/GL.
I tried several combinations of the two files in the two places, no luck
though.
  

On my debian system /usr/include/GL/glx.h is a link to
/usr/X11R6/include/GL/glx.h

-Fred

  
  
I got it sorted: It seems like (on linux) the video driver comes with the 
GL(X) header files, in my case with an Nvidia card, I installed them 
using ' ./NVIDIA-Linux-x86-1.0-6629-pkg1.run --opengl-headers' :

--opengl-headers
  Normally, installation does not install NVIDIA's OpenGL header
  files.  This option enables installation of the NVIDIA OpenGL
  header files.

This put the files in /usr/include/GL, but simgear picked them up from 
/usr/X11R6/include/GL, so i just copied  glx.h and glxtokens.h (glxtokens.h
is included by glx.h and contains the missing definitions). Not sure what 
other files are involved besides those two, but that did the trick for me so 
far.

Hermann

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

  

Yup, nicely done. worked here as well. 

Thanks
John W


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

Re: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Paul Surgeon
 Hermann Schiffer wrote:
 --opengl-headers
   Normally, installation does not install NVIDIA's OpenGL header
   files.  This option enables installation of the NVIDIA OpenGL
   header files.

The nVidia installer puts the header files 
under /usr/share/doc/NVIDIA_GLX-1.0/include/GL by default or where ever your 
distros documentation folder is.
I just do a normal install and then copy them by hand to /usr/include/GL

If you have all the mesa devel stuff installed it's unnecessary to use the 
nVidia headers although they won't hurt.

Paul

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


RE: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Giles Robertson
 *** 258,264 
   case ${host} in
   *-*-cygwin* | *-*-mingw32*)
   dnl CygWin under Windoze.
 !
   AC_SEARCH_LIBS(alGenBuffers, openal32)
   AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] )
   LIBS=$LIBS -lwinmm -ldsound -ldxguid -lole32
 --- 258,265 
   case ${host} in
   *-*-cygwin* | *-*-mingw32*)
   dnl CygWin under Windoze.
 ! INCLUDES=$INCLUDES -I/usr/local/include
 ! LIBS=$LIBS -L/usr/local/lib
   AC_SEARCH_LIBS(alGenBuffers, openal32)
   AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] )
   LIBS=$LIBS -lwinmm -ldsound -ldxguid -lole32

In case anyone's interested, I have at times had to add -lwsock32 to
LIBS to get some compiles working under mingw (with network programs).
I forget if that's currently the case for FlightGear.

Giles Robertson

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


RE: [Flightgear-devel] SimGear CVS errors

2005-02-06 Thread Norman Vine
Giles  Robertson writes:
 
 In case anyone's interested, I have at times had to add -lwsock32 to
 LIBS to get some compiles working under mingw (with network programs).
 I forget if that's currently the case for FlightGear.

please use '-lws2_32'   it is a better library

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