From: Ocean S. <mea...@gm...> - 2009-09-28 09:57:36
|
Dear all, i have some problem regarding the mesa installation. i am using fedora core 11. and mesa is obtained by "yum install" after i install it, here is some info. [root@localhost ~]# rpm -qa |grep mesa mesa-libGLU-7.6-0.1.fc11.i586 mesa-dri-drivers-7.6-0.1.fc11.i586 mesa-libGL-7.6-0.1.fc11.i586 [root@localhost ~]# rpm -ql mesa-libGLU-7.6-0.1.fc11.i586 /usr/lib/libGLU.so.1 /usr/lib/libGLU.so.1.3.070600 [root@localhost ~]# rpm -ql mesa-libGL-7.6-0.1.fc11.i586 /usr/lib/libGL.so.1 /usr/lib/libGL.so.1.2 [root@localhost ~]# rpm -ql mesa-dri-drivers-7.6-0.1.fc11.i586 /usr/lib/dri /usr/lib/dri/i810_dri.so /usr/lib/dri/i915_dri.so /usr/lib/dri/i965_dri.so /usr/lib/dri/libdricore.so /usr/lib/dri/mga_dri.so /usr/lib/dri/r128_dri.so /usr/lib/dri/r200_dri.so /usr/lib/dri/r300_dri.so /usr/lib/dri/radeon_dri.so /usr/lib/dri/savage_dri.so /usr/lib/dri/sis_dri.so /usr/lib/dri/swrast_dri.so /usr/lib/dri/tdfx_dri.so /usr/lib/dri/unichrome_dri.so 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. [root@localhost ~]# rpm -qa |grep glut freeglut-2.4.0-16.fc11.i586 [root@localhost ~]# rpm -ql freeglut-2.4.0-16.fc11.i586 /usr/lib/libglut.so.3 /usr/lib/libglut.so.3.8.0 /usr/share/doc/freeglut-2.4.0 /usr/share/doc/freeglut-2.4.0/AUTHORS /usr/share/doc/freeglut-2.4.0/COPYING /usr/share/doc/freeglut-2.4.0/ChangeLog /usr/share/doc/freeglut-2.4.0/INSTALL /usr/share/doc/freeglut-2.4.0/NEWS /usr/share/doc/freeglut-2.4.0/README /usr/share/doc/freeglut-2.4.0/TODO /usr/share/doc/freeglut-2.4.0/download.html /usr/share/doc/freeglut-2.4.0/freeglut.html /usr/share/doc/freeglut-2.4.0/freeglut_logo.png /usr/share/doc/freeglut-2.4.0/freeglut_user_interface.html /usr/share/doc/freeglut-2.4.0/index.html /usr/share/doc/freeglut-2.4.0/ogl_sm.png /usr/share/doc/freeglut-2.4.0/progress.html /usr/share/doc/freeglut-2.4.0/structure.html still i don't see any glut.h , gl.h or glu.h and i am still not able to run any opengl code. please someone enlighten me to run a opengl code under linux. thank you Ocean |
From: Chia-I Wu <ol...@gm...> - 2009-09-28 10:12:52
|
On Mon, Sep 28, 2009 at 05:57:26AM -0400, Ocean Spring wrote: > still i don't see any glut.h , gl.h or glu.h and i am still not able to run > any opengl code. > please someone enlighten me to run a opengl code under linux. You don't need the header files if you are "running" an application. You need the headers if you want to compile an application. I am not a Fedora user. But I guess the headers might be available from the devel package of freeglut. You may also want to start with running glxinfo and glxgears. -- Regards, olv |
From: Adam K K. <ad...@vo...> - 2009-09-28 10:23:23
|
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 |
From: Ocean S. <mea...@gm...> - 2009-09-28 12:41:20
|
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 |
From: Sergio M. B. <se...@se...> - 2009-09-28 16:11:30
Attachments:
smime.p7s
|
Please install all mesa-package and freeglut mesa-demos-7.6-0.1.fc11.i586.rpm mesa-dri-drivers-7.6-0.1.fc11.i586.rpm mesa-libGL-7.6-0.1.fc11.i586.rpm mesa-libGL-devel-7.6-0.1.fc11.i586.rpm mesa-libGLU-7.6-0.1.fc11.i586.rpm mesa-libGLU-devel-7.6-0.1.fc11.i586.rpm mesa-libOSMesa-7.6-0.1.fc11.i586.rpm mesa-libOSMesa-devel-7.6-0.1.fc11.i586.rpm freeglut-2.4.0-16.fc11.i586.rpm freeglut-devel-2.4.0-16.fc11.i586.rpm and dependencies . may be also : xorg-x11-server-devel Mesa, Mesa demos all this , have packages of stable version in yours favorite distribution . With package Mesa-demos you could learn how compile mesa programs , I don't have any example near to me , sorry ! On Mon, 2009-09-28 at 20:34 +0800, Ocean Spring 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 -- Sérgio M. B. |
From: Cooper Y. <coo...@gm...> - 2009-09-28 12:49:29
|
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 > > |
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 >> >> > |
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 |
From: Ocean S. <mea...@gm...> - 2009-09-28 13:28:31
|
thank you,all. i have fix it. [liveuser@localhost ~]$ rpm -qa|grep mesa mesa-libGL-devel-7.6-0.1.fc11.i586 mesa-demos-7.6-0.1.fc11.i586 mesa-dri-drivers-7.6-0.1.fc11.i586 mesa-libGLw-6.5.1-7.fc11.i586 mesa-libGLU-devel-7.6-0.1.fc11.i586 mesa-libGL-7.6-0.1.fc11.i586 mesa-libGLw-devel-6.5.1-7.fc11.i586 mesa-libGLU-7.6-0.1.fc11.i586 [liveuser@localhost ~]$ rpm -qa|grep freeglut freeglut-2.4.0-16.fc11.i586 freeglut-devel-2.4.0-16.fc11.i586 i am just a bit confused with the runtime and the development package. i tried it from "Add/Remove Software" in FC 11, and chose the related packages to install. after that i am able to compile some, yet not all, of the demos in "progs" folder. Thank you!! OS On Mon, Sep 28, 2009 at 8:52 AM, Adam K Kirchhoff <ad...@vo...>wrote: > > 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 > > > > > > |