Re: Trying to create a plugin driver
Geoff Biggs <[email protected]>
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <[email protected]> |
It would help to see more of your file. There's a good chance the actual error is further up. Often a misplaced character will trigger an error later in the file. Geoff On 20/05/10 00:56, aneves wrote: > > 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 ------------------------------------------------------------------------------ _______________________________________________ Playerstage-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-developers