From: anterma <an...@oz...> - 2009-03-23 17:49:42
|
I've make uninstall to remove player 2.1.2 and player 2.0.4 froma my system, then I've make install player 2.1.2 and now when I try to compile ( gcc -o p `pkg-config --cflags playerc++` p.cc `pkg-config --libs playerc++) a simple program in c++ (p.cc) I show a lot of errors in /usr/local/include/player-2.1/libplayerxdr/playerxdr.h Patrick the result of pkg-config --libs playerc++ is: -L/usr/local/lib -lplayerc++ -lboost_signals -lboost_thread -lplayerc -lm -lplayerxdr Thanks, Anterma Patrick Beeson-2 wrote: > > What's the result of your 'pkg-config --libs playerc++' ? > > anterma wrote: >> Hi, >> I'm trying to compile that simple program: >> >> #include <libplayerc++/playerc++.h> >> #include <iostream> >> using namespace PlayerCc; >> >> int main() >> { >> int op =0; >> return 0; >> } >> >> I'm using that compile line: >> g++ `pkg-config --cflags playerc++` `pkg-config --libs playerc++` -lgsl >> -lgslcblas -lm -o example example.cc >> >> And this is the return of the compiling: >> /usr/local/lib/libplayerc.so: undefined reference to `ErrorPrint' >> /usr/local/lib/libplayerc.so: undefined reference to `playerxdr_get_func' >> >> I need help, pease. >> Thanks, >> >> Anterma >> > > -- > Patrick Beeson > http://www.cs.utexas.edu/~pbeeson > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > -- View this message in context: http://www.nabble.com/Compiling-c%2B%2B-tp22663736p22664770.html Sent from the playerstage-users mailing list archive at Nabble.com. |