Re: [Plib-users] compilation
Brought to you by:
sjbaker
From: David <boi...@ya...> - 2004-09-23 15:53:08
|
you're right. I've seen in the Makefile and added the -lplibpu to the command line. Now all works. Thank you very much. LAVIGNE,ERIC wrote: > > David, > > As a windows user, I can't be very specific, but here are some ideas. > > 1) The command "$ gcc simple.cxx -lGL -lglut -lGLU -lm" told gcc that > you wanted to use opengl libraries and glut libraries. If your program > requires pu.h, then I think you will need the plibpu library also. > > 2) You said that gcc can't find pu.h. Maybe there is a gcc argument that > would tell it extra places to look for include files. > > 3) simple.cxx is one of the included examples, right? There should be a > makefile in the same directory. The easy way to compile is "$ make > simple". If you want to use the gcc command directly, consider studying > the makefile to learn how others have done it. > > Welcome to plib. > > Eric Lavigne > > > On Thu Sep 23 01:38:48 EDT 2004, David <boi...@ya...> wrote: > >> hi to all! I am new of this list. I have installed plib and compiled >> it. Now I have this situation: >> >> $ ls /usr/include/ | grep -i pli >> plib >> >> $ ls /usr/lib/ | grep -i pli >> libplibfnt.a >> libplibjs.a >> libplibnet.a >> libplibpsl.a >> libplibpu.a >> libplibpuaux.a >> libplibpw.a >> libplibsg.a >> libplibsl.a >> libplibsm.a >> libplibssg.a >> libplibssgaux.a >> libplibul.a >> >> I'm trying to compile some ittle examples but I am not able to do it. >> I use this command: >> >> $ gcc simple.cxx -lGL -lglut -lGLU -lm >> >> but it doesn't find the plib/pu.h . >> >> Anyone could help me? >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >> Project Admins to receive an Apple iPod Mini FREE for your judgement on >> who ports your project to Linux PPC the best. Sponsored by IBM. >> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >> _______________________________________________ >> plib-users mailing list >> pli...@li... >> https://lists.sourceforge.net/lists/listinfo/plib-users >> >> > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |