RE: [Plib-users] Compile error `DBL_MAX' undeclared?
Brought to you by:
sjbaker
From: Norman V. <nh...@ca...> - 2001-05-23 01:55:34
|
Michael Larry Strean writes: > >I'm compiling plib-1.3.1 & I get > >c++ -DPACKAGE=\"plib\" -DVERSION=\"1.3.1\" -DHAVE_LIBDL=1 >-DHAVE_LIBGL=1 >-DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 >-DHAVE_GL_GLU_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 >-DGLUT_IS_PRESENT=1 -I. >-I. -I../../src/sg -I../../src/fnt -I../../src/util >-I/usr/local/include -g -O2 -O6 -Wall -c pu.cxx >In file included from pu.h:4, > from puLocal.h:2, > from pu.cxx:2: >../../src/sg/sg.h: In method `void sgBox::empty ()': >../../src/sg/sg.h:844: `FLT_MAX' undeclared (first use this function) you will need to add #include <float.h> in ul.h This is fixed in the current CVS and will be in the upcoming release. Norman VIne |