Looks like some includes are lacking.
isnan maybe in  cmath.h , gettimeofday in sys/time.h , try including those
in libgazebo/SimulatorIface.cc



On Fri, Sep 4, 2009 at 10:43 PM, Timothy Chan <[email protected]> wrote:

> Hi all,
>
>
>
> I am having problems building Gazebo and was hoping I could find some help
> here. I first ran CMake which was successful with the exception of the
> module "websim" and "webgazebo." When I ran make I encountered the errors
> listed below. Does anybody have any suggestions about how I can get around
> this? I am running Ubuntu 8.10
>
>
>
> -Tim
>
>
>
> -- Gazebo version 0.9.0
>
> -- ====== Finding 3rd Party Packages ======
>
> -- Operating system is Linux
>
> -- checking for module 'freeimage>=3.10.0'
>
> --   package 'freeimage>=3.10.0' not found
>
> --   freeimage.pc not found, trying freeimage_include_dir and
>
> freeimage_library_dir flags.
>
> --   Looking for FreeImage.h - found
>
> --   Looking for libfreeimage - found
>
> -- checking for module 'websim'
>
> --   package 'websim' not found
>
> -- Warning: Websim not found. Webgazebo will not be built
>
> -- Boost Include Path: /usr/include
>
> -- Boost Library Path: /usr/lib
>
> -- Boost Libraries:
>
> ;/usr/lib/libboost_thread-mt.so;/usr/lib/libboost_signals-mt.so
>
> -- Looking for avformat.h - found
>
> -- Looking for avcodec.h - found
>
> -- Looking for event.h - not found
>
> --   Warning: webgazebo will not be built
>
> -- Looking for ltdl.h - found
>
> -- Looking for libltdl - found
>
> -- ----------------------------------------
>
> -- Cmake C Flags:
>
> -- Build Type: RELEASE
>
> -- Install path: /usr/local
>
> -- Configuring done
>
> -- Generating done
>
> -- Build files have been written to: /home/timchan/gazebo-0.9.0/build
> Scanning dependencies of target gazeboshm [  0%] Building CXX object
> libgazebo/CMakeFiles/gazeboshm.dir/Server.o
>
> [  1%] Building CXX object libgazebo/CMakeFiles/gazeboshm.dir/Client.o
>
> [  2%] Building CXX object libgazebo/CMakeFiles/gazeboshm.dir/Iface.o
>
> [  3%] Building CXX object
> libgazebo/CMakeFiles/gazeboshm.dir/IfaceFactory.o
>
> [  4%] Building CXX object libgazebo/CMakeFiles/gazeboshm.dir/SimIface.o
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc: In member function ?bool
> gazebo::SimulationIface::WaitForResponse()?:
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:43: error:
>
> ?gettimeofday? was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc: In member function ?void
> gazebo::SimulationIface::SetState(const char*, gazebo::Pose&,
> gazebo::Vec3&,
> gazebo::Vec3&, gazebo::Vec3&, gazebo::Vec3&)?:
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:269: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:270: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:271: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:272: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:273: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:274: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:276: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:277: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:278: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:279: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:280: error: ?isnan?
>
> was not declared in this scope
>
> /home/timchan/gazebo-0.9.0/libgazebo/SimIface.cc:281: error: ?isnan?
>
> was not declared in this scope
>
> make[2]: *** [libgazebo/CMakeFiles/gazeboshm.dir/SimIface.o] Error 1
>
> make[1]: *** [libgazebo/CMakeFiles/gazeboshm.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>



-- 
Jordi Polo Carres
NLP laboratory - NAIST
http://www.bahasara.org
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to