From: Ben G. <bp...@gr...> - 2005-03-01 23:06:12
|
Hi Emilio, This shouldn't happen unless you're using a system that doesn't support NAN. Clodbuster.hh includes Model.hh which includes Vector.hh which includes math.h which should define NAN. Do you need the clodbuster model? If not, running configure with the --disable-clodbuster option is a quick was around this. If you do need it, you could just kill the offending line in ClodBuster.cc. It's a hangover from an option that was unintentionally left in the model. Regards, Ben On Tuesday 01 March 2005 16:29, Emilio Remolina wrote: > Dear all, > > I got the compile error while building gazebo 0.5.1. Any ideas what may > be wrong > > > > make[5]: Entering directory `gazebo/gazebo-0.5.1/server/models/ClodBuster' > > if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../server > -I../../../server/bodies -I../../../toolkit -I../../../libgazebo -Wall -I. > -I../../../server -I../../../server/bodies -I../../../server/sensors > -I../../../server/gui -I../../../libgazebo -I/usr/include/libxml2 > -DGLX_GLXEXT_PROTOTYPES=1 -g -g -O2 -MT ClodBuster.o -MD -MP -MF > ".deps/ClodBuster.Tpo" \ > > -c -o ClodBuster.o `test -f 'ClodBuster.cc' || echo './'`ClodBuster.cc; \ > > then mv -f ".deps/ClodBuster.Tpo" ".deps/ClodBuster.Po"; \ > > else rm -f ".deps/ClodBuster.Tpo"; exit 1; \ > > fi > > ClodBuster.cc: In method `void ClodBuster::IfacePutData ()': > > ClodBuster.cc:509: `NAN' undeclared (first use this function) > > ClodBuster.cc:509: (Each undeclared identifier is reported only once > > for each function it appears in.) |