SPHERES

Daniel Galuchon asphddg at cid.aes.doe.ca
Fri May 17 22:24:31 AEST 1991



   Anybody knows how to generate a nice sphere with 'gl'?
   'sphere.h' seems to have nice possibilies, but I have
   been unable to use it. I have the following includes:

     #include <gl.h>
     #include <device.h>
     #include <math.h>
     #include <gl/sphere.h>


   I have also one call to 'sphdraw'.
   When I compile, it does'nt find 'genobj' 'fsqrt' 'acos' 'tan':


        cc -O -I./include   -c planet.c
        cc planet.o litparam.o -o ../planet -O -I./include  -lgl_s -lm -lsphere 

        /usr/bin/ld:
        Undefined:
        genobj
        fsqrt
        acos
        tan
        *** Error code 1



More information about the Comp.sys.sgi mailing list