Anterma,
 
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++` mycode.cc `pkg-config --libs playerc++`
 
hope this helps.
 
 
 
 
 


 
On Wed, Apr 23, 2008 at 4:45 PM, anterma <anterma@ozu.es> 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 example.cc) it shows an error message saying that it
can't libplayerc++/playerc++.h doesn't exist.

Bye!


--
View this message in context: http://www.nabble.com/problems-compiling-tp16834204p16834204.html
Sent from the playerstage-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net 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.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
Sohaib Rashid
Voice +92-321-5876844