Wolfram wrote in 
Message-ID <[EMAIL PROTECTED]>:
> Arnt Karlsen writes in:
> Message-ID: <[EMAIL PROTECTED]>
> > Cameroon wrote in 
> > Message-ID: <[EMAIL PROTECTED]>
> >> BTW, your post made it the first time.  I was hoping someone more
> >> knowledgable would answer your questions, but I guess you're stuck with
> >> me!  ;-p
> > 
> >..aouch!  ;-)   which first post? (message id?)
> 
> He probably means the first post about this problem. No one responded
> because no one knows the solution (at least I didn't and I guess it's
> the same for the other people).
 
..I know.  Problem is, I don't know. ;-)  The message id's tells me
which of my first messages was not lost.
 
> >Is this error related to the valid OpenGL context"?
> 
> I can't see how, but might well miss something.
 
..ok, how do I weed out one from the other?
Specficly, how do I get maximum verbose debugging in FG?
 
> >..in FG and ssgInit context, what _is_ "a valid OpenGL context"?
> 
> The OpenGL context is normally not created inside ssg/with ssg
> functions, but in the app. For example, PrettyPolyEditor usses FLTK
> for its GUI and tells FLTK to create a context. The actual code for
> creating the context (in this instance, inside FLTK) is operating
> system specific.
> When you call ssgInit and have no OpenGL context, that's a fatal
> error.
> An OpenGL context is more or less a window into which OpenGL can
> render.
> 
> Bye bye,
> Wolfram.

Norman wrote in 
Message-ID: <002301c11847$b89fa760$a300a8c0@nhv>:
> Arnt Karlsen writes in:
> Message-ID: <[EMAIL PROTECTED]>
> >
> >..how do I _make_ (as in force/hardcode/threathen) 
> >FG to find its root  ($FGROOT?) data directory?
> >I thought I could set this with a ./configure option?
> >Sez so in the docs.   
> >Is this error related to the valid OpenGL context"?
> 
> Why don't you just export $FG_ROOT to enviroment
> ie with bash shell
> export FG_ROOT="YOUR_PATH_TO_FLIGHTGEAR"

..no change:
[arnt@Lena arnt]$ runfgfs
Cannot locate FG root directory (data)
[arnt@Lena arnt]$ fgfs
 
  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<[EMAIL PROTECTED]>
FlightGear:  Version 0.7.8
 
Scanning for root: command line
fg_root = /usr/local/FlightGear
Reading global preferences
Reading properties from /usr/local/FlightGear/preferences.xml
Base is /usr/local/FlightGear/preferences.xml
Dir is /usr/local/FlightGear
Reading properties from /usr/local/FlightGear/keyboard.xml
Base is /usr/local/FlightGear/preferences.xml
Dir is /usr/local/FlightGear
Reading properties from /usr/local/FlightGear/joysticks.xml
Finished Reading global preferences
Processing command line arguments
Opening a window: 800x600
Mesa GLX Indirect
Max texture size = 2048
Depth buffer bits = 16
FATAL: ssgInit called without a valid OpenGL context.

..not even:
[arnt@Lena arnt]$ runfgfs --fg-root=/usr/local/FlightGear
Cannot locate FG root directory (data)
[arnt@Lena arnt]$ fgfs --fg-root=/usr/local/FlightGear
 
  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<[EMAIL PROTECTED]>
FlightGear:  Version 0.7.8
 
Scanning for root: command line
fg_root = /usr/local/FlightGear
Reading global preferences
Reading properties from /usr/local/FlightGear/preferences.xml
Base is /usr/local/FlightGear/preferences.xml
Dir is /usr/local/FlightGear
Reading properties from /usr/local/FlightGear/keyboard.xml
Base is /usr/local/FlightGear/preferences.xml
Dir is /usr/local/FlightGear
Reading properties from /usr/local/FlightGear/joysticks.xml
Finished Reading global preferences
Processing command line arguments
Opening a window: 800x600
Mesa GLX Indirect
Max texture size = 2048
Depth buffer bits = 16
FATAL: ssgInit called without a valid OpenGL context.
[arnt@Lena arnt]$

 
> >> > FATAL: ssgInit called without a valid OpenGL context.
> >
> >..in FG and ssgInit context, what _is_ "a valid OpenGL context"?
> 
> You have an OpenGL or a PLib instalation problem
> ie this is a plib error message saying that it was called
> before OpenGL was up an running
> 
> I run windows so I can not really help you here
> but MAKE SURE PLib is being picked up from
> /usr/lib and that you don't have an older version that was
> installed with the OS

..plib 1.4.2 is picked up fine.

> also make sure that you are picking up the correct Mesa libs

..[arnt@Lena arnt]$ rpm -qil Mesa
Name        : Mesa                         Relocations: /usr
Version     : 3.4.2                             Vendor: Red Hat, Inc.
Release     : 3                             Build Date: Tue 10 Jul 2001
11:38:22 AM CEST
Install date: Sat 21 Jul 2001 01:27:07 PM CEST      Build Host:
stripples.devel.redhat.com
Group       : System Environment/Libraries   Source RPM:
Mesa-3.4.2-3.src.rpm
Size        : 2574821                          License: GPL
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.mesa3d.org
Summary     : A 3-D graphics library similar to OpenGL.
Description :
The Mesa 3-D graphics library is a powerful and generic toolset for
creating hardware assisted computer graphics.  To the extent that Mesa
utilizes the OpenGL command syntax or state machine, it is being used
with authorization from Silicon Graphics, Inc.  However, the author
(Brian Paul) makes no claim that Mesa is in any way a compatible
replacement for OpenGL or associated with Silicon Graphics, Inc. Those
who want a licensed implementation of OpenGL should contact a licensed
vendor.  However, Mesa is very similar to OpenGL, and you might find
Mesa to be a valid alternative to OpenGL.
/etc/mesa.conf
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2.030402
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.1.030402
/usr/lib/libglut.so.3
/usr/lib/libglut.so.3.7.0
/usr/share/doc/Mesa-3.4.2
/usr/share/doc/Mesa-3.4.2/CONFIG
/usr/share/doc/Mesa-3.4.2/CONFORM
/usr/share/doc/Mesa-3.4.2/COPYRIGHT
/usr/share/doc/Mesa-3.4.2/README
/usr/share/doc/Mesa-3.4.2/README.MITS
/usr/share/doc/Mesa-3.4.2/README.X11
/usr/share/doc/Mesa-3.4.2/RELNOTES-3.1
/usr/share/doc/Mesa-3.4.2/RELNOTES-3.2
/usr/share/doc/Mesa-3.4.2/RELNOTES-3.2.1
/usr/share/doc/Mesa-3.4.2/RELNOTES-3.3
/usr/share/doc/Mesa-3.4.2/RELNOTES-3.4
/usr/share/doc/Mesa-3.4.2/RELNOTES-3.4.1
/usr/share/doc/Mesa-3.4.2/RELNOTES-3.4.2
/usr/share/doc/Mesa-3.4.2/VERSIONS

> for your system.  < I bet there are several installed >

..not to my knowlegde.  Ideas for hunting down any?

> Cheers
> 
> Norman


..thanks Cameroon, Wolfram and Norman.
As a linux user who has run _out_ of ideas, I am 
now ready for the weird stuff I havent tried yet, now.  
Like having you guys rewrite things in FG.  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)

  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to