[GRASS5] Darwin Pre1 NVIZ

Jeshua Lacock jeshua at SierraMaps.com
Tue Jun 5 17:22:26 EDT 2001


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




More information about the grass-dev mailing list