[GRASS5] [moored@reed.edu: Re: Bugreport GRASS 5]

Dear developers,

one bug fixed, but a new one occured...
Find attached a problem with MESA and
r3.showdspf.openGL

Comments are welcome. Siede note: I could
compile r3.showdspf.openGL without problems,
but attached problem was reported by Eric Mitchell,
too.

Kind regards

Markus

Markus Neteler wrote:

Dear developers,

one bug fixed, but a new one occured...
Find attached a problem with MESA and
r3.showdspf.openGL

Comments are welcome. Siede note: I could
compile r3.showdspf.openGL without problems,
but attached problem was reported by Eric Mitchell,
too.

Kind regards

Markus

  --------------------------------------------------------------------------------

Subject: Re: Bugreport GRASS 5
Date: Wed, 3 May 2000 20:41:22 -0700 (PDT)
From: moored <moored@reed.edu>
To: Markus Neteler <neteler@geog.uni-hannover.de>
CC: dustin.moore@reed.edu

[...]

nit_graphics.c:570: undefined reference to `GLwCreateMDrawingArea'
/home/grass/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/new_i
nit_graphics.c:629: undefined reference to `GLwCreateMDrawingArea'

I got the same message, and didn't find yet a solution. I think that the
problem is in Mesa-3.2/widgets-mesa : there is some file in the include
and src lib that call "GLwCreateMDrawingArea.c", etc...

But when you run the makefile, the libMesaGLw.a created only contains :

GLwDrawingArea.o
MesaDrawingArea.o
MesaWorkstation.o
GLwDrawingAreaMakeCurrent.o
GLwDrawingAreaSwapBuffers.o
GLwMakeCurrent.o

Maybe there is something to change in the makefile to include all functions,
add the library and run ldconfig before attempting to compile g3d
for Grass. I will try this tonight.

Markus, what version of Mesa do you have ? what version of Grass ?
(the latest, I presume :slight_smile: where is your libGLw.a file and where does
it come from ?

--
Michel Wurtz ENGEES - CEREG
                1, quai Koch - BP 1039, F-67070 STRASBOURG cedex
                Tel: +33 03.88.24.82.45 Fax: +33 03.88.37.04.97

----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 3199
max: 0

On Thu, May 04, 2000 at 05:05:55PM +0200, Michel Wurtz - ENGEES/CEREG wrote:

Markus Neteler wrote:
>
> Dear developers,
>
> one bug fixed, but a new one occured...
> Find attached a problem with MESA and
> r3.showdspf.openGL
>
> Comments are welcome. Siede note: I could
> compile r3.showdspf.openGL without problems,
> but attached problem was reported by Eric Mitchell,
> too.
>
> Kind regards
>
> Markus
>
> --------------------------------------------------------------------------------
>
> Subject: Re: Bugreport GRASS 5
> Date: Wed, 3 May 2000 20:41:22 -0700 (PDT)
> From: moored <moored@reed.edu>
> To: Markus Neteler <neteler@geog.uni-hannover.de>
> CC: dustin.moore@reed.edu
[...]
> nit_graphics.c:570: undefined reference to `GLwCreateMDrawingArea'
> /home/grass/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/new_i
> nit_graphics.c:629: undefined reference to `GLwCreateMDrawingArea'

I got the same message, and didn't find yet a solution. I think that the
problem is in Mesa-3.2/widgets-mesa : there is some file in the include
and src lib that call "GLwCreateMDrawingArea.c", etc...

But when you run the makefile, the libMesaGLw.a created only contains :

GLwDrawingArea.o
MesaDrawingArea.o
MesaWorkstation.o
GLwDrawingAreaMakeCurrent.o
GLwDrawingAreaSwapBuffers.o
GLwMakeCurrent.o

Maybe there is something to change in the makefile to include all functions,
add the library and run ldconfig before attempting to compile g3d
for Grass. I will try this tonight.

Markus, what version of Mesa do you have ? what version of Grass ?
(the latest, I presume :slight_smile: where is your libGLw.a file and where does
it come from ?

I compiled MESA 3.1 according to:
http://www.geog.uni-hannover.de/grass/grass5/README.mesa31

Mhh, somehow strange!

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 2674
max: 0

Markus Neteler wrote:

On Thu, May 04, 2000 at 05:05:55PM +0200, Michel Wurtz - ENGEES/CEREG wrote:
> Markus Neteler wrote:
> >
> > Dear developers,
> >
> > one bug fixed, but a new one occured...
> > Find attached a problem with MESA and
> > r3.showdspf.openGL
> >
> > Comments are welcome. Siede note: I could
> > compile r3.showdspf.openGL without problems,
> > but attached problem was reported by Eric Mitchell,
> > too.
> >
> > Kind regards
> >
> > Markus
> >
> > --------------------------------------------------------------------------------
> >
> > Subject: Re: Bugreport GRASS 5
> > Date: Wed, 3 May 2000 20:41:22 -0700 (PDT)
> > From: moored <moored@reed.edu>
> > To: Markus Neteler <neteler@geog.uni-hannover.de>
> > CC: dustin.moore@reed.edu
> [...]
> > nit_graphics.c:570: undefined reference to `GLwCreateMDrawingArea'
> > /home/grass/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/new_i
> > nit_graphics.c:629: undefined reference to `GLwCreateMDrawingArea'
>
> I got the same message, and didn't find yet a solution. I think that the
> problem is in Mesa-3.2/widgets-mesa : there is some file in the include
> and src lib that call "GLwCreateMDrawingArea.c", etc...
>
> But when you run the makefile, the libMesaGLw.a created only contains :
>
> GLwDrawingArea.o
> MesaDrawingArea.o
> MesaWorkstation.o
> GLwDrawingAreaMakeCurrent.o
> GLwDrawingAreaSwapBuffers.o
> GLwMakeCurrent.o
>
> Maybe there is something to change in the makefile to include all functions,
> add the library and run ldconfig before attempting to compile g3d
> for Grass. I will try this tonight.
>

Hi,

this is as usual complicated:
The original sgi-widget set (in widgets-sgi of the mesa distr.), which
is copyrighted by SGI, is replaced with the beta widgets-mesa distr,
which seems not to be compiled by default. The README (of mesa 3.1)
says: "... Provide a GLwDrawingArea widget which is 100%ly compatible
with SGI's widget. Applications should port over with (almost) no
changes to the source... ... Status: The widgets work, but are in
differing stages of completion...". That does not sound very
encouraging.

I tried compiling r3.showdspf.openGL, but the Gmakefile (from GRASS 5.0
beta7) is for Solaris with Motif (includes /usr/dt/share!) and TODO-file
says: "Still need to convert to use OpenGL". Another document states:
..modifications made by Ken Sakai ...

I could'nt compile the mesa-widgets, because libMesaGLU is missing on my
system (i have libGLU). There seems to be an inconsistent way of naming
the libraries in mesa?

I will re-try this with mesa 3.2 in the next days and report again.

cu

Andreas

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de, A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 4262
max: 0

Markus Neteler wrote:
..

OBJ.i586-linux-elf/main_ogl.o: In function `main':
/home/grass/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/main_
ogl.c:188: the `gets' function is dangerous and should not be used.
OBJ.i586-linux-elf/new_init_graphics.o: In function `init_graphics':
/home/grass/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/new_i
nit_graphics.c:570: undefined reference to `GLwCreateMDrawingArea'
/home/grass/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/new_i
nit_graphics.c:629: undefined reference to `GLwCreateMDrawingArea'
collect2: ld returned 1 exit status
make[4]: *** [/home/grass/grass5.0/etc/bin/contrib/cmd/r3.showdspf] Error

The function GLwCreateMDrawingArea is from libGLw and needs Motif as far
as i could figure out yesterday. The Motif parts from the widgets-mesa
directory are not very well tested until now. I think that Motif is
needed to compile libGLw, i have lesstif (0.86.5, very old version)
installed and could not compile r3.showdspf, produced the same error as
above.

Andreas
--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de, A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 2572
max: 0