From: Cooper Y. <coo...@gm...> - 2009-09-28 12:52:44
|
btw, probably you should pull and compile glproto, libdrm etc. after ./autogen.sh you could get some information which tells you what's absent, if no error output, just run gmake to compile mesa. Cooper On Mon, Sep 28, 2009 at 8:49 PM, Cooper Yuan <coo...@gm...> wrote: > If you are going to compile OpenGL/Mesa, you should pull the latest mesa > code firstly > git pull git://anongit.freedesktop.org/mesa/mesa > > then run ./autogen.sh and gmake to make the whole mesa. > > as you mentioned, if you are going to develop opengl application, I suggest > that you remove O2 flag in the Makefile. > > and in mesa/progs/redbook, you could find some basic application. > > Cooper > > On Mon, Sep 28, 2009 at 8:34 PM, 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 >> >> >> ------------------------------------------------------------------------------ >> 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 >> >> > |