Princegiri
December 4th, 2007, 05:41 AM
Alrite .... i hope someone can help me out of my misery here....
i sucessfully installed player stage from the .deb packages available on soundforge..... i ran the couple of examples too.. alls good.......
BUT i cant seem to compile any of the client codes......
there is a usr/share/player/examples/libplayerc++/laserobstacleavoid.cc
i cd'd to this directory
i tried to compile it as
$ g++ -o output laserobstacleavoid.cc
the first error that pops out is
laserobstacleavoid.cc:9:36: error: libplayerc++/playerc++.h: No such file or directory
the includes in the code are
#include <libplayerc++/playerc++.h>
#include <iostream>
i tried editing the code and rewriting the includes as
#include "usr/include/player-2.0/libplayerc++/playerc++.h"
#include <iostream>
this returns more problems with
in file included from "usr//include/player-2.0/libplayerc++/playerc++.h" the following headers not found
boost/signal.hpp>
boost/bind.hpp>
boost/thread/mutex.hpp>
boost/thread/thread.hpp>
boost/thread/xtime.hpp>
i have installed the BOOST C++
they have installed into the directory
usr/local/include/boost-1_34_1/boost
but the same problem persists....
none of the boost headers are detected
so here it is : im an absolute newbie.,...
i would appreciate any help on 'how-to-compile-anything'.... tutorials, pdfs anything....
i need to compile the client program and then try my hand at compiling one of my own client program in order for my project to proceed....
i sucessfully installed player stage from the .deb packages available on soundforge..... i ran the couple of examples too.. alls good.......
BUT i cant seem to compile any of the client codes......
there is a usr/share/player/examples/libplayerc++/laserobstacleavoid.cc
i cd'd to this directory
i tried to compile it as
$ g++ -o output laserobstacleavoid.cc
the first error that pops out is
laserobstacleavoid.cc:9:36: error: libplayerc++/playerc++.h: No such file or directory
the includes in the code are
#include <libplayerc++/playerc++.h>
#include <iostream>
i tried editing the code and rewriting the includes as
#include "usr/include/player-2.0/libplayerc++/playerc++.h"
#include <iostream>
this returns more problems with
in file included from "usr//include/player-2.0/libplayerc++/playerc++.h" the following headers not found
boost/signal.hpp>
boost/bind.hpp>
boost/thread/mutex.hpp>
boost/thread/thread.hpp>
boost/thread/xtime.hpp>
i have installed the BOOST C++
they have installed into the directory
usr/local/include/boost-1_34_1/boost
but the same problem persists....
none of the boost headers are detected
so here it is : im an absolute newbie.,...
i would appreciate any help on 'how-to-compile-anything'.... tutorials, pdfs anything....
i need to compile the client program and then try my hand at compiling one of my own client program in order for my project to proceed....