"Undefined Reference" means you're not linking against the libplayerc++ library.  In the Eclipse project settings, go to C++ Build -> settings, then find the "libraries" button under the Linker options.  Add "playerc++" to the Libraries, and (probably) "/usr/local/lib" to the library search paths if that's where you installed Player.


On 7/13/2010 5:08 PM, Smit, A, Mnr <allasmit@sun.ac.za> wrote:
I want to write a client library for player. When I compile I get the following error:
../src/SoBot.cpp:47: undefined reference to`PlayerCc::PlayerClient::~PlayerClient()'
I am not shure what this means. Can you please help me. I am using Eclipse. Here is my code.
#include <iostream>
#include <libplayerc++/playerc++.h>
int main()
 using namespace PlayerCc;
 PlayerClient robot("localhost");
 return 0;
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ Playerstage-users mailing list Playerstage-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-users