From: Adam K K. <ad...@vo...> - 2009-09-28 13:07:37
|
Well to have the necessary headers on your machine, you should install freeglut-devel, mesa-libGL-devel, and mesa-libGLU-devel. Then try compiling your program again. Adam On Mon, 28 Sep 2009 20:34:25 +0800 Ocean Spring <mea...@gm...> wrote: > Dear all, > > yes, my intention is do OpenGL programming under linux. so what should i do > then. > and i do need to compile a openGL/Mesa program. > > please give me more advices. > > thank you > > OS > > On Mon, Sep 28, 2009 at 6:08 PM, Adam K Kirchhoff <ad...@vo...>wrote: > > > On Mon, 28 Sep 2009 05:57:26 -0400 > > Ocean Spring <mea...@gm...> wrote: > > > > > > > > and i tried to run some opengl program, it failed. after i read some > > > articles on Internet, it needs glut.h header file. > > > then i installed freeglut. > > > > > It would be helpful to know what program you are trying to run and what > > error you are receiving. > > > > If you really are just trying to run a program, as compared to > > compiling one, you almost certainly do not need glut.h. If you are > > trying to compile a program, and it does in fact need glut.h, you would > > have to install the freeglut-devel package. In Fedora (as with many > > linux distributions), the header files needed for compiling programs > > are included in -devel packages, separate from the libraries and > > binaries needed to run programs. > > > > Adam > > > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9-12, 2009. Register now! > > http://p.sf.net/sfu/devconf > > _______________________________________________ > > Mesa3d-users mailing list > > Mes...@li... > > https://lists.sourceforge.net/lists/listinfo/mesa3d-users > > > > > > -- > --------- > www.vislab.cn |