Re: [Plib-devel] Compiling problems in SGI Irix 6.5.7
Brought to you by:
sjbaker
From: Curtis L. O. <cu...@me...> - 2000-05-04 13:54:47
|
Wein, You might try 'grep'ing through your /usr/include directory for this missing identifyer. It could be that for irix, you need an additional #include. Regards, Curt. Wein Gui writes: > Hi, friends, > > I am trying my first compilation of Plib for FlightGear, and use SGI > Octane machine's 7.3 C++ compiler in IRIX 6.5.7. > > I have installed all the needed libraries without any problems and > configure is happy. But now when I tried to "make", it stops on an > error: > > --------------------------Error 1-------------------------- > CC -DPACKAGE=\"plib\" -DVERSION=\"1.1.11\" -DHAVE_LIBGLCORE=1 > -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT > =1 -DHAVE_LIBAUDIO=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 > -DGLUT_IS_PRESENT=1 -I. -I. -g -I/usr/local/include > -L/usr/local/lib -c sgIsect.cxx > cc-1020 CC: ERROR File = sgIsect.cxx, Line = 29 > The identifier "FLT_EPSILON" is undefined. > > if ( dnorm < FLT_EPSILON ) > ^ > > cc-1020 CC: ERROR File = sgIsect.cxx, Line = 89 > The identifier "FLT_EPSILON" is undefined. > > if ( sgAbs ( tmp ) < FLT_EPSILON ) > ^ > > cc-1020 CC: ERROR File = sgIsect.cxx, Line = 127 > The identifier "FLT_EPSILON" is undefined. > > if ( dist < FLT_EPSILON ) > ^ > 3 errors detected in the compilation of "sgIsect.cxx". > *** Error code 2 (bu21) > *** Error code 1 (bu21) > *** Error code 1 (bu21) > -------------------Error 1 end----------------------- > > > > > I define the FLT_EPSILON to a value randomly, say, 1.0, > it continues "make" and stops at another big error: > > -------------------Error 2 begin----------------- > > > cc-1133 CC: ERROR File = ssgSimpleState.cxx, Line = 18 > Expression must be a modifiable lvalue. > > specular_colour = src -> specular_colour ; > ^ > > cc-1133 CC: ERROR File = ssgSimpleState.cxx, Line = 19 > Expression must be a modifiable lvalue. > > emission_colour = src -> emission_colour ; > ^ > > cc-1133 CC: ERROR File = ssgSimpleState.cxx, Line = 20 > Expression must be a modifiable lvalue. > > ambient_colour = src -> ambient_colour ; > ^ > > cc-1133 CC: ERROR File = ssgSimpleState.cxx, Line = 21 > Expression must be a modifiable lvalue. > > diffuse_colour = src -> diffuse_colour ; > ^ > > 4 errors detected in the compilation of "ssgSimpleState.cxx". > *** Error code 2 (bu21) > *** Error code 1 (bu21) > *** Error code 1 (bu21) > > ------------------------------------ > > > How to solve these problems? Would you please kindly enough > to help me to finish "make" in SGI environment? > > Many thanks. > > -Wein > > > ____________________________________________________________________ > Get free email and a permanent address at http://www.netaddress.com/?N=1 > > _______________________________________________ > plib-devel mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-devel -- Curtis Olson Human Factors Research Lab Flight Gear Project Twin Cities cu...@hf... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org |