If you install Player/Stage under the default directory (/usr/local/), then make sure that /usr/local/lib/pkgconfig is added to your PKG_CONFIG_PATH. You can do it by calling the following command in bash: 
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
press enter and then type this to compile your program. suppose the name of your .cc file is "mycode"
g++ -o mycode `pkg-config --cflags playerc++` `pkg-config --libs playerc++`
hope this helps.

On Wed, Apr 23, 2008 at 4:45 PM, anterma <> wrote:

I've tried to compile my program and I couldn't.
In my program is like that:

#include <libplayerc++/playerc++.h>

void main (void)

After compiling (gcc it shows an error message saying that it
can't libplayerc++/playerc++.h doesn't exist.


View this message in context:
Sent from the playerstage-users mailing list archive at

This email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.;198757673;13503038;p?
Playerstage-users mailing list

Sohaib Rashid
Voice +92-321-5876844