Hello,

Could you try one thing for me?

In player/Makefile.am. Uncomment this line:

libgazeboplugin_la_LDFLAGS = -L../libgazebo

Then run the the attached shell script in the root of gazebo, and
re-configure and make.
Let me know it all works.

Thanks,

-nate

On 11/2/06, Nathan Michael <[EMAIL PROTECTED]> wrote:
Hello,

Gazebo 0.7 fails to build on Mac OS X 10.4.8.

The resulting error is:

/usr/bin/libtool: file: -lgazebo is not an object file (not allowed
in a library)
make[2]: *** [libgazeboplugin.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The error occurs when compiling libgazeboplugin. The reason is that
the directory of libgazebo is not defined in the player/Makefile.in.

The following patch resolved the problem on my system:
player/Makefile.in, Line 243
Originally,
@[EMAIL PROTECTED] = @PLAYER_LIBS@ -lgazebo
Change to:
@[EMAIL PROTECTED] = @PLAYER_LIBS@ -L$
(top_builddir)/libgazebo -lgazebo

Thank you,

Nathan

On Nov 2, 2006, at 5:42 PM, Nate Koenig wrote:

> Hello,
>
> Try installing gazebo 0.7, and let me know if it doesn't work.
>
> -nate
>
> On 11/1/06, Dave Wooden <[EMAIL PROTECTED]> wrote:
>> Player version 2.0.2
>> Gazebo version 0.6.0 (0.6.1?)
>>
>> I'm interested in using Gazebo to simulate GPS data and provide it
>> through player.  From the previous thread related to this subject
>> (GPS
>> device for player) I got the Gazebo GpsInterface.cc/hh.  These I
>> installed in gazebo/player, and now I can see the GPS coordinates in
>> Gazebo.
>> In order to get gazebo to add the new interface, I added GpsInterface
>> to what looked like the obvious places in the gazebo-0.6.0/player
>> Makefile (and in the .deps subdirectory).
>>
>> My problem is that when i configure player to provide the gps data
>> from gazebo, I get the error:
>>
>> ===========
>> trying to load /projects/ugc/src/trunk/share/player/config/
>> libgazeboplugin...
>> trying to load /projects/ugc/src/trunk/lib/libgazeboplugin...
>> success invoking player_driver_init()...
>>
>>  ** Gazebo plugin v0.6.0 **
>>  * Part of the Player/Stage Project [http://
>> playerstage.sourceforge.net]
>>  * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey,
>> Nathan Koenig
>>  * and contributors. Released under the GNU General Public License
>> v2.
>> success
>>   Gazebo driver creating 1 device
>>    6665.31.0 is gz_client.c:122 opening /tmp/gazebo-wooden-0
>> gz_iface.c:214 opening /tmp/gazebo-wooden-0/sim.default 060 180
>>   Gazebo driver creating 1 device
>>    6665.4.0 is   Gazebo driver creating 1 device
>>    6665.13.0 is error: Gazebo driver doesn't support interface
>> type 13
>> error   : Initialization failed for driver "gazebo"
>> error   : failed to parse config file share/player/config/ugc.cfg
>> ===========
>>
>> So, player things that gps (device 13) is unknown.  My player config
>> looks like this:
>>
>> ===========
>> driver
>> (
>>   name "gazebo"
>>   provides ["simulation:0"]
>>   plugin "libgazeboplugin"
>>   server_id "default"
>> )
>>
>> driver
>> (
>>   name "gazebo"
>>   provides ["position2d:0"]
>>   gz_id "car1"
>> )
>>
>> driver
>> (
>>   name "gazebo"
>>   provides ["gps:0"]
>>   gz_id "gps1"
>> )
>> ===========
>>
>> After I saw that gazebo was displaying the GPS info correctly, I
>> reinstalled player 2.0.2 from a fresh build, but got the same error.
>> I can't find anywhere in the player source to specify the devices
>> that
>> gazebo should know about.
>>
>> Any ideas on how I can get player to provde the GPS data?
>>
>> -dave wooden
>>
>> ---------------------------------------------------------------------
>> ----
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?
>> cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Attachment: bootstrap
Description: Binary data

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to