I don't know the reason, but it gazebo works now, when I run
gazebo pioneer2at.world
I did nothing other than re-install the display card driver.
But player could not read the cfg file correctly, when I did:
player gazebo.cfg.
It did not work even after I changed all the driver name to "gazebo" like
this:
driver
(
  name "gazebo"
  provides ["simulation:0"]
  plugin "libgazeboplugin"
  server_id "default"
)

the error reported is :
success
  Gazebo Plugin driver creating 1 device
    6665.31.0 is  a simulation interface.
terminate called after throwing an instance of 'std::string'
Aborted

Thanks,

Wei

2008/6/25 Nate Koenig <[EMAIL PROTECTED]>:

> Hello,
>
> Can you post the command that you are using to run gazebo (what you
> type on the command line)? And also can you post a backtrace from the
> segfault?
>
> -nate
>
> On Wed, Jun 18, 2008 at 1:46 AM, WANG Wei <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I met the same problem, but gazebo was still installed even though this
> > error was  reported.
> >
> > Than I do scons_>sudo scons install again, it shows that :
> > scons: Reading SConscript files ...
> > detected CPU atributes: -mmmx -msse -msse2
> > Checking for [pkg-config --cflags --libs OGRE]
> >   Success
> > Checking for [xml2-config --cflags --libs]
> >   Success
> > Checking for [ode-config --cflags --libs]
> >   Success
> > Checking for [fltk-config --cflags --libs --ldflags --use-gl
> --use-images]
> >   Success
> > Checking for [pkg-config --cflags --libs xft]
> >   Success
> > Checking for C header file ode/ode.h... (cached) yes
> > Checking for ODE...(cached) yes
> > Checking for [pkg-config --cflags --libs playerc++]
> >   Success
> > scons: done reading SConscript files.
> > scons: Building targets ...
> > scons: `install' is up to date.
> > scons: done building targets.
> >
> > No error reported.
> >
> > But I have a segmentation fault when I run gazebo.
> >
> > Regards,
> >
> > Wei
> >
> >
> >
> > 2008/6/4 Nate Koenig <[EMAIL PROTECTED]>:
> >>
> >> Hello,
> >>
> >> Well, this is not a good error. I believe you are right about this
> >> being a problem with gcc or stl. Could you create a simple test
> >> program that instantiates an stl vector, and try compiling it?
> >>
> >> -nate
> >>
> >> On Fri, May 30, 2008 at 1:04 PM, Douglas Thom <[EMAIL PROTECTED]>
> >> wrote:
> >> > Hello, all,
> >> >
> >> > I have finally gotten around to attempting an install of gazebo so I
> can
> >> > work on my swarm ideas. Having learned quite a bit over the past two
> >> > days
> >> > and using Google search in alarming quantities I have run into a
> problem
> >> > I
> >> > simply cannot get around. If anybody can give me an idea about where
> to
> >> > search I would appreciate it. I suspect I have to follow the
> >> > instructions
> >> > and submit this to GCC since it does read "internal compiler error".
> >> > However, just in case anybody has run into it before I thought I'd try
> >> > the
> >> > list first. I imagine once I finally submit what they're looking for
> (I
> >> > read
> >> > the instructions and it looks like a week's worth of learning to
> figure
> >> > it
> >> > out) I will have to wait an unknown, long amount of time for a
> response.
> >> >
> >> > I had compiled all dependencies and was running "sudo scons install"
> for
> >> > the
> >> > latest SVN download of gazebo when the info pasted below happened.
> >> > You'll
> >> > likely need more info than this but in the event somebody has run
> across
> >> > this already I thought I'd start here.
> >> >
> >> > Thank you.
> >> >
> >> > g++ -o server/physics/TrimeshGeom.o -c -ggdb -g2 -Wall -Wno-deprecated
> >> > -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I. -Iserver
> -Iserver/models
> >> > -Iserver/gui -Iserver/gui/fltk -Ilibgazebo -Iserver/rendering
> >> > -Iserver/sensors -Iserver/sensors/camera -Iserver/sensors/ray
> >> > -Iserver/physics -Iserver/physics/ode -Iserver/controllers
> >> > -Iserver/controllers/position2d
> >> > -Iserver/controllers/position2d/pioneer2dx
> >> > -I/usr/include/OGRE -I/usr/include/libxml2 -I/usr/local/include
> >> > server/physics/TrimeshGeom.cc
> >> > In file included from /usr/include/OGRE/OgreBone.h:34,
> >> >                  from /usr/include/OGRE/Ogre.h:43,
> >> >                  from server/physics/TrimeshGeom.cc:28:
> >> > /usr/include/c++/4.2/bits/stl_vector.h: In instantiation of
> >> > 'std::vector<__gnu_cxx::_Hashtable_node<std::pair<const
> >> > std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >,
> >> > Ogre::Node*> >*,
> >> > std::allocator<__gnu_cxx::_Hashtable_node<std::pair<const
> >> > std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >,
> >> > Ogre::Node*> >*> >':
> >> > /usr/include/c++/4.2/ext/hashtable.h:306:   instantiated from
> >> > '__gnu_cxx::hashtable<std::pair<const std::basic_string<char,
> >> > std::char_traits<char>, std::allocator<char> >, Ogre::Node*>,
> >> > std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >,
> >> > __gnu_cxx::hash<std::basic_string<char, std::char_traits<char>,
> >> > std::allocator<char> > >, std::_Select1st<std::pair<const
> >> > std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >,
> >> > Ogre::Node*> >, std::equal_to<std::basic_string<char,
> >> > std::char_traits<char>, std::allocator<char> > >,
> >> > std::allocator<Ogre::Node*> >'
> >> > /usr/include/c++/4.2/ext/hash_map:89:   instantiated from
> >> > '__gnu_cxx::hash_map<std::basic_string<char, std::char_traits<char>,
> >> > std::allocator<char> >, Ogre::Node*,
> >> > __gnu_cxx::hash<std::basic_string<char,
> >> > std::char_traits<char>, std::allocator<char> > >,
> >> > std::equal_to<std::basic_string<char, std::char_traits<char>,
> >> > std::allocator<char> > >, std::allocator<Ogre::Node*> >'
> >> > /usr/include/OGRE/OgreNode.h:99:   instantiated from here
> >> > /usr/include/c++/4.2/bits/stl_vector.h:160: internal compiler error:
> >> > Segmentation fault
> >> > Please submit a full bug report,
> >> > with preprocessed source if appropriate.
> >> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> >> > For Debian GNU/Linux specific bug reporting instructions,
> >> > see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
> >> > scons: *** [server/physics/TrimeshGeom.o] Error 1
> >> > scons: building terminated because of errors.
> >> >
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > This SF.net email is sponsored by: Microsoft
> >> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >> >
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >>
> -------------------------------------------------------------------------
> >> Check out the new SourceForge.net Marketplace.
> >> It's the best place to buy or sell services for
> >> just about anything Open Source.
> >> http://sourceforge.net/services/buy/index.php
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
> >
> > --
> > Wei WANG
> > [EMAIL PROTECTED]
> > ENSTA, ParisTech
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> >
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>



-- 
Wei WANG
[EMAIL PROTECTED]
ENSTA, ParisTech
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to