[GRASSLIST:3444] Re: Compiling r3.showdspf -- Summarized solution

Dietrich Lange derdietrich at yahoo.de
Thu Apr 4 17:31:38 EST 2002


Hello, 

thank you for your answers. 

Because it was a little bit complicated to install the
r3* tools and regarding the compilation of 
r3.showdspf.openGL  i summarized all i done to 
get the executables.

I did it as described in the previous articles and
with the help of 
http://www.geog.uni-hannover.de/grass/grass5/README.mesa31
but some things  don't work as described, so i
summarize now what i have done:

To obtain libMesaGLw.a and  libMesaGLwM.a

I downloaded form  http://www.mesa3d.org/
the file  Mesalib-3.x.tar.gz 
and compiled itlike ist das written in the
docs/INSTALL file:

./configure --prefix=/usr
make
make install
	
For the libaries libGLwM.a libGLwM.a and which seems
to be similar or equal to libMesaGLw.a libMesaGLwM.a
you have to go to the mesa directory: ./widgets-mesa,
and not to the directory
./widgets-sgi as desribed in the link above. There is
also an configure file,
which i didn't found in widgets-sgi. Thats the reason
i stucked during comilation.

I compiled that directory with make instead of make
linux-elf as described in
the html document above:

as root:

make

and then as described:

cp -dpai libGLw.so* /usr/lib  

and updated the linker:

/sbin/ldconfig 

Then i canged to the main branch of the experimental
grass5 sources, which were
already compiled the normal way. There i changed the
file:

src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/Gmakefile

as shown below, and not as described in
[GRASSLIST:1489]:Re: r3.showdspf, 
because there they seem to work with the mesa
libaries:

original: 
OGLLIB=  $(OPENGLULIB) -lGL $(LGLWM) -lXm -lX11 -lXt
-lXext
changed to: 
OGLLIB=  $(OPENGLULIB)  -lGL -lGLw -lMesaGLw
-lMesaGLwM ${LGLWM} -lXm -lX11 -lXt -lXext

then i changed back to the main-directory of grass and
did:
gmake5 -i src.contrib/GMSL/g3d
gmakelinks5 -i


and finally i could use the r3* commands and.

Thanks for your fast answer to my question yesterday.

Greetings 
Carl Dietrich Lange

derdietrich at yahoo.de


The following packages i used on an suse linux 7.3
computer with GL-graphics card:

xf86-4.1.0-45
xf86_glx-4.1.0-45
xf86glu-4.1.0-45
xf86glx-devel-4.1.0-63
xf86glu-devel-4.1.0-63
mesa-3.4.2-42
mesaglut-3.4.2-42
mesasoft-3.4.2-42
mesademos-3.4.2-57
mesa-devel-3.4.2-57
mesaglu-devel-3.4.2-57
mesaglut-devel-3.4.2-57
mesaglu-3.4.2-57
libtiff-3.5.5-195
lesstif-devel-0.92.32-47
lesstif-0.92.32-47
openmotif-devel-2.1.3
i think that is much to much, and only have of the
rpm's is needed :)










__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Sie brauchen mehr Speicher für Ihre E-Mails? - http://premiummail.yahoo.de



More information about the grass-user mailing list