Thanks Rich and Nelson


That solved it.



From: Rich Mattes []
Sent: 13 July 2010 11:40 PM
Subject: Re: [Playerstage-users] Player client undefined reference error


"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 <> 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 email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit --
Playerstage-users mailing list