[GRASS5] Darwin Pre1 NVIZ

On Tuesday, June 5, 2001, at 03:07 AM, Glynn Clements wrote:

#openGL files for NVIZ/r3.showdspf
OPENGLINC = -I/usr/include -I/usr/X11R6/include
OPENGLwINC = -I/usr/include -I/usr/X11R6/include
OPENGLLIB = -L/usr/lib -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib -lGL
OPENGLULIB = -lGLU
LGLWM = -lGLw
OPENGL32 =

What did configure have to say? Is there anything relevant in
config.log? A successful run will look something like:

Thanks Glynn!

ALL-RIGHT!!!

NVIZ, is now built for Mac OS X!

The entry in my header was blank for OPENGLwINC, OPENGLULIB and LGLWM, after I filled them in, boom! We have NVIZ!

Distrubution question: After Grass is built, does NVIZ require Mesa to be installed on the machine?

Configure did complain about not finding certain GL headers/libs...

Following is the relevant config.log output:

gluBeginCurve()
; return 0; }
configure:4310: checking for GLwDrawingAreaMakeCurrent in -lGLw
configure:4329: gcc -o conftest -O3 -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11r6/lib -L/usr/X11R6/lib/X11 -lXt -lXm conftest.c -lGLw 1>&5
/usr/bin/ld: can't locate file for: -lXm
configure: failed program was:
#line 4318 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply. */
char GLwDrawingAreaMakeCurrent();

int main() {
GLwDrawingAreaMakeCurrent()
; return 0; }
configure:4350: checking for GLwCreateMDrawingArea in -lGLwM
configure:4369: gcc -o conftest -O3 -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11r6/lib -L/usr/X11R6/lib/X11 -lXt -lXm conftest.c -lGLwM 1>&5
/usr/bin/ld: can't locate file for: -lXm
configure: failed program was:
#line 4358 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply. */
char GLwCreateMDrawingArea();

int main() {
GLwCreateMDrawingArea()
; return 0; }

Thanks again,

Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481

Jeshua Lacock wrote:

> #openGL files for NVIZ/r3.showdspf
> OPENGLINC = -I/usr/include -I/usr/X11R6/include
> OPENGLwINC = -I/usr/include -I/usr/X11R6/include
> OPENGLLIB = -L/usr/lib -L/usr/local/lib -L/usr/lib/X11
> -L/usr/X11R6/lib -lGL
> OPENGLULIB = -lGLU
> LGLWM = -lGLw
> OPENGL32 =
>
> What did configure have to say? Is there anything relevant in
> config.log? A successful run will look something like:

Thanks Glynn!

ALL-RIGHT!!!

Well, not entirely:

NVIZ, is now built for Mac OS X!

The entry in my header was blank for OPENGLwINC, OPENGLULIB and LGLWM,
after I filled them in, boom! We have NVIZ!

"configure" should be filling in OPENGLULIB by itself.

Distrubution question: After Grass is built, does NVIZ require Mesa to
be installed on the machine?

It depends whether NVIZ is linked against shared Mesa libraries.

Configure did complain about not finding certain GL headers/libs...

Following is the relevant config.log output:

gluBeginCurve()
; return 0; }

It's the bit immediately before this which is relevant. The above are
the last two lines of the program which is used to check for libGLU.
What's required are the compile command and its error message, which
immediately precede the program.

configure:4310: checking for GLwDrawingAreaMakeCurrent in -lGLw

NVIZ doesn't require the GLw or GLwM libraries, which is what this is
checking for.

--
Glynn Clements <glynn.clements@virgin.net>

-lXm ---> motif X libraries (only needed by r3.showdspf, which shouldn't
    be compiled)

The GLw... variants are for GL widget library. Again, only for
  r3.showdspf

You do have to have Mesa/OpenGL in order to run NVIZ. But not the Mesa
widgets (usually packaged separately).

Basically, no worries (except the last item).

--
Eric G. Miller <egm2@jps.net>

dear grass user,

i'm new to using grass, i was using linux red hat 7.0
as an OS. now i have some problem to start the display
monitor (x0, x1, x2... x6, CELL, HTMLMAP) i try to
refer all manual which i have and from the internet
then follow the instruction but it was not happend....

the problem is when i give command to start the
monitor (x0) the monitor cannot be start and give the
message:

Sorry, </usr/local/grass5/dev/fifo.1a> not available
Have GRASS administrator check etc/monitorcap file
Can't stat /usr/local/grass5/dev/fifo.1a
Problem selecting x0. Will try once more
Can't stat /usr/local/grass5/dev/fifo.1a

i was login as user to run this grass program.

thank you

best ragard

mior

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/