Trying to create a plugin driver
aneves <[email protected]>
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <[email protected]> |
Hi! I'm currently developing a GridSLAM plugin driver for Player/stage. I'followed the PSU tutorial and exampledriver from the player's example folder. the problem is that the make file gives me an error that I can't understand: -------------------------------output----------------------------------------------------------------------- $ make g++ -Wall -fpic -g3 `pkg-config --cflags playercore` -c shot1.cc shot1.cc: In function ‘void shot1_Register(DriverTable*)’: shot1.cc:94: warning: deprecated conversion from string constant to 'char*’ shot1.cc: In constructor ‘shot1::shot1(ConfigFile*, int)’: shot1.cc:101: error: no matching function for call to ‘MessageQueue::MessageQueue()’ /usr/include/player-2.0/libplayercore/message.h:249: note: candidates are: MessageQueue::MessageQueue(bool, size_t) /usr/include/player-2.0/libplayercore/message.h:246: note: MessageQueue::MessageQueue(const MessageQueue&) shot1.cc: In member function ‘virtual void shot1::Main()’: shot1.cc:284: warning: comparison between signed and unsigned integer expressions shot1.cc:290: warning: comparison between signed and unsigned integer expressions ------------------------------end of output---------------------------------------------------------------------------- On my code, lines 100 and 101 are : 100: shot1::shot1(ConfigFile* cf, int section) 101: :Driver(cf, section) Can anyone help to do a makefile that works? Thanks in advance for your help, André Neves -- View this message in context: http://old.nabble.com/Trying-to-create-a-plugin-driver-tp28610339p28610339.html Sent from the playerstage-developers mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Playerstage-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-developers