From: Anirban B. <ani...@gm...> - 2011-06-14 22:01:15
|
Hi All, I have written a plugin interface and its working properly. Now I am trying to add a static interface by the name "linefollower" in the Player source code. I have done the following so far: Added a file: libplayerinterface/interfaces/110_linefollower.def (and added the entry in the corresponding CMakeLists.txt) Added a file: client_libs/libplayerc/dev_linefollower.c (and added the entry in the corresponding CMakeLists.txt) Added a struct and some function names needed by the above file in: client_libs/libplayerc/playerc.h The source is compiling correctly without any errors. But when I'm writing a driver and a .cfg file to use this interface, i'm getting an error *example.cfg:15 error: unknown interface: [linefollower]* I suppose, I am missing out on something which registers the interface in some table. Can anyone suggest what else I am supposed to do to get the interface working? Thanks, Anirban. |