unfortunately I still get the same error on revision 160.


On 10/3/07, Nate Koenig <[EMAIL PROTECTED]> wrote:
>
> The compilation problems are my fault. I forgot to check in some
> files. Try getting the latest version, and fltk problem should also be
> fixed.
>
> -nate
>
> On 10/3/07, Stanisław Szymczyk <[EMAIL PROTECTED]> wrote:
> > It looks like you are using headers from old (stable) version of
> > Player. You have to check out current version of Player from CVS and
> > use it to compile Gazebo from SVN.
> >
> > Regards
> > Stanislaw Szymczyk
> >
> > On 10/3/07, Alvaro Aguilera <[EMAIL PROTECTED]> wrote:
> > > Thanks for your help. I did the changes you mentioned and updated to
> > > revision 126 but there are still problems.
> > >
> > > For the record: for some weird reason you must have both fltk-1 _and_
> fltk-2
> > > installed for the gui to compile. At least on my system.
> > >
> > ...
> > > if I comment the problematic line out (it doesn't seem to do anything
> > > anyways) I get the following:
> > >
> > > g++ -o player/CameraInterface.o -c -ggdb -O2 -g -fmessage-length=0
> > > -DOGRE_GUI_gtk -DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN
> > > -D_FORTIFY_SOURCE=2 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I.
> -Iserver
> > > -Iserver/models -Iserver/gui -Iserver/gui/fltk -Ilibgazebo
> > > -Iserver/rendering -Iserver/sensors -Iserver/sensors/camera
> > > -Iserver/sensors/ray -Iserver/physics -Iserver/physics/ode
> > > -Iserver/controllers -Iserver/controllers/position2d
> > > -Iserver/controllers/position2d/pioneer2dx
> > > -I/usr/include/OGRE -I/usr/include/libxml2 -I/usr/include/OIS
> > > -I/usr/local/include -I/usr/X11R6/include -I/usr/include
> > > -I/usr/include/freetype2 -I/usr/local/include/player- 2.0
> > > player/CameraInterface.cc
> > > player/GazeboDriver.hh:64: error: 'QueuePointer' has not been declared
> > > player/GazeboInterface.hh:53: error: 'QueuePointer' has not been
> declared
> > > player/CameraInterface.hh:54: error: 'QueuePointer' has not been
> declared
> > > player/CameraInterface.cc:67: error: 'int
> > > gazebo::CameraInterface::ProcessMessage' is not a static
> > > member of 'class gazebo::CameraInterface'
> > > player/CameraInterface.cc:67: error: 'QueuePointer' was not declared
> in this
> > > scope
> > > player/CameraInterface.cc:67: error: 'respQueue' was not declared in
> this
> > > scope
> > > player/CameraInterface.cc:68: error: expected primary-expression
> before '*'
> > > token
> > > player/CameraInterface.cc:68: error: 'hdr' was not declared in this
> scope
> > > player/CameraInterface.cc:68: error: expected primary-expression
> before
> > > 'void'
> > > player/CameraInterface.cc:68: error: initializer expression list
> treated as
> > > compound expression
> > > player/CameraInterface.cc:69: error: expected ',' or ';' before '{'
> token
> > > player/CameraInterface.cc: In member function 'virtual void
> > > gazebo::CameraInterface::Update()':
> > > player/CameraInterface.cc:115: error: invalid conversion from 'int' to
> > > 'MessageQueue*'
> > > player/CameraInterface.cc:115: error:   initializing argument 2 of
> 'void
> > > Driver::Publish(player_devaddr_t, MessageQueue*, uint8_t,
> > > uint8_t, void*, size_t, double*)'
> > > player/CameraInterface.cc:115: error: invalid conversion from 'void*'
> to
> > > 'uint8_t'
> > > player/CameraInterface.cc:115: error:   initializing argument 4 of
> 'void
> > > Driver::Publish(player_devaddr_t, MessageQueue*, uint8_t,
> > > uint8_t, void*, size_t, double*)'
> > > player/CameraInterface.cc:115: error: invalid conversion from 'size_t'
> to
> > > 'void*'
> > > player/CameraInterface.cc:115: error:   initializing argument 5 of
> 'void
> > > Driver::Publish(player_devaddr_t, MessageQueue*, uint8_t,
> > > uint8_t, void*, size_t, double*)'
> > > player/CameraInterface.cc:115: error: invalid conversion from
> 'double*' to
> > > 'size_t'
> > > player/CameraInterface.cc:115: error:   initializing argument 6 of
> 'void
> > > Driver::Publish(player_devaddr_t, MessageQueue*, uint8_t,
> > > uint8_t, void*, size_t, double*)'
> > > player/CameraInterface.cc: In member function 'void
> > > gazebo::CameraInterface::SaveFrame(const char*)':
> > > player/CameraInterface.cc:178: warning: ignoring return value of
> 'size_t
> > > fwrite(const void*, size_t, size_t, FILE*)', declared with attribute
> > > warn_unused_result
> > > scons: *** [player/CameraInterface.o] Error 1
> > > scons: building terminated because of errors.
> > >
> > > I think I will start compiling all revisions in descending order to
> see if I
> > > have luck with one of them.
> > >
> > > Regards,
> > >    Alvaro.
> > >
> > >
> > >
> > > >Hello
> > >  >
> > >  >I had the same problems while trying to compile Gazebo on AMD64 and
> > >  >changed problematic casts to (long) instead of (int) in files:
> > >  >
> > >  >* server/physics/Geom.cc (line 218)
> > >  >* server/rendering/OgreAdaptor.cc (lines 345, 349)
> > >  >
> > >  >As far as I remember, Gazebo compiled without problems after these
> > > changes.
> > >  >
> > >  >Also I added "return camera;" at the end of
> OgreAdaptor::CreateCamera
> > >  >method in OgreAdaptor.cc. I really don't know why it wasn't there.
> > >  >Gazebo was crashing badly because of that.
> > >  >
> > >  >Good luck
> > >  >Stanislaw Szymczyk
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to