Definitely better to have a patch to Gazebo.  At the time I started the
project I thought about this but there was no shared library provided by
Gazebo (it was some years ago). Due to lack of time and short schedule I did
not have time to do this improvement and many others I though along the way.
However there were other important reasons, for example, the c++ classes
that represent the Models in the Gazebo Project ( at least in version 0.5.0
) were built in a way that they could only to be used when reading a
Worldfile. ( Note that their constructors have a pointer to a libxml file ).
That make it difficult for me to instance Models without having a prior
Worldfile.

The other reason that prevented me from using Gazebo shared library directly
is that I needed some kind of meta-data so that when the user clicks on a
Model I could find out its properties and list them in a panel beside the
World scene just like Visual Studio and Borland IDE does.  So actually I had
to modify them a little bit in order to make them work in my project since
c++ language does not have native meta-data for properties.(methods)

The wxWidgets used is version 2.4.5



On Tue, Oct 14, 2008 at 3:17 PM, Jordi Polo <[EMAIL PROTECTED]> wrote:

> Why you have a copy of the Gazebo code there? It isn't easier to send
> patches to Gazebo? I mean, you surely has to synchronize from time to time
> ...
>
> What version of wxwidgets it uses?
>
>
>
> On Tue, Oct 14, 2008 at 7:11 PM, Humberto Marchezi <[EMAIL PROTECTED]
> >wrote:
>
> > Thanks for your return,
> >
> > I am trying to fix as soon as I can.
> >
> > On Tue, Oct 14, 2008 at 3:04 AM, Kevin Barry <[EMAIL PROTECTED]> wrote:
> >
> > > I got the same problem. It seems to be related to wxWidgets being
> > compiled
> > > with unicode support. I didn't dig any deeper than that.
> > >
> > > On Mon, Oct 13, 2008 at 6:39 AM, Séverin Lemaignan <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > Thanks for your contribution.
> > > > I tried this morning to compile it, bit I get errors (cf
> attachments).
> > > >
> > > > Regards,
> > > > Severin Lemaignan
> > > >
> > > > Humberto Marchezi a écrit :
> > > >
> > > >  Hi community,
> > > >>
> > > >> I just put a new project available at
> > > >> http://code.google.com/p/robotcontrolide/ which is an application
> > > >> that works as an IDE ( or close to it ) that can help us to produce
> > > >> worldfile in an interactive way,
> > > >> by just placing models (drag and drop ) in the 3D Scene.
> > > >> Besides that it is also possible to write software code, compile it
> > and
> > > >> check the resulting
> > > >> control in an animation produced by an external call to
> Player/Gazebo.
> > > >>
> > > >> It is still a prototype but many functions are working properly.
> > Anyways
> > > I
> > > >> am looking forward to hearing
> > > >> from you.
> > > >>
> > > >> sds
> > > >>
> > >
> -------------------------------------------------------------------------
> > > >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > >> challenge
> > > >> Build the coolest Linux based applications with Moblin SDK & win
> great
> > > >> prizes
> > > >> Grand prize is a trip for two to an Open Source event anywhere in
> the
> > > >> world
> > > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > >> _______________________________________________
> > > >> Playerstage-gazebo mailing list
> > > >> [email protected]
> > > >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > > >>
> > > >
> > > > Making all in src
> > > > make[1]: entrant dans le rÃ(c)pertoire «
> > > > /home/slemaign/simulation/robotcontrolide/src »
> > > > if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> > -DPACKAGE_VERSION=\"\"
> > > > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> > -DPACKAGE=\"worldbuilder\"
> > > > -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> > > -DHAVE_SYS_STAT_H=1
> > > > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> > -DHAVE_STRINGS_H=1
> > > > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> > -DHAVE_DLFCN_H=1
> > > -I.
> > > > -I.   -Wall -g -fexceptions
> > > -I/usr/lib/wx/include/gtk2-unicode-release-2.8
> > > > -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D__WXGTK__
> > > >  -Wall -g -fexceptions -Wall -g -fexceptions
> > > > -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
> > > > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT
> > AppConfiguration.o
> > > -MD
> > > > -MP -MF ".deps/AppConfiguration.Tpo" -c -o AppConfiguration.o
> > > > AppConfiguration.cpp; \
> > > >        then mv -f ".deps/AppConfiguration.Tpo"
> > > ".deps/AppConfiguration.Po";
> > > > else rm -f ".deps/AppConfiguration.Tpo"; exit 1; fi
> > > > Dans le fichier inclus à partir de Vector.hh:32,
> > > >          Ã  partir de Model.hh:31,
> > > >          Ã  partir de PlayerConfiguration.h:6,
> > > >          Ã  partir de ConfigurationFile.h:7,
> > > >          Ã  partir de AppConfiguration.h:6,
> > > >          Ã  partir de AppConfiguration.cpp:2:
> > > > Global.hh:97:1: attention : « PATH_MAX » redÃ(c)fini
> > > > Dans le fichier inclus à partir de /usr/include/bits/local_lim.h:36,
> > > >          Ã  partir de /usr/include/bits/posix1_lim.h:153,
> > > >          Ã  partir de /usr/include/limits.h:145,
> > > >          Ã  partir de
> > > > /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
> > > >          Ã  partir de
> > > > /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
> > > >          Ã  partir de
> > > > /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
> > > >          Ã  partir de
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/climits:50,
> > > >          Ã  partir de
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:66,
> > > >          Ã  partir de
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/char_traits.h:46,
> > > >          Ã  partir de
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/string:46,
> > > >          Ã  partir de AppConfiguration.h:5,
> > > >          Ã  partir de AppConfiguration.cpp:2:
> > > > /usr/include/linux/limits.h:12:1: attention : ceci est la
> localisation
> > > > d'une prÃ(c)cÃ(c)dente dÃ(c)finition
> > > > Dans le fichier inclus à partir de AppConfiguration.cpp:8:
> > > > FileName.h:17:7: attention : pas de retour chariot à la fin du
> fichier
> > > > AppConfiguration.cpp: In member function ‘void
> > > > AppConfiguration::LoadConfigurationFile(std::string)’:
> > > > AppConfiguration.cpp:95: erreur: no matching function for call to
> > > > ‘std::basic_string<char, std::char_traits<char>,
> std::allocator<char>
> > > > >::basic_string(const wxChar*)’
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232:
> > > > note: candidats sont: std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string(typename
> > _Alloc::rebind<_CharT>::other::size_type,
> > > > _CharT, const _Alloc&) [with _CharT = char, _Traits =
> > > > std::char_traits<char>, _Alloc = std::allocator<char>]
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225:
> > > > note:                 std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT =
> > char,
> > > > _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218:
> > > > note:                 std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string(const _CharT*, typename
> > > > _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT
> =
> > > > char, _Traits = std::char_traits<char>, _Alloc =
> std::allocator<char>]
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207:
> > > > note:                 std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string(const std::basic_string<_CharT, _Traits,
> > _Alloc>&,
> > > > typename _Alloc::rebind<_CharT>::other::size_type, typename
> > > > _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT
> =
> > > > char, _Traits = std::char_traits<char>, _Alloc =
> std::allocator<char>]
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196:
> > > > note:                 std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string(const std::basic_string<_CharT, _Traits,
> > _Alloc>&,
> > > > typename _Alloc::rebind<_CharT>::other::size_type, typename
> > > > _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char,
> _Traits
> > =
> > > > std::char_traits<char>, _Alloc = std::allocator<char>]
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182:
> > > > note:                 std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string(const std::basic_string<_CharT, _Traits,
> > _Alloc>&)
> > > > [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
> > > > std::allocator<char>]
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190:
> > > > note:                 std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits =
> > > > std::char_traits<char>, _Alloc = std::allocator<char>]
> > > >
> > >
> >
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050:
> > > > note:                 std::basic_string<_CharT, _Traits,
> > > > _Alloc>::basic_string() [with _CharT = char, _Traits =
> > > > std::char_traits<char>, _Alloc = std::allocator<char>]
> > > > make[1]: *** [AppConfiguration.o] Erreur 1
> > > > make[1]: quittant le rÃ(c)pertoire «
> > > > /home/slemaign/simulation/robotcontrolide/src »
> > > > make: *** [all-recursive] Erreur 1
> > > >
> > > >
> > -------------------------------------------------------------------------
> > > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > > challenge
> > > > Build the coolest Linux based applications with Moblin SDK & win
> great
> > > > prizes
> > > > Grand prize is a trip for two to an Open Source event anywhere in the
> > > world
> > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > _______________________________________________
> > > > Playerstage-gazebo mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win great
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > Playerstage-gazebo mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
>
>
>
> --
> Jordi Polo Carres
> NLP laboratory - NAIST
> http://www.bahasara.org
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to