Problem of ~/.gazeborc file

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Problem of ~/.gazeborc file

pt523
Hi

I'm new to Linux and Gazebo but desperately need to use Gazebo on my research.

I've managed to solve some problems until finally Gazebo was installed on my computer. However, after spending several days looking at a problem of ~/.gazeborc, I still can't solve it.

I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE V1.4.4 and ODE V0.8. When I type

-------------------------------------------------------------------------------------------
root@pitiwut-desktop:/# gazebo /usr/local/share/gazebo/worlds/test.world
-------------------------------------------------------------------------------------------

I get ,

-------------------------------------------------------------------------------------------
Gazebo multi-robot simulator, version 0.8-pre3

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

[server/GazeboConfig.cc:101]
  Unable to find the file ~/.gazeborc. Using default paths. This may cause OGRE to fail.
Segmentation fault
-------------------------------------------------------------------------------------------

After looking in the archives, what I understand is ~/.gazeborc. should be automatically created by the builder and is placed in the user's home directory. However I can't see it in my home directory.

I think I might did something wrong but I have no idea what I did wrong. If you want some more information please tell me I'll try providing all information for you.

Any ideas and advices would be appreciated. Thanks in advance.

Pitiwut
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Andrés Faína Rodrí­guez-Vila
Hi,

the solution to your problem is:

http://www.mail-archive.com/playerstage-gazebo@.../msg00851.html

Bye!


pt523 escribió:

> Hi
>
> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
> research.
>
> I've managed to solve some problems until finally Gazebo was installed on my
> computer. However, after spending several days looking at a problem of
> ~/.gazeborc, I still can't solve it.
>
> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE V1.4.4 and
> ODE V0.8. When I type
>
> -------------------------------------------------------------------------------------------
> root@pitiwut-desktop:/# gazebo /usr/local/share/gazebo/worlds/test.world
> -------------------------------------------------------------------------------------------
>
> I get ,
>
> -------------------------------------------------------------------------------------------
> Gazebo multi-robot simulator, version 0.8-pre3
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:101]
>   Unable to find the file ~/.gazeborc. Using default paths. This may cause
> OGRE to fail.
> Segmentation fault
> -------------------------------------------------------------------------------------------
>
> After looking in the archives, what I understand is ~/.gazeborc. should be
> automatically created by the builder and is placed in the user's home
> directory. However I can't see it in my home directory.
>
> I think I might did something wrong but I have no idea what I did wrong. If
> you want some more information please tell me I'll try providing all
> information for you.
>
> Any ideas and advices would be appreciated. Thanks in advance.
>
> Pitiwut
>
>  


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

pt523
Hi,

Thank you very much for your advise. Actually I've seen that archive already but I'm not sure what exactly I have to do with the ~/.gazeborc file. I assume that in my case ~/.gazeborc file wasn't automatically built so I have to create it myself. Is that right?

Anyway what I already done was I created files named gazeborc, .gazebo and ~/.gazeborc and put them in my /home directory and also /home/pitiwut directory. The content of the gazeborc files looks like this
------------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<gazeborc>
  <gazeboPath>/usr/local/share/gazebo</gazeboPath>
  <gazeboPath>/home/pitiwut/share/gazebo</gazeboPath>
  <ogrePath>/usr/local/lib/OGRE</ogrePath>
  <gazeboPath>/home/pitiwut/local/lib/OGRE</gazeboPath>
  <RTTMode>PBuffer</RTTMode>
</gazeborc>
------------------------------------------------------------------------------------------------------------------

However, it still can't solve the problem. Am I misunderstand something?

This is the output I get

------------------------------------------------------------------------------------------------------------------
Gazebo multi-robot simulator, version 0.8-pre3

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

[server/GazeboConfig.cc:101]
  Unable to find the file ~/.gazeborc. Using default paths. This may cause OGRE to fail.
gazebo: ../../../OgreMain/include/OgreSingleton.h:66: Ogre::Singleton<T>::Singleton() [with T = Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
Aborted
-----------------------------------------------------------------------------------------------------------------

Apart from "Segmentation fault" I got last time, now it shows "Assertion `!ms_Singleton' failed.". Is this error related to the ~/.gazeborc file or it is another problem?

Pitiwut

Andrés Faína Rodrí­guez-Vila wrote
Hi,

the solution to your problem is:

http://www.mail-archive.com/playerstage-gazebo@lists.sourceforge.net/msg00851.html

Bye!


pt523 escribió:
> Hi
>
> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
> research.
>
> I've managed to solve some problems until finally Gazebo was installed on my
> computer. However, after spending several days looking at a problem of
> ~/.gazeborc, I still can't solve it.
>
> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE V1.4.4 and
> ODE V0.8. When I type
>
> -------------------------------------------------------------------------------------------
> root@pitiwut-desktop:/# gazebo /usr/local/share/gazebo/worlds/test.world
> -------------------------------------------------------------------------------------------
>
> I get ,
>
> -------------------------------------------------------------------------------------------
> Gazebo multi-robot simulator, version 0.8-pre3
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:101]
>   Unable to find the file ~/.gazeborc. Using default paths. This may cause
> OGRE to fail.
> Segmentation fault
> -------------------------------------------------------------------------------------------
>
> After looking in the archives, what I understand is ~/.gazeborc. should be
> automatically created by the builder and is placed in the user's home
> directory. However I can't see it in my home directory.
>
> I think I might did something wrong but I have no idea what I did wrong. If
> you want some more information please tell me I'll try providing all
> information for you.
>
> Any ideas and advices would be appreciated. Thanks in advance.
>
> Pitiwut
>
>  


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Luis Manso
AFAIK, it is created at install-time only in the home directory of the
particular user installing the simulator. Probably it should be
automatically created in run-time if it does not exist. I can submit a patch
if needed.

On Tue, Jan 12, 2010 at 1:51 PM, pt523 <[hidden email]> wrote:

>
> Hi,
>
> Thank you very much for your advise. Actually I've seen that archive
> already
> but I'm not sure what exactly I have to do with the ~/.gazeborc file. I
> assume that in my case ~/.gazeborc file wasn't automatically built so I
> have
> to create it myself. Is that right?
>
> Anyway what I already done was I created files named gazeborc, .gazebo and
> ~/.gazeborc and put them in my /home directory and also /home/pitiwut
> directory. The content of the gazeborc files looks like this
>
> ------------------------------------------------------------------------------------------------------------------
> <?xml version="1.0"?>
> <gazeborc>
>  <gazeboPath>/usr/local/share/gazebo</gazeboPath>
>  <gazeboPath>/home/pitiwut/share/gazebo</gazeboPath>
>  <ogrePath>/usr/local/lib/OGRE</ogrePath>
>  <gazeboPath>/home/pitiwut/local/lib/OGRE</gazeboPath>
>  <RTTMode>PBuffer</RTTMode>
> </gazeborc>
>
> ------------------------------------------------------------------------------------------------------------------
>
> However, it still can't solve the problem. Am I misunderstand something?
>
> This is the output I get
>
>
> ------------------------------------------------------------------------------------------------------------------
> Gazebo multi-robot simulator, version 0.8-pre3
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:101]
>  Unable to find the file ~/.gazeborc. Using default paths. This may cause
> OGRE to fail.
> gazebo: ../../../OgreMain/include/OgreSingleton.h:66:
> Ogre::Singleton<T>::Singleton() [with T =
> Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
> Aborted
>
> -----------------------------------------------------------------------------------------------------------------
>
> Apart from "Segmentation fault" I got last time, now it shows "Assertion
> `!ms_Singleton' failed.". Is this error related to the ~/.gazeborc file or
> it is another problem?
>
> Pitiwut
>
>
> Andrés Faína Rodrí­guez-Vila wrote:
> >
> > Hi,
> >
> > the solution to your problem is:
> >
> >
> http://www.mail-archive.com/playerstage-gazebo@.../msg00851.html
> >
> > Bye!
> >
> >
> > pt523 escribió:
> >> Hi
> >>
> >> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
> >> research.
> >>
> >> I've managed to solve some problems until finally Gazebo was installed
> on
> >> my
> >> computer. However, after spending several days looking at a problem of
> >> ~/.gazeborc, I still can't solve it.
> >>
> >> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE V1.4.4
> >> and
> >> ODE V0.8. When I type
> >>
> >>
> -------------------------------------------------------------------------------------------
> >> root@pitiwut-desktop:/# gazebo
> /usr/local/share/gazebo/worlds/test.world
> >>
> -------------------------------------------------------------------------------------------
> >>
> >> I get ,
> >>
> >>
> -------------------------------------------------------------------------------------------
> >> Gazebo multi-robot simulator, version 0.8-pre3
> >>
> >> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >> Released under the GNU General Public License.
> >>
> >> [server/GazeboConfig.cc:101]
> >>   Unable to find the file ~/.gazeborc. Using default paths. This may
> >> cause
> >> OGRE to fail.
> >> Segmentation fault
> >>
> -------------------------------------------------------------------------------------------
> >>
> >> After looking in the archives, what I understand is ~/.gazeborc. should
> >> be
> >> automatically created by the builder and is placed in the user's home
> >> directory. However I can't see it in my home directory.
> >>
> >> I think I might did something wrong but I have no idea what I did wrong.
> >> If
> >> you want some more information please tell me I'll try providing all
> >> information for you.
> >>
> >> Any ideas and advices would be appreciated. Thanks in advance.
> >>
> >> Pitiwut
> >>
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and
> > easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27127098.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

pt523
If the patch you mentioned can solve the problem, can I have it? Thank you so much.

Luis Manso wrote
AFAIK, it is created at install-time only in the home directory of the
particular user installing the simulator. Probably it should be
automatically created in run-time if it does not exist. I can submit a patch
if needed.

On Tue, Jan 12, 2010 at 1:51 PM, pt523 <pitiwut@gmail.com> wrote:

>
> Hi,
>
> Thank you very much for your advise. Actually I've seen that archive
> already
> but I'm not sure what exactly I have to do with the ~/.gazeborc file. I
> assume that in my case ~/.gazeborc file wasn't automatically built so I
> have
> to create it myself. Is that right?
>
> Anyway what I already done was I created files named gazeborc, .gazebo and
> ~/.gazeborc and put them in my /home directory and also /home/pitiwut
> directory. The content of the gazeborc files looks like this
>
> ------------------------------------------------------------------------------------------------------------------
> <?xml version="1.0"?>
> <gazeborc>
>  <gazeboPath>/usr/local/share/gazebo</gazeboPath>
>  <gazeboPath>/home/pitiwut/share/gazebo</gazeboPath>
>  <ogrePath>/usr/local/lib/OGRE</ogrePath>
>  <gazeboPath>/home/pitiwut/local/lib/OGRE</gazeboPath>
>  <RTTMode>PBuffer</RTTMode>
> </gazeborc>
>
> ------------------------------------------------------------------------------------------------------------------
>
> However, it still can't solve the problem. Am I misunderstand something?
>
> This is the output I get
>
>
> ------------------------------------------------------------------------------------------------------------------
> Gazebo multi-robot simulator, version 0.8-pre3
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:101]
>  Unable to find the file ~/.gazeborc. Using default paths. This may cause
> OGRE to fail.
> gazebo: ../../../OgreMain/include/OgreSingleton.h:66:
> Ogre::Singleton<T>::Singleton() [with T =
> Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
> Aborted
>
> -----------------------------------------------------------------------------------------------------------------
>
> Apart from "Segmentation fault" I got last time, now it shows "Assertion
> `!ms_Singleton' failed.". Is this error related to the ~/.gazeborc file or
> it is another problem?
>
> Pitiwut
>
>
> Andrés Faína Rodrí­guez-Vila wrote:
> >
> > Hi,
> >
> > the solution to your problem is:
> >
> >
> http://www.mail-archive.com/playerstage-gazebo@lists.sourceforge.net/msg00851.html
> >
> > Bye!
> >
> >
> > pt523 escribió:
> >> Hi
> >>
> >> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
> >> research.
> >>
> >> I've managed to solve some problems until finally Gazebo was installed
> on
> >> my
> >> computer. However, after spending several days looking at a problem of
> >> ~/.gazeborc, I still can't solve it.
> >>
> >> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE V1.4.4
> >> and
> >> ODE V0.8. When I type
> >>
> >>
> -------------------------------------------------------------------------------------------
> >> root@pitiwut-desktop:/# gazebo
> /usr/local/share/gazebo/worlds/test.world
> >>
> -------------------------------------------------------------------------------------------
> >>
> >> I get ,
> >>
> >>
> -------------------------------------------------------------------------------------------
> >> Gazebo multi-robot simulator, version 0.8-pre3
> >>
> >> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >> Released under the GNU General Public License.
> >>
> >> [server/GazeboConfig.cc:101]
> >>   Unable to find the file ~/.gazeborc. Using default paths. This may
> >> cause
> >> OGRE to fail.
> >> Segmentation fault
> >>
> -------------------------------------------------------------------------------------------
> >>
> >> After looking in the archives, what I understand is ~/.gazeborc. should
> >> be
> >> automatically created by the builder and is placed in the user's home
> >> directory. However I can't see it in my home directory.
> >>
> >> I think I might did something wrong but I have no idea what I did wrong.
> >> If
> >> you want some more information please tell me I'll try providing all
> >> information for you.
> >>
> >> Any ideas and advices would be appreciated. Thanks in advance.
> >>
> >> Pitiwut
> >>
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and
> > easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > Playerstage-gazebo@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27127098.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Andrés Faína Rodrí­guez-Vila
In reply to this post by pt523
Hi,

The symbol ~ represents your home directory in linux. Then  ~/.gazeborc
is a file called ".gazeborc" in your home.
In your case, ~/.gazeborc is the same that /home/pitiwut/.gazeborc

Bye!

pt523 escribió:

> Hi,
>
> Thank you very much for your advise. Actually I've seen that archive already
> but I'm not sure what exactly I have to do with the ~/.gazeborc file. I
> assume that in my case ~/.gazeborc file wasn't automatically built so I have
> to create it myself. Is that right?
>
> Anyway what I already done was I created files named gazeborc, .gazebo and
> ~/.gazeborc and put them in my /home directory and also /home/pitiwut
> directory. The content of the gazeborc files looks like this
> ------------------------------------------------------------------------------------------------------------------
> <?xml version="1.0"?>
> <gazeborc>
>   <gazeboPath>/usr/local/share/gazebo</gazeboPath>
>   <gazeboPath>/home/pitiwut/share/gazebo</gazeboPath>
>   <ogrePath>/usr/local/lib/OGRE</ogrePath>
>   <gazeboPath>/home/pitiwut/local/lib/OGRE</gazeboPath>
>   <RTTMode>PBuffer</RTTMode>
> </gazeborc>
> ------------------------------------------------------------------------------------------------------------------
>
> However, it still can't solve the problem. Am I misunderstand something?
>
> This is the output I get
>
> ------------------------------------------------------------------------------------------------------------------
> Gazebo multi-robot simulator, version 0.8-pre3
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:101]
>   Unable to find the file ~/.gazeborc. Using default paths. This may cause
> OGRE to fail.
> gazebo: ../../../OgreMain/include/OgreSingleton.h:66:
> Ogre::Singleton<T>::Singleton() [with T =
> Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
> Aborted
> -----------------------------------------------------------------------------------------------------------------
>
> Apart from "Segmentation fault" I got last time, now it shows "Assertion
> `!ms_Singleton' failed.". Is this error related to the ~/.gazeborc file or
> it is another problem?
>
> Pitiwut
>
>
> Andrés Faína Rodrí­guez-Vila wrote:
>  
>> Hi,
>>
>> the solution to your problem is:
>>
>> http://www.mail-archive.com/playerstage-gazebo@.../msg00851.html
>>
>> Bye!
>>
>>
>> pt523 escribió:
>>    
>>> Hi
>>>
>>> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
>>> research.
>>>
>>> I've managed to solve some problems until finally Gazebo was installed on
>>> my
>>> computer. However, after spending several days looking at a problem of
>>> ~/.gazeborc, I still can't solve it.
>>>
>>> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE V1.4.4
>>> and
>>> ODE V0.8. When I type
>>>
>>> -------------------------------------------------------------------------------------------
>>> root@pitiwut-desktop:/# gazebo /usr/local/share/gazebo/worlds/test.world
>>> -------------------------------------------------------------------------------------------
>>>
>>> I get ,
>>>
>>> -------------------------------------------------------------------------------------------
>>> Gazebo multi-robot simulator, version 0.8-pre3
>>>
>>> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
>>> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>>> Released under the GNU General Public License.
>>>
>>> [server/GazeboConfig.cc:101]
>>>   Unable to find the file ~/.gazeborc. Using default paths. This may
>>> cause
>>> OGRE to fail.
>>> Segmentation fault
>>> -------------------------------------------------------------------------------------------
>>>
>>> After looking in the archives, what I understand is ~/.gazeborc. should
>>> be
>>> automatically created by the builder and is placed in the user's home
>>> directory. However I can't see it in my home directory.
>>>
>>> I think I might did something wrong but I have no idea what I did wrong.
>>> If
>>> you want some more information please tell me I'll try providing all
>>> information for you.
>>>
>>> Any ideas and advices would be appreciated. Thanks in advance.
>>>
>>> Pitiwut
>>>
>>>  
>>>      
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev 
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>>
>>    
>
>  


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Luis Manso
I do not really know if what I said would solve your problem (it does if it
is what I think it is). In fact I did not even compile gazebo with the patch
as the latest version of gazebo does not compile on my system.  Anyway I
send the patch (I think it is useful).

In GazeboConfig.cc you should change:

=========
void GazeboConfig::Load()
{
  std::ifstream cfgFile;

  std::string rcFilename = getenv("HOME");
  rcFilename += "/.gazeborc";

  cfgFile.open(rcFilename.c_str(), std::ios::in);
=========

to
=========
void GazeboConfig::Load()
{
  std::fstream cfgFile;

  std::string rcFilename = getenv("HOME");
  rcFilename += "/.gazeborc";

  cfgFile.open(rcFilename.c_str(), std::ios::in);
  if (!cfgFile.is_open())
  {
    cfgFile.open(rcFilename.c_str(), std::ios::out);
    cfgFile << "<?xml
version=\"1.0\"?>\n<gazeborc>\n<gazeboPath>/usr/local/share/gazebo</gazeboPath>\n<ogrePath>/usr/local/lib/OGRE</ogrePath>\n</gazeborc>\n";
    cfgFile.close();
    cfgFile.open(rcFilename.c_str(), std::ios::in);
  }
=========

The patch file is attached.

On Tue, Jan 12, 2010 at 3:43 PM, Andres Faiña <[hidden email]> wrote:

> Hi,
>
> The symbol ~ represents your home directory in linux. Then  ~/.gazeborc
> is a file called ".gazeborc" in your home.
> In your case, ~/.gazeborc is the same that /home/pitiwut/.gazeborc
>
> Bye!
>
> pt523 escribió:
> > Hi,
> >
> > Thank you very much for your advise. Actually I've seen that archive
> already
> > but I'm not sure what exactly I have to do with the ~/.gazeborc file. I
> > assume that in my case ~/.gazeborc file wasn't automatically built so I
> have
> > to create it myself. Is that right?
> >
> > Anyway what I already done was I created files named gazeborc, .gazebo
> and
> > ~/.gazeborc and put them in my /home directory and also /home/pitiwut
> > directory. The content of the gazeborc files looks like this
> >
> ------------------------------------------------------------------------------------------------------------------
> > <?xml version="1.0"?>
> > <gazeborc>
> >   <gazeboPath>/usr/local/share/gazebo</gazeboPath>
> >   <gazeboPath>/home/pitiwut/share/gazebo</gazeboPath>
> >   <ogrePath>/usr/local/lib/OGRE</ogrePath>
> >   <gazeboPath>/home/pitiwut/local/lib/OGRE</gazeboPath>
> >   <RTTMode>PBuffer</RTTMode>
> > </gazeborc>
> >
> ------------------------------------------------------------------------------------------------------------------
> >
> > However, it still can't solve the problem. Am I misunderstand something?
> >
> > This is the output I get
> >
> >
> ------------------------------------------------------------------------------------------------------------------
> > Gazebo multi-robot simulator, version 0.8-pre3
> >
> > Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> > Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> > Released under the GNU General Public License.
> >
> > [server/GazeboConfig.cc:101]
> >   Unable to find the file ~/.gazeborc. Using default paths. This may
> cause
> > OGRE to fail.
> > gazebo: ../../../OgreMain/include/OgreSingleton.h:66:
> > Ogre::Singleton<T>::Singleton() [with T =
> > Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton'
> failed.
> > Aborted
> >
> -----------------------------------------------------------------------------------------------------------------
> >
> > Apart from "Segmentation fault" I got last time, now it shows "Assertion
> > `!ms_Singleton' failed.". Is this error related to the ~/.gazeborc file
> or
> > it is another problem?
> >
> > Pitiwut
> >
> >
> > Andrés Faína Rodrí­guez-Vila wrote:
> >
> >> Hi,
> >>
> >> the solution to your problem is:
> >>
> >>
> http://www.mail-archive.com/playerstage-gazebo@.../msg00851.html
> >>
> >> Bye!
> >>
> >>
> >> pt523 escribió:
> >>
> >>> Hi
> >>>
> >>> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
> >>> research.
> >>>
> >>> I've managed to solve some problems until finally Gazebo was installed
> on
> >>> my
> >>> computer. However, after spending several days looking at a problem of
> >>> ~/.gazeborc, I still can't solve it.
> >>>
> >>> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE V1.4.4
> >>> and
> >>> ODE V0.8. When I type
> >>>
> >>>
> -------------------------------------------------------------------------------------------
> >>> root@pitiwut-desktop:/# gazebo
> /usr/local/share/gazebo/worlds/test.world
> >>>
> -------------------------------------------------------------------------------------------
> >>>
> >>> I get ,
> >>>
> >>>
> -------------------------------------------------------------------------------------------
> >>> Gazebo multi-robot simulator, version 0.8-pre3
> >>>
> >>> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> >>> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >>> Released under the GNU General Public License.
> >>>
> >>> [server/GazeboConfig.cc:101]
> >>>   Unable to find the file ~/.gazeborc. Using default paths. This may
> >>> cause
> >>> OGRE to fail.
> >>> Segmentation fault
> >>>
> -------------------------------------------------------------------------------------------
> >>>
> >>> After looking in the archives, what I understand is ~/.gazeborc. should
> >>> be
> >>> automatically created by the builder and is placed in the user's home
> >>> directory. However I can't see it in my home directory.
> >>>
> >>> I think I might did something wrong but I have no idea what I did
> wrong.
> >>> If
> >>> you want some more information please tell me I'll try providing all
> >>> information for you.
> >>>
> >>> Any ideas and advices would be appreciated. Thanks in advance.
> >>>
> >>> Pitiwut
> >>>
> >>>
> >>>
> >>
> ------------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> Take advantage of Verizon's best-in-class app development support
> >> A streamlined, 14 day to market process makes app distribution fast and
> >> easy
> >> Join now and get one step closer to millions of Verizon customers
> >> http://p.sf.net/sfu/verizon-dev2dev
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >>
> >>
> >
> >
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Luis Manso
The previous patch was wrong (I forgot to save the file before sending).

On Tue, Jan 12, 2010 at 4:16 PM, Luis Manso <[hidden email]> wrote:

> I do not really know if what I said would solve your problem (it does if it
> is what I think it is). In fact I did not even compile gazebo with the patch
> as the latest version of gazebo does not compile on my system.  Anyway I
> send the patch (I think it is useful).
>
> In GazeboConfig.cc you should change:
>
> =========
> void GazeboConfig::Load()
> {
>   std::ifstream cfgFile;
>
>   std::string rcFilename = getenv("HOME");
>   rcFilename += "/.gazeborc";
>
>   cfgFile.open(rcFilename.c_str(), std::ios::in);
> =========
>
> to
> =========
>  void GazeboConfig::Load()
> {
>   std::fstream cfgFile;
>
>   std::string rcFilename = getenv("HOME");
>   rcFilename += "/.gazeborc";
>
>   cfgFile.open(rcFilename.c_str(), std::ios::in);
>   if (!cfgFile.is_open())
>   {
>     cfgFile.open(rcFilename.c_str(), std::ios::out);
>     cfgFile << "<?xml
> version=\"1.0\"?>\n<gazeborc>\n<gazeboPath>/usr/local/share/gazebo</gazeboPath>\n<ogrePath>/usr/local/lib/OGRE</ogrePath>\n</gazeborc>\n";
>     cfgFile.close();
>     cfgFile.open(rcFilename.c_str(), std::ios::in);
>   }
> =========
>
> The patch file is attached.
>
> On Tue, Jan 12, 2010 at 3:43 PM, Andres Faiña <[hidden email]> wrote:
>
>> Hi,
>>
>> The symbol ~ represents your home directory in linux. Then  ~/.gazeborc
>> is a file called ".gazeborc" in your home.
>> In your case, ~/.gazeborc is the same that /home/pitiwut/.gazeborc
>>
>> Bye!
>>
>> pt523 escribió:
>> > Hi,
>> >
>> > Thank you very much for your advise. Actually I've seen that archive
>> already
>> > but I'm not sure what exactly I have to do with the ~/.gazeborc file. I
>> > assume that in my case ~/.gazeborc file wasn't automatically built so I
>> have
>> > to create it myself. Is that right?
>> >
>> > Anyway what I already done was I created files named gazeborc, .gazebo
>> and
>> > ~/.gazeborc and put them in my /home directory and also /home/pitiwut
>> > directory. The content of the gazeborc files looks like this
>> >
>> ------------------------------------------------------------------------------------------------------------------
>> > <?xml version="1.0"?>
>> > <gazeborc>
>> >   <gazeboPath>/usr/local/share/gazebo</gazeboPath>
>> >   <gazeboPath>/home/pitiwut/share/gazebo</gazeboPath>
>> >   <ogrePath>/usr/local/lib/OGRE</ogrePath>
>> >   <gazeboPath>/home/pitiwut/local/lib/OGRE</gazeboPath>
>> >   <RTTMode>PBuffer</RTTMode>
>> > </gazeborc>
>> >
>> ------------------------------------------------------------------------------------------------------------------
>> >
>> > However, it still can't solve the problem. Am I misunderstand something?
>> >
>> > This is the output I get
>> >
>> >
>> ------------------------------------------------------------------------------------------------------------------
>> > Gazebo multi-robot simulator, version 0.8-pre3
>> >
>> > Part of the Player/Stage Project [http://playerstage.sourceforge.net].
>> > Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>> > Released under the GNU General Public License.
>> >
>> > [server/GazeboConfig.cc:101]
>> >   Unable to find the file ~/.gazeborc. Using default paths. This may
>> cause
>> > OGRE to fail.
>> > gazebo: ../../../OgreMain/include/OgreSingleton.h:66:
>> > Ogre::Singleton<T>::Singleton() [with T =
>> > Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton'
>> failed.
>> > Aborted
>> >
>> -----------------------------------------------------------------------------------------------------------------
>> >
>> > Apart from "Segmentation fault" I got last time, now it shows "Assertion
>> > `!ms_Singleton' failed.". Is this error related to the ~/.gazeborc file
>> or
>> > it is another problem?
>> >
>> > Pitiwut
>> >
>> >
>> > Andrés Faína Rodrí­guez-Vila wrote:
>> >
>> >> Hi,
>> >>
>> >> the solution to your problem is:
>> >>
>> >>
>> http://www.mail-archive.com/playerstage-gazebo@.../msg00851.html
>> >>
>> >> Bye!
>> >>
>> >>
>> >> pt523 escribió:
>> >>
>> >>> Hi
>> >>>
>> >>> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
>> >>> research.
>> >>>
>> >>> I've managed to solve some problems until finally Gazebo was installed
>> on
>> >>> my
>> >>> computer. However, after spending several days looking at a problem of
>> >>> ~/.gazeborc, I still can't solve it.
>> >>>
>> >>> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE
>> V1.4.4
>> >>> and
>> >>> ODE V0.8. When I type
>> >>>
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>> root@pitiwut-desktop:/# gazebo
>> /usr/local/share/gazebo/worlds/test.world
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>>
>> >>> I get ,
>> >>>
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>> Gazebo multi-robot simulator, version 0.8-pre3
>> >>>
>> >>> Part of the Player/Stage Project [http://playerstage.sourceforge.net
>> ].
>> >>> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>> >>> Released under the GNU General Public License.
>> >>>
>> >>> [server/GazeboConfig.cc:101]
>> >>>   Unable to find the file ~/.gazeborc. Using default paths. This may
>> >>> cause
>> >>> OGRE to fail.
>> >>> Segmentation fault
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>>
>> >>> After looking in the archives, what I understand is ~/.gazeborc.
>> should
>> >>> be
>> >>> automatically created by the builder and is placed in the user's home
>> >>> directory. However I can't see it in my home directory.
>> >>>
>> >>> I think I might did something wrong but I have no idea what I did
>> wrong.
>> >>> If
>> >>> you want some more information please tell me I'll try providing all
>> >>> information for you.
>> >>>
>> >>> Any ideas and advices would be appreciated. Thanks in advance.
>> >>>
>> >>> Pitiwut
>> >>>
>> >>>
>> >>>
>> >>
>> ------------------------------------------------------------------------------
>> >> This SF.Net email is sponsored by the Verizon Developer Community
>> >> Take advantage of Verizon's best-in-class app development support
>> >> A streamlined, 14 day to market process makes app distribution fast and
>> >> easy
>> >> Join now and get one step closer to millions of Verizon customers
>> >> http://p.sf.net/sfu/verizon-dev2dev
>> >> _______________________________________________
>> >> Playerstage-gazebo mailing list
>> >> [hidden email]
>> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

pt523
Thank you very much for all your help. Your patch really solves the problem : )

However I got a new problem. Now I can run only 3 world files (factory.world, light.world and simpleshape.world ). I got different errors when running any other world files. Here are some examples.

Running test.world / I get
---------------------------------------------------------------------------------------------------------------
creating /tmp/gazebo-root-0
found a pid file: pid=1085
The gazebo process is not alive.
creating /tmp/gazebo-root-0/simulation.default 112 144496
creating /tmp/gazebo-root-0/position.position_iface_0 112 228
creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
Segmentation fault
---------------------------------------------------------------------------------------------------------------

Running pioneer2at.world / I get
----------------------------------------------------------------
creating /tmp/gazebo-root-0
found a pid file: pid=1088
The gazebo process is not alive.
creating /tmp/gazebo-root-0/simulation.default 112 144496
creating /tmp/gazebo-root-0/position.position_iface_0 112 228
Segmentation fault
---------------------------------------------------------------------------------------------------------------

Running pioneer2dx.world / I get
---------------------------------------------------------------------------------------------------------------
creating /tmp/gazebo-root-0
found a pid file: pid=1093
The gazebo process is not alive.
creating /tmp/gazebo-root-0/simulation.default 112 144496
creating /tmp/gazebo-root-0/position.position_iface_0 112 228
creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
Segmentation fault
---------------------------------------------------------------------------------------------------------------

I've also checked direct rendering on my graphic card and it says "Yes".

and below is the output I got from backtrace


---------------------------------------------------------------------------------------------------------------

(gdb) run pioneer2at.world
Starting program: /usr/local/bin/gazebo pioneer2at.world
[Thread debugging using libthread_db enabled]
Gazebo multi-robot simulator, version 0.8-pre3

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

[server/GazeboConfig.cc:101]
  Gazebo Path[/usr/local/share/gazebo]
[server/GazeboConfig.cc:109]
  Ogre Path[/usr/local/lib/OGRE]
creating /tmp/gazebo-root-0
found a pid file: pid=1153
The gazebo process is not alive.
creating /tmp/gazebo-root-0/simulation.default 112 144496
creating /tmp/gazebo-root-0/position.position_iface_0 112 228

Program received signal SIGSEGV, Segmentation fault.
0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1  0x00000002 in ?? ()
#2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
#3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
#4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
#5  0x03d6a4c9 in _tnl_vbo_draw_prims () from /usr/lib/dri/r300_dri.so
#6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
#7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
#8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
#9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280, op=...)
    at OgreGLRenderSystem.cpp:2416
#10 0x0035fb9f in Ogre::SceneManager::renderSingleObject (this=0x8534680,
    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
#11 0x003569c1 in Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit (
    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
#12 0x00328f31 in Ogre::QueuedRenderableCollection::acceptVisitorGrouped (
    this=0x8525aa8, visitor=0x853d0a4)
    at OgreRenderQueueSortingGrouping.cpp:411
#13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor (
    this=0xbfffe284, visitor=0x853d0a4, om=0)
    at OgreRenderQueueSortingGrouping.cpp:379
#14 0x00358f51 in Ogre::SceneManager::renderObjects (this=0x8534680, objs=...,
    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
    doLightIteration=false, manualLightList=0xbffff180)
    at OgreSceneManager.cpp:2470
#15 0x0035bd04 in Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects (this=0x8534680, pGroup=0x8b43b58,
    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
    at OgreSceneManager.cpp:1899
#16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
    this=0x8534680, pGroup=0x8b43b58,
    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
    at OgreSceneManager.cpp:2484
#17 0x003597d2 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence (
    this=0x8534680) at OgreSceneManager.cpp:1860
#18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects (this=0x8534680)
    at OgreSceneManager.cpp:1782
#19 0x00359eef in Ogre::SceneManager::_renderScene (this=0x8534680,
    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
    at OgreSceneManager.cpp:1277
#20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640, vp=0x8a2e908,
    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
#21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at OgreViewport.cpp:195
#22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
    at OgreRenderTarget.cpp:111
#23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0, swap=true)
    at OgreRenderWindow.cpp:73
#24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
    at OgreRenderWindow.cpp:67
#25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow (this=0x81a80c0,
    window=0x86c39a0, camera=0x86c3808) at server/rendering/OgreAdaptor.cc:459
#26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
    at server/rendering/UserCamera.cc:86
#27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
    at server/gui/GLWindow.cc:143
#28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
    at server/gui/GLFrame.cc:134
#29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
    at server/gui/GLFrameManager.cc:188
#30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at server/gui/Gui.cc:145
#31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
    at server/Simulator.cc:329
#32 0x08122ec5 in main (argc=2, argv=0xbffff784) at server/main.cc:293
---------------------------------------------------------------------------------------------------------------

Any idea?
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Luis Manso
I am glad it solved the problem.

About the new problem... Are you using the last version from the SVN
repository? Maybe that specific version is not working right. For my
research I am using version 8335. You can fetch that version with the
following command:
svn -r 8335 co
https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
 gazebo

On Wed, Jan 13, 2010 at 1:22 PM, pt523 <[hidden email]> wrote:

>
> Thank you very much for all your help. Your patch really solves the problem
> :
> )
>
> However I got a new problem. Now I can run only 3 world files
> (factory.world, light.world and simpleshape.world ). I got different errors
> when running any other world files. Here are some examples.
>
> Running test.world / I get
>
> ---------------------------------------------------------------------------------------------------------------
> creating /tmp/gazebo-root-0
> found a pid file: pid=1085
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> Segmentation fault
>
> ---------------------------------------------------------------------------------------------------------------
>
> Running pioneer2at.world / I get
> ----------------------------------------------------------------
> creating /tmp/gazebo-root-0
> found a pid file: pid=1088
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> Segmentation fault
>
> ---------------------------------------------------------------------------------------------------------------
>
> Running pioneer2dx.world / I get
>
> ---------------------------------------------------------------------------------------------------------------
> creating /tmp/gazebo-root-0
> found a pid file: pid=1093
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> Segmentation fault
>
> ---------------------------------------------------------------------------------------------------------------
>
> I've also checked direct rendering on my graphic card and it says "Yes".
>
> and below is the output I got from backtrace
>
>
> ---------------------------------------------------------------------------------------------------------------
>
> (gdb) run pioneer2at.world
> Starting program: /usr/local/bin/gazebo pioneer2at.world
> [Thread debugging using libthread_db enabled]
> Gazebo multi-robot simulator, version 0.8-pre3
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:101]
>   Gazebo Path[/usr/local/share/gazebo]
> [server/GazeboConfig.cc:109]
>  Ogre Path[/usr/local/lib/OGRE]
> creating /tmp/gazebo-root-0
> found a pid file: pid=1153
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> #1  0x00000002 in ?? ()
> #2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
> #3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
> #4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
> #5  0x03d6a4c9 in _tnl_vbo_draw_prims () from /usr/lib/dri/r300_dri.so
> #6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
> #7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
> #8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
> #9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280, op=...)
>    at OgreGLRenderSystem.cpp:2416
> #10 0x0035fb9f in Ogre::SceneManager::renderSingleObject (this=0x8534680,
>    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
>    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
> #11 0x003569c1 in
> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> (
>    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
> #12 0x00328f31 in Ogre::QueuedRenderableCollection::acceptVisitorGrouped (
>    this=0x8525aa8, visitor=0x853d0a4)
>    at OgreRenderQueueSortingGrouping.cpp:411
> #13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor (
>    this=0xbfffe284, visitor=0x853d0a4, om=0)
>    at OgreRenderQueueSortingGrouping.cpp:379
> #14 0x00358f51 in Ogre::SceneManager::renderObjects (this=0x8534680,
> objs=...,
>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
>    doLightIteration=false, manualLightList=0xbffff180)
>    at OgreSceneManager.cpp:2470
> #15 0x0035bd04 in
> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> (this=0x8534680, pGroup=0x8b43b58,
>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
>    at OgreSceneManager.cpp:1899
> #16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
>    this=0x8534680, pGroup=0x8b43b58,
>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
>    at OgreSceneManager.cpp:2484
> #17 0x003597d2 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence (
>    this=0x8534680) at OgreSceneManager.cpp:1860
> #18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects
> (this=0x8534680)
>    at OgreSceneManager.cpp:1782
> #19 0x00359eef in Ogre::SceneManager::_renderScene (this=0x8534680,
>    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
>    at OgreSceneManager.cpp:1277
> #20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640, vp=0x8a2e908,
>    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
> #21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at OgreViewport.cpp:195
> #22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
>    at OgreRenderTarget.cpp:111
> #23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0, swap=true)
>    at OgreRenderWindow.cpp:73
> #24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
>    at OgreRenderWindow.cpp:67
> #25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow (this=0x81a80c0,
>    window=0x86c39a0, camera=0x86c3808) at
> server/rendering/OgreAdaptor.cc:459
> #26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
>    at server/rendering/UserCamera.cc:86
> #27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
>    at server/gui/GLWindow.cc:143
> #28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
>    at server/gui/GLFrame.cc:134
> #29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
>    at server/gui/GLFrameManager.cc:188
> #30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at
> server/gui/Gui.cc:145
> #31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
>    at server/Simulator.cc:329
> #32 0x08122ec5 in main (argc=2, argv=0xbffff784) at server/main.cc:293
>
> ---------------------------------------------------------------------------------------------------------------
>
> Any idea?
> --
> View this message in context:
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27144039.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

pt523
Thank you again for your kindly help.

Can I ask you a bit more? I've run the command you advised but I'm not quite sure what I have to do with it. Do I have to clean the one that I've already installed and build the new one that I've just downloaded? or what I have to do?


Luis Manso wrote
I am glad it solved the problem.

About the new problem... Are you using the last version from the SVN
repository? Maybe that specific version is not working right. For my
research I am using version 8335. You can fetch that version with the
following command:
svn -r 8335 co
https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
 gazebo

On Wed, Jan 13, 2010 at 1:22 PM, pt523 <pitiwut@gmail.com> wrote:

>
> Thank you very much for all your help. Your patch really solves the problem
> :
> )
>
> However I got a new problem. Now I can run only 3 world files
> (factory.world, light.world and simpleshape.world ). I got different errors
> when running any other world files. Here are some examples.
>
> Running test.world / I get
>
> ---------------------------------------------------------------------------------------------------------------
> creating /tmp/gazebo-root-0
> found a pid file: pid=1085
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> Segmentation fault
>
> ---------------------------------------------------------------------------------------------------------------
>
> Running pioneer2at.world / I get
> ----------------------------------------------------------------
> creating /tmp/gazebo-root-0
> found a pid file: pid=1088
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> Segmentation fault
>
> ---------------------------------------------------------------------------------------------------------------
>
> Running pioneer2dx.world / I get
>
> ---------------------------------------------------------------------------------------------------------------
> creating /tmp/gazebo-root-0
> found a pid file: pid=1093
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> Segmentation fault
>
> ---------------------------------------------------------------------------------------------------------------
>
> I've also checked direct rendering on my graphic card and it says "Yes".
>
> and below is the output I got from backtrace
>
>
> ---------------------------------------------------------------------------------------------------------------
>
> (gdb) run pioneer2at.world
> Starting program: /usr/local/bin/gazebo pioneer2at.world
> [Thread debugging using libthread_db enabled]
> Gazebo multi-robot simulator, version 0.8-pre3
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:101]
>   Gazebo Path[/usr/local/share/gazebo]
> [server/GazeboConfig.cc:109]
>  Ogre Path[/usr/local/lib/OGRE]
> creating /tmp/gazebo-root-0
> found a pid file: pid=1153
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 144496
> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> #1  0x00000002 in ?? ()
> #2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
> #3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
> #4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
> #5  0x03d6a4c9 in _tnl_vbo_draw_prims () from /usr/lib/dri/r300_dri.so
> #6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
> #7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
> #8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
> #9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280, op=...)
>    at OgreGLRenderSystem.cpp:2416
> #10 0x0035fb9f in Ogre::SceneManager::renderSingleObject (this=0x8534680,
>    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
>    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
> #11 0x003569c1 in
> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> (
>    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
> #12 0x00328f31 in Ogre::QueuedRenderableCollection::acceptVisitorGrouped (
>    this=0x8525aa8, visitor=0x853d0a4)
>    at OgreRenderQueueSortingGrouping.cpp:411
> #13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor (
>    this=0xbfffe284, visitor=0x853d0a4, om=0)
>    at OgreRenderQueueSortingGrouping.cpp:379
> #14 0x00358f51 in Ogre::SceneManager::renderObjects (this=0x8534680,
> objs=...,
>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
>    doLightIteration=false, manualLightList=0xbffff180)
>    at OgreSceneManager.cpp:2470
> #15 0x0035bd04 in
> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> (this=0x8534680, pGroup=0x8b43b58,
>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
>    at OgreSceneManager.cpp:1899
> #16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
>    this=0x8534680, pGroup=0x8b43b58,
>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
>    at OgreSceneManager.cpp:2484
> #17 0x003597d2 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence (
>    this=0x8534680) at OgreSceneManager.cpp:1860
> #18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects
> (this=0x8534680)
>    at OgreSceneManager.cpp:1782
> #19 0x00359eef in Ogre::SceneManager::_renderScene (this=0x8534680,
>    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
>    at OgreSceneManager.cpp:1277
> #20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640, vp=0x8a2e908,
>    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
> #21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at OgreViewport.cpp:195
> #22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
>    at OgreRenderTarget.cpp:111
> #23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0, swap=true)
>    at OgreRenderWindow.cpp:73
> #24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
>    at OgreRenderWindow.cpp:67
> #25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow (this=0x81a80c0,
>    window=0x86c39a0, camera=0x86c3808) at
> server/rendering/OgreAdaptor.cc:459
> #26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
>    at server/rendering/UserCamera.cc:86
> #27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
>    at server/gui/GLWindow.cc:143
> #28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
>    at server/gui/GLFrame.cc:134
> #29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
>    at server/gui/GLFrameManager.cc:188
> #30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at
> server/gui/Gui.cc:145
> #31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
>    at server/Simulator.cc:329
> #32 0x08122ec5 in main (argc=2, argv=0xbffff784) at server/main.cc:293
>
> ---------------------------------------------------------------------------------------------------------------
>
> Any idea?
> --
> View this message in context:
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27144039.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Luis Manso
Now that Nate committed changes in the current version you can just remove
the old source and fetch it again. In order to compile the source you will
probably need to apply the patch I sent five minutes ago. I do not think it
really matters if you had previous versions of gazebo installed.

I tested the last version with the patch and works.

On Wed, Jan 13, 2010 at 6:54 PM, pt523 <[hidden email]> wrote:

>
> Thank you again for your kindly help.
>
> Can I ask you a bit more? I've run the command you advised but I'm not
> quite
> sure what I have to do with it. Do I have to clean the one that I've
> already
> installed and build the new one that I've just downloaded? or what I have
> to
> do?
>
>
>
> Luis Manso wrote:
> >
> > I am glad it solved the problem.
> >
> > About the new problem... Are you using the last version from the SVN
> > repository? Maybe that specific version is not working right. For my
> > research I am using version 8335. You can fetch that version with the
> > following command:
> > svn -r 8335 co
> >
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
> >  gazebo
> >
> > On Wed, Jan 13, 2010 at 1:22 PM, pt523 <[hidden email]> wrote:
> >
> >>
> >> Thank you very much for all your help. Your patch really solves the
> >> problem
> >> :
> >> )
> >>
> >> However I got a new problem. Now I can run only 3 world files
> >> (factory.world, light.world and simpleshape.world ). I got different
> >> errors
> >> when running any other world files. Here are some examples.
> >>
> >> Running test.world / I get
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> creating /tmp/gazebo-root-0
> >> found a pid file: pid=1085
> >> The gazebo process is not alive.
> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> Segmentation fault
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >>
> >> Running pioneer2at.world / I get
> >> ----------------------------------------------------------------
> >> creating /tmp/gazebo-root-0
> >> found a pid file: pid=1088
> >> The gazebo process is not alive.
> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> Segmentation fault
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >>
> >> Running pioneer2dx.world / I get
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> creating /tmp/gazebo-root-0
> >> found a pid file: pid=1093
> >> The gazebo process is not alive.
> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> Segmentation fault
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >>
> >> I've also checked direct rendering on my graphic card and it says "Yes".
> >>
> >> and below is the output I got from backtrace
> >>
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >>
> >> (gdb) run pioneer2at.world
> >> Starting program: /usr/local/bin/gazebo pioneer2at.world
> >> [Thread debugging using libthread_db enabled]
> >> Gazebo multi-robot simulator, version 0.8-pre3
> >>
> >> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >> Released under the GNU General Public License.
> >>
> >> [server/GazeboConfig.cc:101]
> >>   Gazebo Path[/usr/local/share/gazebo]
> >> [server/GazeboConfig.cc:109]
> >>  Ogre Path[/usr/local/lib/OGRE]
> >> creating /tmp/gazebo-root-0
> >> found a pid file: pid=1153
> >> The gazebo process is not alive.
> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >>
> >> Program received signal SIGSEGV, Segmentation fault.
> >> 0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> (gdb) bt
> >> #0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> #1  0x00000002 in ?? ()
> >> #2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
> >> #3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
> >> #4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
> >> #5  0x03d6a4c9 in _tnl_vbo_draw_prims () from /usr/lib/dri/r300_dri.so
> >> #6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
> >> #7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
> >> #8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
> >> #9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280, op=...)
> >>    at OgreGLRenderSystem.cpp:2416
> >> #10 0x0035fb9f in Ogre::SceneManager::renderSingleObject
> (this=0x8534680,
> >>    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
> >>    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
> >> #11 0x003569c1 in
> >> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> >> (
> >>    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
> >> #12 0x00328f31 in Ogre::QueuedRenderableCollection::acceptVisitorGrouped
> >> (
> >>    this=0x8525aa8, visitor=0x853d0a4)
> >>    at OgreRenderQueueSortingGrouping.cpp:411
> >> #13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor (
> >>    this=0xbfffe284, visitor=0x853d0a4, om=0)
> >>    at OgreRenderQueueSortingGrouping.cpp:379
> >> #14 0x00358f51 in Ogre::SceneManager::renderObjects (this=0x8534680,
> >> objs=...,
> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
> >>    doLightIteration=false, manualLightList=0xbffff180)
> >>    at OgreSceneManager.cpp:2470
> >> #15 0x0035bd04 in
> >> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> >> (this=0x8534680, pGroup=0x8b43b58,
> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >>    at OgreSceneManager.cpp:1899
> >> #16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
> >>    this=0x8534680, pGroup=0x8b43b58,
> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >>    at OgreSceneManager.cpp:2484
> >> #17 0x003597d2 in
> Ogre::SceneManager::renderVisibleObjectsDefaultSequence
> >> (
> >>    this=0x8534680) at OgreSceneManager.cpp:1860
> >> #18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects
> >> (this=0x8534680)
> >>    at OgreSceneManager.cpp:1782
> >> #19 0x00359eef in Ogre::SceneManager::_renderScene (this=0x8534680,
> >>    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
> >>    at OgreSceneManager.cpp:1277
> >> #20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640,
> >> vp=0x8a2e908,
> >>    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
> >> #21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at
> >> OgreViewport.cpp:195
> >> #22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
> >>    at OgreRenderTarget.cpp:111
> >> #23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0, swap=true)
> >>    at OgreRenderWindow.cpp:73
> >> #24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
> >>    at OgreRenderWindow.cpp:67
> >> #25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow (this=0x81a80c0,
> >>    window=0x86c39a0, camera=0x86c3808) at
> >> server/rendering/OgreAdaptor.cc:459
> >> #26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
> >>    at server/rendering/UserCamera.cc:86
> >> #27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
> >>    at server/gui/GLWindow.cc:143
> >> #28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
> >>    at server/gui/GLFrame.cc:134
> >> #29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
> >>    at server/gui/GLFrameManager.cc:188
> >> #30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at
> >> server/gui/Gui.cc:145
> >> #31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
> >>    at server/Simulator.cc:329
> >> #32 0x08122ec5 in main (argc=2, argv=0xbffff784) at server/main.cc:293
> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >>
> >> Any idea?
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27144039.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> Take advantage of Verizon's best-in-class app development support
> >> A streamlined, 14 day to market process makes app distribution fast and
> >> easy
> >> Join now and get one step closer to millions of Verizon customers
> >> http://p.sf.net/sfu/verizon-dev2dev
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and
> > easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27148788.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Nate Koenig
I'm curious as to why a ~/.gazeborc is not automatically generated
when you install gazebo.

Are you running make install?

-nate

On Wed, Jan 13, 2010 at 10:02 AM, Luis Manso <[hidden email]> wrote:

> Now that Nate committed changes in the current version you can just remove
> the old source and fetch it again. In order to compile the source you will
> probably need to apply the patch I sent five minutes ago. I do not think it
> really matters if you had previous versions of gazebo installed.
>
> I tested the last version with the patch and works.
>
> On Wed, Jan 13, 2010 at 6:54 PM, pt523 <[hidden email]> wrote:
>
>>
>> Thank you again for your kindly help.
>>
>> Can I ask you a bit more? I've run the command you advised but I'm not
>> quite
>> sure what I have to do with it. Do I have to clean the one that I've
>> already
>> installed and build the new one that I've just downloaded? or what I have
>> to
>> do?
>>
>>
>>
>> Luis Manso wrote:
>> >
>> > I am glad it solved the problem.
>> >
>> > About the new problem... Are you using the last version from the SVN
>> > repository? Maybe that specific version is not working right. For my
>> > research I am using version 8335. You can fetch that version with the
>> > following command:
>> > svn -r 8335 co
>> >
>> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
>> >  gazebo
>> >
>> > On Wed, Jan 13, 2010 at 1:22 PM, pt523 <[hidden email]> wrote:
>> >
>> >>
>> >> Thank you very much for all your help. Your patch really solves the
>> >> problem
>> >> :
>> >> )
>> >>
>> >> However I got a new problem. Now I can run only 3 world files
>> >> (factory.world, light.world and simpleshape.world ). I got different
>> >> errors
>> >> when running any other world files. Here are some examples.
>> >>
>> >> Running test.world / I get
>> >>
>> >>
>> ---------------------------------------------------------------------------------------------------------------
>> >> creating /tmp/gazebo-root-0
>> >> found a pid file: pid=1085
>> >> The gazebo process is not alive.
>> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
>> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
>> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
>> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
>> >> Segmentation fault
>> >>
>> >>
>> ---------------------------------------------------------------------------------------------------------------
>> >>
>> >> Running pioneer2at.world / I get
>> >> ----------------------------------------------------------------
>> >> creating /tmp/gazebo-root-0
>> >> found a pid file: pid=1088
>> >> The gazebo process is not alive.
>> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
>> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
>> >> Segmentation fault
>> >>
>> >>
>> ---------------------------------------------------------------------------------------------------------------
>> >>
>> >> Running pioneer2dx.world / I get
>> >>
>> >>
>> ---------------------------------------------------------------------------------------------------------------
>> >> creating /tmp/gazebo-root-0
>> >> found a pid file: pid=1093
>> >> The gazebo process is not alive.
>> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
>> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
>> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
>> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
>> >> Segmentation fault
>> >>
>> >>
>> ---------------------------------------------------------------------------------------------------------------
>> >>
>> >> I've also checked direct rendering on my graphic card and it says "Yes".
>> >>
>> >> and below is the output I got from backtrace
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------------------------------------------------
>> >>
>> >> (gdb) run pioneer2at.world
>> >> Starting program: /usr/local/bin/gazebo pioneer2at.world
>> >> [Thread debugging using libthread_db enabled]
>> >> Gazebo multi-robot simulator, version 0.8-pre3
>> >>
>> >> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
>> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>> >> Released under the GNU General Public License.
>> >>
>> >> [server/GazeboConfig.cc:101]
>> >>   Gazebo Path[/usr/local/share/gazebo]
>> >> [server/GazeboConfig.cc:109]
>> >>  Ogre Path[/usr/local/lib/OGRE]
>> >> creating /tmp/gazebo-root-0
>> >> found a pid file: pid=1153
>> >> The gazebo process is not alive.
>> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
>> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
>> >>
>> >> Program received signal SIGSEGV, Segmentation fault.
>> >> 0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
>> >> (gdb) bt
>> >> #0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
>> >> #1  0x00000002 in ?? ()
>> >> #2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
>> >> #3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
>> >> #4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
>> >> #5  0x03d6a4c9 in _tnl_vbo_draw_prims () from /usr/lib/dri/r300_dri.so
>> >> #6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
>> >> #7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
>> >> #8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
>> >> #9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280, op=...)
>> >>    at OgreGLRenderSystem.cpp:2416
>> >> #10 0x0035fb9f in Ogre::SceneManager::renderSingleObject
>> (this=0x8534680,
>> >>    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
>> >>    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
>> >> #11 0x003569c1 in
>> >> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
>> >> (
>> >>    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
>> >> #12 0x00328f31 in Ogre::QueuedRenderableCollection::acceptVisitorGrouped
>> >> (
>> >>    this=0x8525aa8, visitor=0x853d0a4)
>> >>    at OgreRenderQueueSortingGrouping.cpp:411
>> >> #13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor (
>> >>    this=0xbfffe284, visitor=0x853d0a4, om=0)
>> >>    at OgreRenderQueueSortingGrouping.cpp:379
>> >> #14 0x00358f51 in Ogre::SceneManager::renderObjects (this=0x8534680,
>> >> objs=...,
>> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
>> >>    doLightIteration=false, manualLightList=0xbffff180)
>> >>    at OgreSceneManager.cpp:2470
>> >> #15 0x0035bd04 in
>> >> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
>> >> (this=0x8534680, pGroup=0x8b43b58,
>> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
>> >>    at OgreSceneManager.cpp:1899
>> >> #16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
>> >>    this=0x8534680, pGroup=0x8b43b58,
>> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
>> >>    at OgreSceneManager.cpp:2484
>> >> #17 0x003597d2 in
>> Ogre::SceneManager::renderVisibleObjectsDefaultSequence
>> >> (
>> >>    this=0x8534680) at OgreSceneManager.cpp:1860
>> >> #18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects
>> >> (this=0x8534680)
>> >>    at OgreSceneManager.cpp:1782
>> >> #19 0x00359eef in Ogre::SceneManager::_renderScene (this=0x8534680,
>> >>    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
>> >>    at OgreSceneManager.cpp:1277
>> >> #20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640,
>> >> vp=0x8a2e908,
>> >>    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
>> >> #21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at
>> >> OgreViewport.cpp:195
>> >> #22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
>> >>    at OgreRenderTarget.cpp:111
>> >> #23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0, swap=true)
>> >>    at OgreRenderWindow.cpp:73
>> >> #24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
>> >>    at OgreRenderWindow.cpp:67
>> >> #25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow (this=0x81a80c0,
>> >>    window=0x86c39a0, camera=0x86c3808) at
>> >> server/rendering/OgreAdaptor.cc:459
>> >> #26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
>> >>    at server/rendering/UserCamera.cc:86
>> >> #27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
>> >>    at server/gui/GLWindow.cc:143
>> >> #28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
>> >>    at server/gui/GLFrame.cc:134
>> >> #29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
>> >>    at server/gui/GLFrameManager.cc:188
>> >> #30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at
>> >> server/gui/Gui.cc:145
>> >> #31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
>> >>    at server/Simulator.cc:329
>> >> #32 0x08122ec5 in main (argc=2, argv=0xbffff784) at server/main.cc:293
>> >>
>> >>
>> ---------------------------------------------------------------------------------------------------------------
>> >>
>> >> Any idea?
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27144039.html
>> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> This SF.Net email is sponsored by the Verizon Developer Community
>> >> Take advantage of Verizon's best-in-class app development support
>> >> A streamlined, 14 day to market process makes app distribution fast and
>> >> easy
>> >> Join now and get one step closer to millions of Verizon customers
>> >> http://p.sf.net/sfu/verizon-dev2dev
>> >> _______________________________________________
>> >> Playerstage-gazebo mailing list
>> >> [hidden email]
>> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>> >>
>> >
>> ------------------------------------------------------------------------------
>> > This SF.Net email is sponsored by the Verizon Developer Community
>> > Take advantage of Verizon's best-in-class app development support
>> > A streamlined, 14 day to market process makes app distribution fast and
>> > easy
>> > Join now and get one step closer to millions of Verizon customers
>> > http://p.sf.net/sfu/verizon-dev2dev
>> > _______________________________________________
>> > Playerstage-gazebo mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27148788.html
>> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Luis Manso
He is probably installing using the root user in a way that $HOME is set to
/root. Anyway, creating the file in the home directory when gazebo is being
installed is not the right way to go because this kind of thing happens. I
think there are two good options to the current approach:

a) Copying the file to a public directory:
For example /usr/local/share/gazebo/defaultrc. That way, gazebo would look
in $HOME/.gazeborc and, if it does not exist, it would copy the file from
/usr/local/share/gazebo/defaultrc to $HOME/.gazeborc.

b) Generating the file at run time:
As I do in the patch a sent with the mail. However, in order to apply the
patch to the repository it should be slightly changed as I assume on it that
the instalation path is /usr/local (users can set it to any other path).

On Wed, Jan 13, 2010 at 8:04 PM, Nate Koenig <[hidden email]> wrote:

> I'm curious as to why a ~/.gazeborc is not automatically generated
> when you install gazebo.
>
> Are you running make install?
>
> -nate
>
> On Wed, Jan 13, 2010 at 10:02 AM, Luis Manso <[hidden email]> wrote:
> > Now that Nate committed changes in the current version you can just
> remove
> > the old source and fetch it again. In order to compile the source you
> will
> > probably need to apply the patch I sent five minutes ago. I do not think
> it
> > really matters if you had previous versions of gazebo installed.
> >
> > I tested the last version with the patch and works.
> >
> > On Wed, Jan 13, 2010 at 6:54 PM, pt523 <[hidden email]> wrote:
> >
> >>
> >> Thank you again for your kindly help.
> >>
> >> Can I ask you a bit more? I've run the command you advised but I'm not
> >> quite
> >> sure what I have to do with it. Do I have to clean the one that I've
> >> already
> >> installed and build the new one that I've just downloaded? or what I
> have
> >> to
> >> do?
> >>
> >>
> >>
> >> Luis Manso wrote:
> >> >
> >> > I am glad it solved the problem.
> >> >
> >> > About the new problem... Are you using the last version from the SVN
> >> > repository? Maybe that specific version is not working right. For my
> >> > research I am using version 8335. You can fetch that version with the
> >> > following command:
> >> > svn -r 8335 co
> >> >
> >>
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
> >> >  gazebo
> >> >
> >> > On Wed, Jan 13, 2010 at 1:22 PM, pt523 <[hidden email]> wrote:
> >> >
> >> >>
> >> >> Thank you very much for all your help. Your patch really solves the
> >> >> problem
> >> >> :
> >> >> )
> >> >>
> >> >> However I got a new problem. Now I can run only 3 world files
> >> >> (factory.world, light.world and simpleshape.world ). I got different
> >> >> errors
> >> >> when running any other world files. Here are some examples.
> >> >>
> >> >> Running test.world / I get
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1085
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> >> Segmentation fault
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> Running pioneer2at.world / I get
> >> >> ----------------------------------------------------------------
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1088
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> Segmentation fault
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> Running pioneer2dx.world / I get
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1093
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> >> Segmentation fault
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> I've also checked direct rendering on my graphic card and it says
> "Yes".
> >> >>
> >> >> and below is the output I got from backtrace
> >> >>
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> (gdb) run pioneer2at.world
> >> >> Starting program: /usr/local/bin/gazebo pioneer2at.world
> >> >> [Thread debugging using libthread_db enabled]
> >> >> Gazebo multi-robot simulator, version 0.8-pre3
> >> >>
> >> >> Part of the Player/Stage Project [http://playerstage.sourceforge.net
> ].
> >> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >> >> Released under the GNU General Public License.
> >> >>
> >> >> [server/GazeboConfig.cc:101]
> >> >>   Gazebo Path[/usr/local/share/gazebo]
> >> >> [server/GazeboConfig.cc:109]
> >> >>  Ogre Path[/usr/local/lib/OGRE]
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1153
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >>
> >> >> Program received signal SIGSEGV, Segmentation fault.
> >> >> 0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> >> (gdb) bt
> >> >> #0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> >> #1  0x00000002 in ?? ()
> >> >> #2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
> >> >> #3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
> >> >> #4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
> >> >> #5  0x03d6a4c9 in _tnl_vbo_draw_prims () from
> /usr/lib/dri/r300_dri.so
> >> >> #6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
> >> >> #7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
> >> >> #8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
> >> >> #9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280,
> op=...)
> >> >>    at OgreGLRenderSystem.cpp:2416
> >> >> #10 0x0035fb9f in Ogre::SceneManager::renderSingleObject
> >> (this=0x8534680,
> >> >>    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
> >> >>    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
> >> >> #11 0x003569c1 in
> >> >> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> >> >> (
> >> >>    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
> >> >> #12 0x00328f31 in
> Ogre::QueuedRenderableCollection::acceptVisitorGrouped
> >> >> (
> >> >>    this=0x8525aa8, visitor=0x853d0a4)
> >> >>    at OgreRenderQueueSortingGrouping.cpp:411
> >> >> #13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor (
> >> >>    this=0xbfffe284, visitor=0x853d0a4, om=0)
> >> >>    at OgreRenderQueueSortingGrouping.cpp:379
> >> >> #14 0x00358f51 in Ogre::SceneManager::renderObjects (this=0x8534680,
> >> >> objs=...,
> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
> >> >>    doLightIteration=false, manualLightList=0xbffff180)
> >> >>    at OgreSceneManager.cpp:2470
> >> >> #15 0x0035bd04 in
> >> >> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> >> >> (this=0x8534680, pGroup=0x8b43b58,
> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >> >>    at OgreSceneManager.cpp:1899
> >> >> #16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
> >> >>    this=0x8534680, pGroup=0x8b43b58,
> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >> >>    at OgreSceneManager.cpp:2484
> >> >> #17 0x003597d2 in
> >> Ogre::SceneManager::renderVisibleObjectsDefaultSequence
> >> >> (
> >> >>    this=0x8534680) at OgreSceneManager.cpp:1860
> >> >> #18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects
> >> >> (this=0x8534680)
> >> >>    at OgreSceneManager.cpp:1782
> >> >> #19 0x00359eef in Ogre::SceneManager::_renderScene (this=0x8534680,
> >> >>    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
> >> >>    at OgreSceneManager.cpp:1277
> >> >> #20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640,
> >> >> vp=0x8a2e908,
> >> >>    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
> >> >> #21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at
> >> >> OgreViewport.cpp:195
> >> >> #22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
> >> >>    at OgreRenderTarget.cpp:111
> >> >> #23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0,
> swap=true)
> >> >>    at OgreRenderWindow.cpp:73
> >> >> #24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
> >> >>    at OgreRenderWindow.cpp:67
> >> >> #25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow (this=0x81a80c0,
> >> >>    window=0x86c39a0, camera=0x86c3808) at
> >> >> server/rendering/OgreAdaptor.cc:459
> >> >> #26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
> >> >>    at server/rendering/UserCamera.cc:86
> >> >> #27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
> >> >>    at server/gui/GLWindow.cc:143
> >> >> #28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
> >> >>    at server/gui/GLFrame.cc:134
> >> >> #29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
> >> >>    at server/gui/GLFrameManager.cc:188
> >> >> #30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at
> >> >> server/gui/Gui.cc:145
> >> >> #31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
> >> >>    at server/Simulator.cc:329
> >> >> #32 0x08122ec5 in main (argc=2, argv=0xbffff784) at
> server/main.cc:293
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> Any idea?
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27144039.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> >> Take advantage of Verizon's best-in-class app development support
> >> >> A streamlined, 14 day to market process makes app distribution fast
> and
> >> >> easy
> >> >> Join now and get one step closer to millions of Verizon customers
> >> >> http://p.sf.net/sfu/verizon-dev2dev
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> [hidden email]
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > This SF.Net email is sponsored by the Verizon Developer Community
> >> > Take advantage of Verizon's best-in-class app development support
> >> > A streamlined, 14 day to market process makes app distribution fast
> and
> >> > easy
> >> > Join now and get one step closer to millions of Verizon customers
> >> > http://p.sf.net/sfu/verizon-dev2dev
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > [hidden email]
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27148788.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> Take advantage of Verizon's best-in-class app development support
> >> A streamlined, 14 day to market process makes app distribution fast and
> >> easy
> >> Join now and get one step closer to millions of Verizon customers
> >> http://p.sf.net/sfu/verizon-dev2dev
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and
> easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

pt523
To explain what I did,
1. I downloaded gazebo-0.8-pre3.tar.gz form SourceForge Download Page
2. Installed all required 3rd  libraries including ode 0.8.0, OGRE 1.4.9
3. go to gazebo-0.8-pre3 directory
4. run scons
5. sudo su , then scons install

I'm a newbie to Linux so I'm not quite sure what exactly Luis said mean. But I think he is probably right, I might using the root user.

By the way, now I'm trying to install the last version from svn which Luis recommended. It seems different from the 0.8-pre3 version. Am I correct that I have to upgrade ode to 0.11.1 and OGRE to 1.6.4 as well?

Finally, I would like to say thank you for all you guys again. : )

Luis Manso wrote
He is probably installing using the root user in a way that $HOME is set to
/root. Anyway, creating the file in the home directory when gazebo is being
installed is not the right way to go because this kind of thing happens. I
think there are two good options to the current approach:

a) Copying the file to a public directory:
For example /usr/local/share/gazebo/defaultrc. That way, gazebo would look
in $HOME/.gazeborc and, if it does not exist, it would copy the file from
/usr/local/share/gazebo/defaultrc to $HOME/.gazeborc.

b) Generating the file at run time:
As I do in the patch a sent with the mail. However, in order to apply the
patch to the repository it should be slightly changed as I assume on it that
the instalation path is /usr/local (users can set it to any other path).

On Wed, Jan 13, 2010 at 8:04 PM, Nate Koenig <natekoenig@gmail.com> wrote:

> I'm curious as to why a ~/.gazeborc is not automatically generated
> when you install gazebo.
>
> Are you running make install?
>
> -nate
>
> On Wed, Jan 13, 2010 at 10:02 AM, Luis Manso <luis.manso@gmail.com> wrote:
> > Now that Nate committed changes in the current version you can just
> remove
> > the old source and fetch it again. In order to compile the source you
> will
> > probably need to apply the patch I sent five minutes ago. I do not think
> it
> > really matters if you had previous versions of gazebo installed.
> >
> > I tested the last version with the patch and works.
> >
> > On Wed, Jan 13, 2010 at 6:54 PM, pt523 <pitiwut@gmail.com> wrote:
> >
> >>
> >> Thank you again for your kindly help.
> >>
> >> Can I ask you a bit more? I've run the command you advised but I'm not
> >> quite
> >> sure what I have to do with it. Do I have to clean the one that I've
> >> already
> >> installed and build the new one that I've just downloaded? or what I
> have
> >> to
> >> do?
> >>
> >>
> >>
> >> Luis Manso wrote:
> >> >
> >> > I am glad it solved the problem.
> >> >
> >> > About the new problem... Are you using the last version from the SVN
> >> > repository? Maybe that specific version is not working right. For my
> >> > research I am using version 8335. You can fetch that version with the
> >> > following command:
> >> > svn -r 8335 co
> >> >
> >>
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
> >> >  gazebo
> >> >
> >> > On Wed, Jan 13, 2010 at 1:22 PM, pt523 <pitiwut@gmail.com> wrote:
> >> >
> >> >>
> >> >> Thank you very much for all your help. Your patch really solves the
> >> >> problem
> >> >> :
> >> >> )
> >> >>
> >> >> However I got a new problem. Now I can run only 3 world files
> >> >> (factory.world, light.world and simpleshape.world ). I got different
> >> >> errors
> >> >> when running any other world files. Here are some examples.
> >> >>
> >> >> Running test.world / I get
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1085
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> >> Segmentation fault
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> Running pioneer2at.world / I get
> >> >> ----------------------------------------------------------------
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1088
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> Segmentation fault
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> Running pioneer2dx.world / I get
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1093
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> >> Segmentation fault
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> I've also checked direct rendering on my graphic card and it says
> "Yes".
> >> >>
> >> >> and below is the output I got from backtrace
> >> >>
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> (gdb) run pioneer2at.world
> >> >> Starting program: /usr/local/bin/gazebo pioneer2at.world
> >> >> [Thread debugging using libthread_db enabled]
> >> >> Gazebo multi-robot simulator, version 0.8-pre3
> >> >>
> >> >> Part of the Player/Stage Project [http://playerstage.sourceforge.net
> ].
> >> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >> >> Released under the GNU General Public License.
> >> >>
> >> >> [server/GazeboConfig.cc:101]
> >> >>   Gazebo Path[/usr/local/share/gazebo]
> >> >> [server/GazeboConfig.cc:109]
> >> >>  Ogre Path[/usr/local/lib/OGRE]
> >> >> creating /tmp/gazebo-root-0
> >> >> found a pid file: pid=1153
> >> >> The gazebo process is not alive.
> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >>
> >> >> Program received signal SIGSEGV, Segmentation fault.
> >> >> 0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> >> (gdb) bt
> >> >> #0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> >> #1  0x00000002 in ?? ()
> >> >> #2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
> >> >> #3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
> >> >> #4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
> >> >> #5  0x03d6a4c9 in _tnl_vbo_draw_prims () from
> /usr/lib/dri/r300_dri.so
> >> >> #6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
> >> >> #7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
> >> >> #8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
> >> >> #9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280,
> op=...)
> >> >>    at OgreGLRenderSystem.cpp:2416
> >> >> #10 0x0035fb9f in Ogre::SceneManager::renderSingleObject
> >> (this=0x8534680,
> >> >>    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
> >> >>    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
> >> >> #11 0x003569c1 in
> >> >> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> >> >> (
> >> >>    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
> >> >> #12 0x00328f31 in
> Ogre::QueuedRenderableCollection::acceptVisitorGrouped
> >> >> (
> >> >>    this=0x8525aa8, visitor=0x853d0a4)
> >> >>    at OgreRenderQueueSortingGrouping.cpp:411
> >> >> #13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor (
> >> >>    this=0xbfffe284, visitor=0x853d0a4, om=0)
> >> >>    at OgreRenderQueueSortingGrouping.cpp:379
> >> >> #14 0x00358f51 in Ogre::SceneManager::renderObjects (this=0x8534680,
> >> >> objs=...,
> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
> >> >>    doLightIteration=false, manualLightList=0xbffff180)
> >> >>    at OgreSceneManager.cpp:2470
> >> >> #15 0x0035bd04 in
> >> >> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> >> >> (this=0x8534680, pGroup=0x8b43b58,
> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >> >>    at OgreSceneManager.cpp:1899
> >> >> #16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
> >> >>    this=0x8534680, pGroup=0x8b43b58,
> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >> >>    at OgreSceneManager.cpp:2484
> >> >> #17 0x003597d2 in
> >> Ogre::SceneManager::renderVisibleObjectsDefaultSequence
> >> >> (
> >> >>    this=0x8534680) at OgreSceneManager.cpp:1860
> >> >> #18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects
> >> >> (this=0x8534680)
> >> >>    at OgreSceneManager.cpp:1782
> >> >> #19 0x00359eef in Ogre::SceneManager::_renderScene (this=0x8534680,
> >> >>    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
> >> >>    at OgreSceneManager.cpp:1277
> >> >> #20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640,
> >> >> vp=0x8a2e908,
> >> >>    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
> >> >> #21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at
> >> >> OgreViewport.cpp:195
> >> >> #22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
> >> >>    at OgreRenderTarget.cpp:111
> >> >> #23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0,
> swap=true)
> >> >>    at OgreRenderWindow.cpp:73
> >> >> #24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
> >> >>    at OgreRenderWindow.cpp:67
> >> >> #25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow (this=0x81a80c0,
> >> >>    window=0x86c39a0, camera=0x86c3808) at
> >> >> server/rendering/OgreAdaptor.cc:459
> >> >> #26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
> >> >>    at server/rendering/UserCamera.cc:86
> >> >> #27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
> >> >>    at server/gui/GLWindow.cc:143
> >> >> #28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
> >> >>    at server/gui/GLFrame.cc:134
> >> >> #29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
> >> >>    at server/gui/GLFrameManager.cc:188
> >> >> #30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at
> >> >> server/gui/Gui.cc:145
> >> >> #31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
> >> >>    at server/Simulator.cc:329
> >> >> #32 0x08122ec5 in main (argc=2, argv=0xbffff784) at
> server/main.cc:293
> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> Any idea?
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27144039.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> >> Take advantage of Verizon's best-in-class app development support
> >> >> A streamlined, 14 day to market process makes app distribution fast
> and
> >> >> easy
> >> >> Join now and get one step closer to millions of Verizon customers
> >> >> http://p.sf.net/sfu/verizon-dev2dev
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> Playerstage-gazebo@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > This SF.Net email is sponsored by the Verizon Developer Community
> >> > Take advantage of Verizon's best-in-class app development support
> >> > A streamlined, 14 day to market process makes app distribution fast
> and
> >> > easy
> >> > Join now and get one step closer to millions of Verizon customers
> >> > http://p.sf.net/sfu/verizon-dev2dev
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > Playerstage-gazebo@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27148788.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> Take advantage of Verizon's best-in-class app development support
> >> A streamlined, 14 day to market process makes app distribution fast and
> >> easy
> >> Join now and get one step closer to millions of Verizon customers
> >> http://p.sf.net/sfu/verizon-dev2dev
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> Playerstage-gazebo@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and
> easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > Playerstage-gazebo@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Luis Manso
I don't know why but I thought you were using the version from the
repository. :-)

When you run "su" without parameters it not only set your user to root but
also set some environment variables. Replacing step 5 with just "sudo scons
install" as a regular user should also work.

On Wed, Jan 13, 2010 at 9:24 PM, pt523 <[hidden email]> wrote:

>
> To explain what I did,
> 1. I downloaded gazebo-0.8-pre3.tar.gz form SourceForge Download Page
> 2. Installed all required 3rd  libraries including ode 0.8.0, OGRE 1.4.9
> 3. go to gazebo-0.8-pre3 directory
> 4. run scons
> 5. sudo su , then scons install
>
> I'm a newbie to Linux so I'm not quite sure what exactly Luis said mean.
> But
> I think he is probably right, I might using the root user.
>
> By the way, now I'm trying to install the last version from svn which Luis
> recommended. It seems different from the 0.8-pre3 version. Am I correct
> that
> I have to upgrade ode to 0.11.1 and OGRE to 1.6.4 as well?
>
> Finally, I would like to say thank you for all you guys again. : )
>
>
> Luis Manso wrote:
> >
> > He is probably installing using the root user in a way that $HOME is set
> > to
> > /root. Anyway, creating the file in the home directory when gazebo is
> > being
> > installed is not the right way to go because this kind of thing happens.
> I
> > think there are two good options to the current approach:
> >
> > a) Copying the file to a public directory:
> > For example /usr/local/share/gazebo/defaultrc. That way, gazebo would
> look
> > in $HOME/.gazeborc and, if it does not exist, it would copy the file from
> > /usr/local/share/gazebo/defaultrc to $HOME/.gazeborc.
> >
> > b) Generating the file at run time:
> > As I do in the patch a sent with the mail. However, in order to apply the
> > patch to the repository it should be slightly changed as I assume on it
> > that
> > the instalation path is /usr/local (users can set it to any other path).
> >
> > On Wed, Jan 13, 2010 at 8:04 PM, Nate Koenig <[hidden email]>
> wrote:
> >
> >> I'm curious as to why a ~/.gazeborc is not automatically generated
> >> when you install gazebo.
> >>
> >> Are you running make install?
> >>
> >> -nate
> >>
> >> On Wed, Jan 13, 2010 at 10:02 AM, Luis Manso <[hidden email]>
> >> wrote:
> >> > Now that Nate committed changes in the current version you can just
> >> remove
> >> > the old source and fetch it again. In order to compile the source you
> >> will
> >> > probably need to apply the patch I sent five minutes ago. I do not
> >> think
> >> it
> >> > really matters if you had previous versions of gazebo installed.
> >> >
> >> > I tested the last version with the patch and works.
> >> >
> >> > On Wed, Jan 13, 2010 at 6:54 PM, pt523 <[hidden email]> wrote:
> >> >
> >> >>
> >> >> Thank you again for your kindly help.
> >> >>
> >> >> Can I ask you a bit more? I've run the command you advised but I'm
> not
> >> >> quite
> >> >> sure what I have to do with it. Do I have to clean the one that I've
> >> >> already
> >> >> installed and build the new one that I've just downloaded? or what I
> >> have
> >> >> to
> >> >> do?
> >> >>
> >> >>
> >> >>
> >> >> Luis Manso wrote:
> >> >> >
> >> >> > I am glad it solved the problem.
> >> >> >
> >> >> > About the new problem... Are you using the last version from the
> SVN
> >> >> > repository? Maybe that specific version is not working right. For
> my
> >> >> > research I am using version 8335. You can fetch that version with
> >> the
> >> >> > following command:
> >> >> > svn -r 8335 co
> >> >> >
> >> >>
> >>
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
> >> >> >  gazebo
> >> >> >
> >> >> > On Wed, Jan 13, 2010 at 1:22 PM, pt523 <[hidden email]> wrote:
> >> >> >
> >> >> >>
> >> >> >> Thank you very much for all your help. Your patch really solves
> the
> >> >> >> problem
> >> >> >> :
> >> >> >> )
> >> >> >>
> >> >> >> However I got a new problem. Now I can run only 3 world files
> >> >> >> (factory.world, light.world and simpleshape.world ). I got
> >> different
> >> >> >> errors
> >> >> >> when running any other world files. Here are some examples.
> >> >> >>
> >> >> >> Running test.world / I get
> >> >> >>
> >> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> >> creating /tmp/gazebo-root-0
> >> >> >> found a pid file: pid=1085
> >> >> >> The gazebo process is not alive.
> >> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> >> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> >> >> Segmentation fault
> >> >> >>
> >> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> >>
> >> >> >> Running pioneer2at.world / I get
> >> >> >> ----------------------------------------------------------------
> >> >> >> creating /tmp/gazebo-root-0
> >> >> >> found a pid file: pid=1088
> >> >> >> The gazebo process is not alive.
> >> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> >> Segmentation fault
> >> >> >>
> >> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> >>
> >> >> >> Running pioneer2dx.world / I get
> >> >> >>
> >> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> >> creating /tmp/gazebo-root-0
> >> >> >> found a pid file: pid=1093
> >> >> >> The gazebo process is not alive.
> >> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> >> creating /tmp/gazebo-root-0/laser.laser_iface_0 112 12444
> >> >> >> creating /tmp/gazebo-root-0/fiducial.fiducial_iface_0 112 20932
> >> >> >> Segmentation fault
> >> >> >>
> >> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> >>
> >> >> >> I've also checked direct rendering on my graphic card and it says
> >> "Yes".
> >> >> >>
> >> >> >> and below is the output I got from backtrace
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> >>
> >> >> >> (gdb) run pioneer2at.world
> >> >> >> Starting program: /usr/local/bin/gazebo pioneer2at.world
> >> >> >> [Thread debugging using libthread_db enabled]
> >> >> >> Gazebo multi-robot simulator, version 0.8-pre3
> >> >> >>
> >> >> >> Part of the Player/Stage Project
> >> [http://playerstage.sourceforge.net
> >> ].
> >> >> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >> >> >> Released under the GNU General Public License.
> >> >> >>
> >> >> >> [server/GazeboConfig.cc:101]
> >> >> >>   Gazebo Path[/usr/local/share/gazebo]
> >> >> >> [server/GazeboConfig.cc:109]
> >> >> >>  Ogre Path[/usr/local/lib/OGRE]
> >> >> >> creating /tmp/gazebo-root-0
> >> >> >> found a pid file: pid=1153
> >> >> >> The gazebo process is not alive.
> >> >> >> creating /tmp/gazebo-root-0/simulation.default 112 144496
> >> >> >> creating /tmp/gazebo-root-0/position.position_iface_0 112 228
> >> >> >>
> >> >> >> Program received signal SIGSEGV, Segmentation fault.
> >> >> >> 0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> >> >> (gdb) bt
> >> >> >> #0  0x009ff006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
> >> >> >> #1  0x00000002 in ?? ()
> >> >> >> #2  0x03d62867 in vbo_split_copy () from /usr/lib/dri/r300_dri.so
> >> >> >> #3  0x03d61e2f in vbo_split_prims () from /usr/lib/dri/r300_dri.so
> >> >> >> #4  0x03d69851 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
> >> >> >> #5  0x03d6a4c9 in _tnl_vbo_draw_prims () from
> >> /usr/lib/dri/r300_dri.so
> >> >> >> #6  0x03d600f0 in ?? () from /usr/lib/dri/r300_dri.so
> >> >> >> #7  0x03d601ae in ?? () from /usr/lib/dri/r300_dri.so
> >> >> >> #8  0x03d579ae in ?? () from /usr/lib/dri/r300_dri.so
> >> >> >> #9  0x01369b60 in Ogre::GLRenderSystem::_render (this=0x81b1280,
> >> op=...)
> >> >> >>    at OgreGLRenderSystem.cpp:2416
> >> >> >> #10 0x0035fb9f in Ogre::SceneManager::renderSingleObject
> >> >> (this=0x8534680,
> >> >> >>    rend=0x8a80bd0, pass=0x8a80fc0, doLightIteration=false,
> >> >> >>    manualLightList=0xbffff180) at OgreSceneManager.cpp:2864
> >> >> >> #11 0x003569c1 in
> >> >> >> Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> >> >> >> (
> >> >> >>    this=0x853d0a4, r=0x8a80bd0) at OgreSceneManager.cpp:2382
> >> >> >> #12 0x00328f31 in
> >> Ogre::QueuedRenderableCollection::acceptVisitorGrouped
> >> >> >> (
> >> >> >>    this=0x8525aa8, visitor=0x853d0a4)
> >> >> >>    at OgreRenderQueueSortingGrouping.cpp:411
> >> >> >> #13 0x0032940e in Ogre::QueuedRenderableCollection::acceptVisitor
> (
> >> >> >>    this=0xbfffe284, visitor=0x853d0a4, om=0)
> >> >> >>    at OgreRenderQueueSortingGrouping.cpp:379
> >> >> >> #14 0x00358f51 in Ogre::SceneManager::renderObjects
> >> (this=0x8534680,
> >> >> >> objs=...,
> >> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP,
> >> >> >>    doLightIteration=false, manualLightList=0xbffff180)
> >> >> >>    at OgreSceneManager.cpp:2470
> >> >> >> #15 0x0035bd04 in
> >> >> >> Ogre::SceneManager::renderAdditiveStencilShadowedQueueGroupObjects
> >> >> >> (this=0x8534680, pGroup=0x8b43b58,
> >> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >> >> >>    at OgreSceneManager.cpp:1899
> >> >> >> #16 0x00358813 in Ogre::SceneManager::_renderQueueGroupObjects (
> >> >> >>    this=0x8534680, pGroup=0x8b43b58,
> >> >> >>    om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
> >> >> >>    at OgreSceneManager.cpp:2484
> >> >> >> #17 0x003597d2 in
> >> >> Ogre::SceneManager::renderVisibleObjectsDefaultSequence
> >> >> >> (
> >> >> >>    this=0x8534680) at OgreSceneManager.cpp:1860
> >> >> >> #18 0x0035996d in Ogre::SceneManager::_renderVisibleObjects
> >> >> >> (this=0x8534680)
> >> >> >>    at OgreSceneManager.cpp:1782
> >> >> >> #19 0x00359eef in Ogre::SceneManager::_renderScene
> (this=0x8534680,
> >> >> >>    camera=0x8a3e640, vp=0x8a2e908, includeOverlays=true)
> >> >> >>    at OgreSceneManager.cpp:1277
> >> >> >> #20 0x001e721e in Ogre::Camera::_renderScene (this=0x8a3e640,
> >> >> >> vp=0x8a2e908,
> >> >> >>    includeOverlays=<value optimized out>) at OgreCamera.cpp:397
> >> >> >> #21 0x003d0d30 in Ogre::Viewport::update (this=0x0) at
> >> >> >> OgreViewport.cpp:195
> >> >> >> #22 0x00332bed in Ogre::RenderTarget::update (this=0x86c39a0)
> >> >> >>    at OgreRenderTarget.cpp:111
> >> >> >> #23 0x00336959 in Ogre::RenderWindow::update (this=0x86c39a0,
> >> swap=true)
> >> >> >>    at OgreRenderWindow.cpp:73
> >> >> >> #24 0x003368dc in Ogre::RenderWindow::update (this=0x86c39a0)
> >> >> >>    at OgreRenderWindow.cpp:67
> >> >> >> #25 0x080e3648 in gazebo::OgreAdaptor::UpdateWindow
> >> (this=0x81a80c0,
> >> >> >>    window=0x86c39a0, camera=0x86c3808) at
> >> >> >> server/rendering/OgreAdaptor.cc:459
> >> >> >> #26 0x080fa790 in gazebo::UserCamera::Update (this=0x86c3808)
> >> >> >>    at server/rendering/UserCamera.cc:86
> >> >> >> #27 0x08119771 in gazebo::GLWindow::Update (this=0x85250e0)
> >> >> >>    at server/gui/GLWindow.cc:143
> >> >> >> #28 0x081209ae in gazebo::GLFrame::Update (this=0x81cd808)
> >> >> >>    at server/gui/GLFrame.cc:134
> >> >> >> #29 0x0811e62e in gazebo::GLFrameManager::Update (this=0x81ccf70)
> >> >> >>    at server/gui/GLFrameManager.cc:188
> >> >> >> #30 0x08118551 in gazebo::Gui::Update (this=0x81c2a10) at
> >> >> >> server/gui/Gui.cc:145
> >> >> >> #31 0x0813d099 in gazebo::Simulator::MainLoop (this=0x8190710)
> >> >> >>    at server/Simulator.cc:329
> >> >> >> #32 0x08122ec5 in main (argc=2, argv=0xbffff784) at
> >> server/main.cc:293
> >> >> >>
> >> >> >>
> >> >>
> >>
> ---------------------------------------------------------------------------------------------------------------
> >> >> >>
> >> >> >> Any idea?
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27144039.html
> >> >> >> Sent from the playerstage-gazebo mailing list archive at
> >> Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> >> >> Take advantage of Verizon's best-in-class app development support
> >> >> >> A streamlined, 14 day to market process makes app distribution
> fast
> >> and
> >> >> >> easy
> >> >> >> Join now and get one step closer to millions of Verizon customers
> >> >> >> http://p.sf.net/sfu/verizon-dev2dev
> >> >> >> _______________________________________________
> >> >> >> Playerstage-gazebo mailing list
> >> >> >> [hidden email]
> >> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >>
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> > This SF.Net email is sponsored by the Verizon Developer Community
> >> >> > Take advantage of Verizon's best-in-class app development support
> >> >> > A streamlined, 14 day to market process makes app distribution fast
> >> and
> >> >> > easy
> >> >> > Join now and get one step closer to millions of Verizon customers
> >> >> > http://p.sf.net/sfu/verizon-dev2dev
> >> >> > _______________________________________________
> >> >> > Playerstage-gazebo mailing list
> >> >> > [hidden email]
> >> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27148788.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> >> Take advantage of Verizon's best-in-class app development support
> >> >> A streamlined, 14 day to market process makes app distribution fast
> >> and
> >> >> easy
> >> >> Join now and get one step closer to millions of Verizon customers
> >> >> http://p.sf.net/sfu/verizon-dev2dev
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> [hidden email]
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > This SF.Net email is sponsored by the Verizon Developer Community
> >> > Take advantage of Verizon's best-in-class app development support
> >> > A streamlined, 14 day to market process makes app distribution fast
> and
> >> easy
> >> > Join now and get one step closer to millions of Verizon customers
> >> > http://p.sf.net/sfu/verizon-dev2dev
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > [hidden email]
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Verizon Developer Community
> >> Take advantage of Verizon's best-in-class app development support
> >> A streamlined, 14 day to market process makes app distribution fast and
> >> easy
> >> Join now and get one step closer to millions of Verizon customers
> >> http://p.sf.net/sfu/verizon-dev2dev
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and
> > easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27151350.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

pt523
Sorry to bother you again. Now I'm trying to compile the last version of Gazebo as advised  by Luis (actually I'm a bit confused that you want me to try the last version or version 8335 ^_^). Anyway I'm trying the last version which I got by typing svn co https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk gazebo
 
When I compiled it, I got
--------------------------------------------------------------------------------------------------
[  1%] Building CXX object 3rd_party/assimp/code/CMakeFiles/assimp.dir/ACLoader.o
/home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/ACLoader.cpp: In member function ‘void Assimp::AC3DImporter::LoadObjectSection(std::vector<Assimp::AC3DImporter::Object, std::allocator<Assimp::AC3DImporter::Object> >&)’:
/home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/ACLoader.cpp:179: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘size_t’
...
[ 19%] Building CXX object 3rd_party/assimp/code/CMakeFiles/assimp.dir/MD5Loader.o
/home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp: In member function ‘void Assimp::MD5Importer::LoadMD5CameraFile()’:
/home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘ptrdiff_t’
/home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
/home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘unsigned int
...
Linking CXX shared library libgazebo_av.so
[ 91%] Built target gazebo_av-shared
Scanning dependencies of target gazebo-exec
[ 92%] Building CXX object server/CMakeFiles/gazebo-exec.dir/main.o
Linking CXX executable gazebo
physics/ode/libgazebo_physics_ode.so: undefined reference to `dBodySetMovedCallback'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dAllocateODEDataForThread'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dBodySetLinearDamping'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dMassSetTrimeshTotal'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dBodySetAngularDamping'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dInitODE2'
collect2: ld returned 1 exit status
make[2]: *** [server/gazebo] Error 1
make[1]: *** [server/CMakeFiles/gazebo-exec.dir/all] Error 2
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------------

I've already installed ode0.11.1, OGRE 1.6.4 and player 3.0.0. It seems like something wrong with ode, doesn't it. Did I do something wrong again?

and This is the output from cmake
--------------------------------------------------------------------------------------------------------------------------

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Gazebo version 0.10.0
--

====== Finding 3rd Party Packages ======
-- Operating system is Linux
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found FLTK: fltk_images;fltk_forms;fltk_gl;/usr/lib/libGL.so;fltk
-- checking for module 'ode>=0.10.1'
--   found ode, version 0.11.1
-- checking for module 'freeimage>=3.9.0'
--   package 'freeimage>=3.9.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 'OGRE>=1.6.3'
--   found OGRE, version 1.6.4
-- checking for module 'libxml-2.0'
--   found libxml-2.0, version 2.7.5
-- checking for module 'xft'
--   found xft, version 2.1.13
-- checking for module 'openal'
--   found openal, version 1.8.466
-- checking for module 'libavformat'
--   found libavformat, version 52.31.0
-- checking for module 'libavcodec'
--   found libavcodec, version 52.20.0
-- checking for module 'playercore>=3.0'
--   found playercore, version 3.0.0
-- checking for module 'websim'
--   package 'websim' not found
-- Warning: Websim not found. Webgazebo will not be built
-- Boost version: 1.38.0
-- Found the following Boost libraries:
-- Boost version: 1.38.0
-- Found the following Boost libraries:
--   thread
--   signals
-- Boost Include Path: /usr/include
-- Boost Library Path: /usr/lib
-- Boost Libraries: ;optimized;/usr/lib/libboost_thread-mt.so;debug;/usr/lib/libboost_thread-mt-d.so;optimized;/usr/lib/libboost_signals-mt.so;debug;/usr/lib/libboost_signals-mt-d.so
-- Threadpool Include Path:
-- 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
-- Looking for dlfcn.h - found
-- Looking for libdl - found
-- Looking for assimp.hpp - not found. Using built in version.
-- Looking for libassimp - not found. Using builtin version.
-- Looking for btBulletDynamicsCommon.h - not found
-- Looking for bullet libraries - not found
-- Warning: Unable to find bullet. The bullet physics engine will not be supported.
-- ----------------------------------------

-- Cmake C Flags:
-- Build Type: RELEASE
-- Install path: /usr/local
-- Configuration successful. Type make to compile gazebo
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pitiwut/Downloads/Gazebo/lastest/gazebo/build


Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

Nate Koenig
Hello,

can you run:

$ VERBOSE=1 make

and post the output relevant to the error that you're seeing.

-nate

On Thu, Jan 14, 2010 at 4:38 AM, pt523 <[hidden email]> wrote:

>
> Sorry to bother you again. Now I'm trying to compile the last version of
> Gazebo as advised  by Luis (actually I'm a bit confused that you want me to
> try the last version or version 8335 ^_^). Anyway I'm trying the last
> version which I got by typing svn co
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
> gazebo
>
> When I compiled it, I got
> --------------------------------------------------------------------------------------------------
> [  1%] Building CXX object
> 3rd_party/assimp/code/CMakeFiles/assimp.dir/ACLoader.o
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/ACLoader.cpp:
> In member function ‘void
> Assimp::AC3DImporter::LoadObjectSection(std::vector<Assimp::AC3DImporter::Object,
> std::allocator<Assimp::AC3DImporter::Object> >&)’:
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/ACLoader.cpp:179:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has
> type ‘size_t’
> ...
> [ 19%] Building CXX object
> 3rd_party/assimp/code/CMakeFiles/assimp.dir/MD5Loader.o
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:
> In member function ‘void Assimp::MD5Importer::LoadMD5CameraFile()’:
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has
> type ‘ptrdiff_t’
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has
> type ‘unsigned int’
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has
> type ‘unsigned int
> ...
> Linking CXX shared library libgazebo_av.so
> [ 91%] Built target gazebo_av-shared
> Scanning dependencies of target gazebo-exec
> [ 92%] Building CXX object server/CMakeFiles/gazebo-exec.dir/main.o
> Linking CXX executable gazebo
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dBodySetMovedCallback'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dAllocateODEDataForThread'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dBodySetLinearDamping'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dMassSetTrimeshTotal'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dBodySetAngularDamping'
> physics/ode/libgazebo_physics_ode.so: undefined reference to `dInitODE2'
> collect2: ld returned 1 exit status
> make[2]: *** [server/gazebo] Error 1
> make[1]: *** [server/CMakeFiles/gazebo-exec.dir/all] Error 2
> make: *** [all] Error 2
> --------------------------------------------------------------------------------------------------------------------------
>
> I've already installed ode0.11.1, OGRE 1.6.4 and player 3.0.0. It seems like
> something wrong with ode, doesn't it. Did I do something wrong again?
>
> and This is the output from cmake
> --------------------------------------------------------------------------------------------------------------------------
>
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Gazebo version 0.10.0
> --
>
> ====== Finding 3rd Party Packages ======
> -- Operating system is Linux
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
> found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/libX11.so
> -- Found FLTK: fltk_images;fltk_forms;fltk_gl;/usr/lib/libGL.so;fltk
> -- checking for module 'ode>=0.10.1'
> --   found ode, version 0.11.1
> -- checking for module 'freeimage>=3.9.0'
> --   package 'freeimage>=3.9.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 'OGRE>=1.6.3'
> --   found OGRE, version 1.6.4
> -- checking for module 'libxml-2.0'
> --   found libxml-2.0, version 2.7.5
> -- checking for module 'xft'
> --   found xft, version 2.1.13
> -- checking for module 'openal'
> --   found openal, version 1.8.466
> -- checking for module 'libavformat'
> --   found libavformat, version 52.31.0
> -- checking for module 'libavcodec'
> --   found libavcodec, version 52.20.0
> -- checking for module 'playercore>=3.0'
> --   found playercore, version 3.0.0
> -- checking for module 'websim'
> --   package 'websim' not found
> -- Warning: Websim not found. Webgazebo will not be built
> -- Boost version: 1.38.0
> -- Found the following Boost libraries:
> -- Boost version: 1.38.0
> -- Found the following Boost libraries:
> --   thread
> --   signals
> -- Boost Include Path: /usr/include
> -- Boost Library Path: /usr/lib
> -- Boost Libraries:
> ;optimized;/usr/lib/libboost_thread-mt.so;debug;/usr/lib/libboost_thread-mt-d.so;optimized;/usr/lib/libboost_signals-mt.so;debug;/usr/lib/libboost_signals-mt-d.so
> -- Threadpool Include Path:
> -- 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
> -- Looking for dlfcn.h - found
> -- Looking for libdl - found
> -- Looking for assimp.hpp - not found. Using built in version.
> -- Looking for libassimp - not found. Using builtin version.
> -- Looking for btBulletDynamicsCommon.h - not found
> -- Looking for bullet libraries - not found
> -- Warning: Unable to find bullet. The bullet physics engine will not be
> supported.
> -- ----------------------------------------
>
> -- Cmake C Flags:
> -- Build Type: RELEASE
> -- Install path: /usr/local
> -- Configuration successful. Type make to compile gazebo
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/build
>
>
>
> --
> View this message in context: http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27160632.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

pt523
Hello nate,

This is what I get after run $ VERBOSE=1 make
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Linking CXX executable gazebo
cd /home/pitiwut/Downloads/Gazebo/lastest/gazebo/build/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/gazebo-exec.dir/link.txt --verbose=1
/usr/bin/c++   -O3 -DNDEBUG   CMakeFiles/gazebo-exec.dir/main.o  -o gazebo -rdynamic -L/home/pitiwut/Downloads/Gazebo/lastest/gazebo/build/libgazebo -L/home/pitiwut/Downloads/Gazebo/lastest/gazebo/build/server/gui -L/home/pitiwut/Downloads/Gazebo/lastest/gazebo/build/server/physics/bullet -L/usr/local/lib -L/home/pitiwut/Downloads/Gazebo/lastest/gazebo/build/3rd_party/assimp/code -L/home/pitiwut/Downloads/Gazebo/lastest/gazebo/build/3rd_party/assimp -lltdl -lode -L/usr/local/lib -lode -lOgreMain -L/usr/local/lib -lOgreMain -lxml2 -lXft -lopenal -lavformat -lavcodec ../3rd_party/assimp/code/libassimp.so -lboost_thread-mt -lboost_signals-mt libgazebo_server.so.0.10.0 -lfreeimage rendering/libgazebo_rendering.so audio_video/libgazebo_av.so.0.10.0 gui/libgazebo_gui.so.0.10.0 physics/libgazebo_physics.so -lgazebo ../3rd_party/assimp/code/libassimp.so physics/ode/libgazebo_physics_ode.so -lode -lltdl -lfreeimage -lOgreMain -lX11 -lgazebo -lode -lopenal -lavformat -lavcodec -lfltk_images -lfltk_forms -lfltk_gl -lGL -lfltk -lSM -lICE -lX11 -lXext -lm -lXpm
physics/ode/libgazebo_physics_ode.so: undefined reference to `dBodySetMovedCallback'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dAllocateODEDataForThread'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dBodySetLinearDamping'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dMassSetTrimeshTotal'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dBodySetAngularDamping'
physics/ode/libgazebo_physics_ode.so: undefined reference to `dInitODE2'
collect2: ld returned 1 exit status
make[2]: *** [server/gazebo] Error 1
make[2]: Leaving directory `/home/pitiwut/Downloads/Gazebo/lastest/gazebo/build'
make[1]: *** [server/CMakeFiles/gazebo-exec.dir/all] Error 2
make[1]: Leaving directory `/home/pitiwut/Downloads/Gazebo/lastest/gazebo/build'
make: *** [all] Error 2
---------------------------------------------------------------------------------------------------------------------------------------

Nate Koenig wrote
Hello,

can you run:

$ VERBOSE=1 make

and post the output relevant to the error that you're seeing.

-nate

On Thu, Jan 14, 2010 at 4:38 AM, pt523 <pitiwut@gmail.com> wrote:
>
> Sorry to bother you again. Now I'm trying to compile the last version of
> Gazebo as advised  by Luis (actually I'm a bit confused that you want me to
> try the last version or version 8335 ^_^). Anyway I'm trying the last
> version which I got by typing svn co
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
> gazebo
>
> When I compiled it, I got
> --------------------------------------------------------------------------------------------------
> [  1%] Building CXX object
> 3rd_party/assimp/code/CMakeFiles/assimp.dir/ACLoader.o
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/ACLoader.cpp:
> In member function ‘void
> Assimp::AC3DImporter::LoadObjectSection(std::vector<Assimp::AC3DImporter::Object,
> std::allocator<Assimp::AC3DImporter::Object> >&)’:
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/ACLoader.cpp:179:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has
> type ‘size_t’
> ...
> [ 19%] Building CXX object
> 3rd_party/assimp/code/CMakeFiles/assimp.dir/MD5Loader.o
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:
> In member function ‘void Assimp::MD5Importer::LoadMD5CameraFile()’:
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has
> type ‘ptrdiff_t’
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has
> type ‘unsigned int’
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/3rd_party/assimp/code/MD5Loader.cpp:698:
> warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has
> type ‘unsigned int
> ...
> Linking CXX shared library libgazebo_av.so
> [ 91%] Built target gazebo_av-shared
> Scanning dependencies of target gazebo-exec
> [ 92%] Building CXX object server/CMakeFiles/gazebo-exec.dir/main.o
> Linking CXX executable gazebo
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dBodySetMovedCallback'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dAllocateODEDataForThread'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dBodySetLinearDamping'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dMassSetTrimeshTotal'
> physics/ode/libgazebo_physics_ode.so: undefined reference to
> `dBodySetAngularDamping'
> physics/ode/libgazebo_physics_ode.so: undefined reference to `dInitODE2'
> collect2: ld returned 1 exit status
> make[2]: *** [server/gazebo] Error 1
> make[1]: *** [server/CMakeFiles/gazebo-exec.dir/all] Error 2
> make: *** [all] Error 2
> --------------------------------------------------------------------------------------------------------------------------
>
> I've already installed ode0.11.1, OGRE 1.6.4 and player 3.0.0. It seems like
> something wrong with ode, doesn't it. Did I do something wrong again?
>
> and This is the output from cmake
> --------------------------------------------------------------------------------------------------------------------------
>
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Gazebo version 0.10.0
> --
>
> ====== Finding 3rd Party Packages ======
> -- Operating system is Linux
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
> found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/libX11.so
> -- Found FLTK: fltk_images;fltk_forms;fltk_gl;/usr/lib/libGL.so;fltk
> -- checking for module 'ode>=0.10.1'
> --   found ode, version 0.11.1
> -- checking for module 'freeimage>=3.9.0'
> --   package 'freeimage>=3.9.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 'OGRE>=1.6.3'
> --   found OGRE, version 1.6.4
> -- checking for module 'libxml-2.0'
> --   found libxml-2.0, version 2.7.5
> -- checking for module 'xft'
> --   found xft, version 2.1.13
> -- checking for module 'openal'
> --   found openal, version 1.8.466
> -- checking for module 'libavformat'
> --   found libavformat, version 52.31.0
> -- checking for module 'libavcodec'
> --   found libavcodec, version 52.20.0
> -- checking for module 'playercore>=3.0'
> --   found playercore, version 3.0.0
> -- checking for module 'websim'
> --   package 'websim' not found
> -- Warning: Websim not found. Webgazebo will not be built
> -- Boost version: 1.38.0
> -- Found the following Boost libraries:
> -- Boost version: 1.38.0
> -- Found the following Boost libraries:
> --   thread
> --   signals
> -- Boost Include Path: /usr/include
> -- Boost Library Path: /usr/lib
> -- Boost Libraries:
> ;optimized;/usr/lib/libboost_thread-mt.so;debug;/usr/lib/libboost_thread-mt-d.so;optimized;/usr/lib/libboost_signals-mt.so;debug;/usr/lib/libboost_signals-mt-d.so
> -- Threadpool Include Path:
> -- 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
> -- Looking for dlfcn.h - found
> -- Looking for libdl - found
> -- Looking for assimp.hpp - not found. Using built in version.
> -- Looking for libassimp - not found. Using builtin version.
> -- Looking for btBulletDynamicsCommon.h - not found
> -- Looking for bullet libraries - not found
> -- Warning: Unable to find bullet. The bullet physics engine will not be
> supported.
> -- ----------------------------------------
>
> -- Cmake C Flags:
> -- Build Type: RELEASE
> -- Install path: /usr/local
> -- Configuration successful. Type make to compile gazebo
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/pitiwut/Downloads/Gazebo/lastest/gazebo/build
>
>
>
> --
> View this message in context: http://old.nabble.com/Problem-of-%7E-.gazeborc-file-tp27026907p27160632.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem of ~/.gazeborc file

ucamel
This post was updated on .
In reply to this post by Luis Manso
Hi!
I am kind of new in gazebo and i am having the same problem and i just joined the mailing list.
Could you pleas send me the correct GazeboConfig.cc or the section i should change to fix it?
Thanks in advance  


Luis Manso wrote
The previous patch was wrong (I forgot to save the file before sending).

On Tue, Jan 12, 2010 at 4:16 PM, Luis Manso <luis.manso@gmail.com> wrote:

> I do not really know if what I said would solve your problem (it does if it
> is what I think it is). In fact I did not even compile gazebo with the patch
> as the latest version of gazebo does not compile on my system.  Anyway I
> send the patch (I think it is useful).
>
> In GazeboConfig.cc you should change:
>
> =========
> void GazeboConfig::Load()
> {
>   std::ifstream cfgFile;
>
>   std::string rcFilename = getenv("HOME");
>   rcFilename += "/.gazeborc";
>
>   cfgFile.open(rcFilename.c_str(), std::ios::in);
> =========
>
> to
> =========
>  void GazeboConfig::Load()
> {
>   std::fstream cfgFile;
>
>   std::string rcFilename = getenv("HOME");
>   rcFilename += "/.gazeborc";
>
>   cfgFile.open(rcFilename.c_str(), std::ios::in);
>   if (!cfgFile.is_open())
>   {
>     cfgFile.open(rcFilename.c_str(), std::ios::out);
>     cfgFile << "<?xml
> version=\"1.0\"?>\n<gazeborc>\n<gazeboPath>/usr/local/share/gazebo</gazeboPath>\n<ogrePath>/usr/local/lib/OGRE</ogrePath>\n</gazeborc>\n";
>     cfgFile.close();
>     cfgFile.open(rcFilename.c_str(), std::ios::in);
>   }
> =========
>
> The patch file is attached.
>
> On Tue, Jan 12, 2010 at 3:43 PM, Andres Faiña <afaina@udc.es> wrote:
>
>> Hi,
>>
>> The symbol ~ represents your home directory in linux. Then  ~/.gazeborc
>> is a file called ".gazeborc" in your home.
>> In your case, ~/.gazeborc is the same that /home/pitiwut/.gazeborc
>>
>> Bye!
>>
>> pt523 escribió:
>> > Hi,
>> >
>> > Thank you very much for your advise. Actually I've seen that archive
>> already
>> > but I'm not sure what exactly I have to do with the ~/.gazeborc file. I
>> > assume that in my case ~/.gazeborc file wasn't automatically built so I
>> have
>> > to create it myself. Is that right?
>> >
>> > Anyway what I already done was I created files named gazeborc, .gazebo
>> and
>> > ~/.gazeborc and put them in my /home directory and also /home/pitiwut
>> > directory. The content of the gazeborc files looks like this
>> >
>> ------------------------------------------------------------------------------------------------------------------
>> > <?xml version="1.0"?>
>> > <gazeborc>
>> >   <gazeboPath>/usr/local/share/gazebo</gazeboPath>
>> >   <gazeboPath>/home/pitiwut/share/gazebo</gazeboPath>
>> >   <ogrePath>/usr/local/lib/OGRE</ogrePath>
>> >   <gazeboPath>/home/pitiwut/local/lib/OGRE</gazeboPath>
>> >   <RTTMode>PBuffer</RTTMode>
>> > </gazeborc>
>> >
>> ------------------------------------------------------------------------------------------------------------------
>> >
>> > However, it still can't solve the problem. Am I misunderstand something?
>> >
>> > This is the output I get
>> >
>> >
>> ------------------------------------------------------------------------------------------------------------------
>> > Gazebo multi-robot simulator, version 0.8-pre3
>> >
>> > Part of the Player/Stage Project [http://playerstage.sourceforge.net].
>> > Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>> > Released under the GNU General Public License.
>> >
>> > [server/GazeboConfig.cc:101]
>> >   Unable to find the file ~/.gazeborc. Using default paths. This may
>> cause
>> > OGRE to fail.
>> > gazebo: ../../../OgreMain/include/OgreSingleton.h:66:
>> > Ogre::Singleton<T>::Singleton() [with T =
>> > Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton'
>> failed.
>> > Aborted
>> >
>> -----------------------------------------------------------------------------------------------------------------
>> >
>> > Apart from "Segmentation fault" I got last time, now it shows "Assertion
>> > `!ms_Singleton' failed.". Is this error related to the ~/.gazeborc file
>> or
>> > it is another problem?
>> >
>> > Pitiwut
>> >
>> >
>> > Andrés Faína Rodrí­guez-Vila wrote:
>> >
>> >> Hi,
>> >>
>> >> the solution to your problem is:
>> >>
>> >>
>> http://www.mail-archive.com/playerstage-gazebo@lists.sourceforge.net/msg00851.html
>> >>
>> >> Bye!
>> >>
>> >>
>> >> pt523 escribió:
>> >>
>> >>> Hi
>> >>>
>> >>> I'm new to Linux and Gazebo but desperately need to use Gazebo on my
>> >>> research.
>> >>>
>> >>> I've managed to solve some problems until finally Gazebo was installed
>> on
>> >>> my
>> >>> computer. However, after spending several days looking at a problem of
>> >>> ~/.gazeborc, I still can't solve it.
>> >>>
>> >>> I'm using Gazebo 0.8.pre3 on Ubuntu 9.10. I've also install OGRE
>> V1.4.4
>> >>> and
>> >>> ODE V0.8. When I type
>> >>>
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>> root@pitiwut-desktop:/# gazebo
>> /usr/local/share/gazebo/worlds/test.world
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>>
>> >>> I get ,
>> >>>
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>> Gazebo multi-robot simulator, version 0.8-pre3
>> >>>
>> >>> Part of the Player/Stage Project [http://playerstage.sourceforge.net
>> ].
>> >>> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>> >>> Released under the GNU General Public License.
>> >>>
>> >>> [server/GazeboConfig.cc:101]
>> >>>   Unable to find the file ~/.gazeborc. Using default paths. This may
>> >>> cause
>> >>> OGRE to fail.
>> >>> Segmentation fault
>> >>>
>> -------------------------------------------------------------------------------------------
>> >>>
>> >>> After looking in the archives, what I understand is ~/.gazeborc.
>> should
>> >>> be
>> >>> automatically created by the builder and is placed in the user's home
>> >>> directory. However I can't see it in my home directory.
>> >>>
>> >>> I think I might did something wrong but I have no idea what I did
>> wrong.
>> >>> If
>> >>> you want some more information please tell me I'll try providing all
>> >>> information for you.
>> >>>
>> >>> Any ideas and advices would be appreciated. Thanks in advance.
>> >>>
>> >>> Pitiwut
>> >>>
>> >>>
>> >>>
>> >>
>> ------------------------------------------------------------------------------
>> >> This SF.Net email is sponsored by the Verizon Developer Community
>> >> Take advantage of Verizon's best-in-class app development support
>> >> A streamlined, 14 day to market process makes app distribution fast and
>> >> easy
>> >> Join now and get one step closer to millions of Verizon customers
>> >> http://p.sf.net/sfu/verizon-dev2dev
>> >> _______________________________________________
>> >> Playerstage-gazebo mailing list
>> >> Playerstage-gazebo@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> Playerstage-gazebo@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
12