Re: Trying to create a plugin driver

"Rich Mattes" <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <000301caf820$c22cfa90$4686efb0$@com>
It looks like it's a code problem, not a Makefile problem.  Is there any particular reason you're using Player 2.0?  Have you tried compiling your plugin against a newer version of Player?

Rich 

-----Original Message-----
From: aneves [mailto:[email protected]] 
Sent: Wednesday, May 19, 2010 11:57 AM
To: [email protected]
Subject: [Playerstage-developers] Trying to create a plugin driver


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


------------------------------------------------------------------------------

_______________________________________________
Playerstage-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.