From: Konstantinos K. <kon...@su...> - 2005-02-25 18:23:43
|
Hello list, I've compiled the ExampleModel from the source tree with no errors but when i'm trying to wxgazebo example.world i get error : error loading plugin: /home/projects/gazebo_stuff/dino/PeopleBot_2005-02-25/./PeopleBot.so: undefined symbol: RegisterModel__12ModelFactoryPCcT1PFP5World_P5Model I'v tried linking specific .a file on the fly with g++ but it was cascading me to other undefined symbols. Does anybody know what am i doing wrong here? Regards, K. Karantzis |
From: Nate K. <nat...@gm...> - 2005-02-28 15:46:29
|
Hello, I'm not sure why you're seeing "PeopleBot" in the errors. Are you sure you're running the correct example.world with the proper plugin? It seems like you created your own plugin model and forget to register it: GZ_REGISTER_PLUGIN("PeopleBot", PeopleBotModel); Look at the top of ExampleModel.cc for an example. -nate On Fri, 25 Feb 2005 18:25:09 +0000 (GMT), Konstantinos Karantzis <kon...@su...> wrote: > Hello list, > > I've compiled the ExampleModel from the source tree with no errors but > when i'm trying to wxgazebo example.world i get > > error : error loading plugin: > /home/projects/gazebo_stuff/dino/PeopleBot_2005-02-25/./PeopleBot.so: > undefined symbol: RegisterModel__12ModelFactoryPCcT1PFP5World_P5Model > > I'v tried linking specific .a file on the fly with g++ but it was > cascading me to other undefined symbols. > > Does anybody know what am i doing wrong here? > > Regards, > K. Karantzis > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > |
From: Tommy P. <tp...@id...> - 2005-02-28 19:39:38
|
> From: Konstantinos Karantzis <kon...@su...> > I've compiled the ExampleModel from the source tree with no errors but > when i'm trying to wxgazebo example.world i get > > error : error loading plugin: > /home/projects/gazebo_stuff/dino/PeopleBot_2005-02-25/./PeopleBot.so: > undefined symbol: RegisterModel__12ModelFactoryPCcT1PFP5World_P5Model Did you resolve this because I am seeing something similar and I cannot get it to work? I have a plugin that works on my Debian unstable machine but on my Debian stable machine (with gcc 3.2) I get: porter:~/wissbuild/system/gazebo> gazebo ~/cvswitas/system/data/gazebo/example2.world *** Gazebo 0.5.1 *** using display [:0] rendering: [SGIX pbuffer] direct [yes] RGBA [8 8 8 0] depth [24] warning : unknown model class or class disabled [Terrain] loading /usr/local/gazebo-cvs/AttachableSolid.so... error : error loading plugin: /usr/local/gazebo-cvs/AttachableSolid.so: cannot open shared object file: No such file or directory loading /home/tompe/wissbuild/system/gazebo/AttachableSolid.so... error : error loading plugin: /home/tompe/wissbuild/system/gazebo/AttachableSolid.so: undefined symbol: _ZN12ModelFactory13RegisterModelEPKcS1_PFP5ModelP5WorldE loading /home/tompe/cvswitas/system/data/gazebo/AttachableSolid.so... porter:~/wissbuild/system/gazebo> c++filt _ZN12ModelFactory13RegisterModelEPKcS1_PFP5ModelP5WorldE ModelFactory::RegisterModel(char const*, char const*, Model* (*)(World*)) But checking the expanded model file (g++ -E) shows that RegisterModel seems to be in the so file. /Tommy Persson |
From: Tommy P. <tp...@id...> - 2005-03-01 16:19:52
|
> From: Tommy Persson <tp...@id...> > Did you resolve this because I am seeing something similar and I > cannot get it to work? I have a plugin that works on my Debian > unstable machine but on my Debian stable machine (with gcc 3.2) I get: I found the error with plugins not working. In configure.in GAZEBO_SERVER_LDFLAGS='-Wl --export-dynamic -L$(top_builddir)/libgazebo'" $X11_LDFLAGS" should be GAZEBO_SERVER_LDFLAGS='-Wl,--export-dynamic -L$(top_builddir)/libgazebo'" $X11_LDFLAGS" /Tommy Persson |
From: Nate K. <nat...@gm...> - 2005-03-02 15:10:41
|
Excellent. Thanks for the fix. Updates can be found in the latest CVS. -nate On Tue, 01 Mar 2005 17:19:45 +0100 (CET), Tommy Persson <tp...@id...> wrote: > > > From: Tommy Persson <tp...@id...> > > Did you resolve this because I am seeing something similar and I > > cannot get it to work? I have a plugin that works on my Debian > > unstable machine but on my Debian stable machine (with gcc 3.2) I get: > > I found the error with plugins not working. In configure.in > > GAZEBO_SERVER_LDFLAGS='-Wl --export-dynamic -L$(top_builddir)/libgazebo'" $X11_LDFLAGS" > > should be > > GAZEBO_SERVER_LDFLAGS='-Wl,--export-dynamic -L$(top_builddir)/libgazebo'" $X11_LDFLAGS" > > /Tommy Persson > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > |