Martin Spott wrote:

Hello,
I just tried to compile SimGear on Solaris and I encountered a build
error that's totally new to me. Maybe someone could have a look at
this, the respective change must be quite new:

make[3]: Entering directory `/usr/local/src/SimGear/simgear/screen'
g++ -mcpu=hypersparc -mtune=hypersparc -DHAVE_CONFIG_H -I. -I.
-I../../simgear -I../..  -I/opt/gnu/include -I/usr/local/include
-I/opt/FlightGear/include -O3 -D_REENTRANT -c -o texture.o `test -f
'texture.cxx' || echo './'`texture.cxx
texture.cxx: In member function `void SGTexture::make_monochrome(float, 
GLubyte, GLubyte, GLubyte)':
texture.cxx:812: error: `powf' undeclared (first use this function)
texture.cxx:812: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
texture.cxx: In member function `void SGTexture::make_grayscale(float)':
texture.cxx:840: error: `powf' undeclared (first use this function)
make[3]: *** [texture.o] Error 1


I could offer additional diagnosis tomorrow but now I'll have to go to bed,



My knee jerk reaction would be to run "man powf" and assuming it exists in solaris, see what #includes the man page suggests and add them.


Regards,

Curt.

--
Curtis Olson http://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/
FlightGear Project http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d



_______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to