RE: [Plib-users] Compiling problems in SGI Irix 6.5.7
Brought to you by:
sjbaker
From: Norman V. <nh...@ca...> - 2000-05-04 08:56:06
|
Wein Gui writes: > >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. > Hmm, Looks like <float.h> is not getting picked up by your compiler Try adding #include <float.h> to the top of offenfing files >cc-1020 CC: ERROR File = sgIsect.cxx, Line = 29 > The identifier "FLT_EPSILON" is undefined. > > if ( dnorm < FLT_EPSILON ) > ^ > > >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 ; > ^ > Known problem fix is to replace offending lines wirh sgCopyVec4 ( specular_colour, src -> specular_colour ) ; sgCopyVec4 ( emission_colour, src -> emission_colour ) ; sgCopyVec4 ( ambient_colour, src -> ambient_colour ) ; sgCopyVec4 ( diffuse_colour, src -> diffuse_colour ) ; Welcome Aboard Norman |