[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-users
Subject:    Re: [Mesa3d-users] mesa installation problem - linux
From:       Cooper Yuan <cooperyuan () gmail ! com>
Date:       2009-09-28 12:52:25
Message-ID: a9cbba340909280552x7e94f640uf6864111f5cb55f4 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 <cooperyuan@gmail.com> 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 <meancity@gmail.com>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 <adamk@voicenet.com>wrote:
>>
>>> On Mon, 28 Sep 2009 05:57:26 -0400
>>> Ocean  Spring <meancity@gmail.com> 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&reg; 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&#45;12, 2009. Register
>>> now&#33;
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Mesa3d-users mailing list
>>> Mesa3d-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mesa3d-users
>>>
>>
>>
>>
>> --
>> ---------
>> www.vislab.cn
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register
>> now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Mesa3d-users mailing list
>> Mesa3d-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa3d-users
>>
>>
>

[Attachment #5 (text/html)]

<div>btw, probably you should pull and compile glproto, libdrm etc. after \
./autogen.sh you could get some information which tells you what&#39;s absent, if no \
error output, just run gmake to compile mesa.</div> <div>  </div>
<div>Cooper<br></div>
<div class="gmail_quote">On Mon, Sep 28, 2009 at 8:49 PM, Cooper Yuan <span \
dir="ltr">&lt;<a href="mailto:cooperyuan@gmail.com">cooperyuan@gmail.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px \
0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <div>If you are going to compile \
OpenGL/Mesa, you should pull the latest mesa code firstly</div> <div>git pull \
git://<a href="http://anongit.freedesktop.org/mesa/mesa" \
target="_blank">anongit.freedesktop.org/mesa/mesa</a></div> <div>  </div>
<div>then run ./autogen.sh and gmake to make the whole mesa.</div>
<div>  </div>
<div>as you mentioned, if you are going to develop opengl application, I suggest that \
you remove O2 flag in the Makefile.</div> <div>  </div>
<div>and in mesa/progs/redbook, you could find some basic application.</div>
<div>  </div><font color="#888888">
<div>Cooper<br><br></div></font>
<div>
<div></div>
<div class="h5">
<div class="gmail_quote">On Mon, Sep 28, 2009 at 8:34 PM, Ocean Spring <span \
dir="ltr">&lt;<a href="mailto:meancity@gmail.com" \
target="_blank">meancity@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: \
#ccc 1px solid"> <div>Dear all,</div>
<div>  </div>
<div>yes, my intention is do OpenGL programming under linux. so what should i do \
then.</div> <div>and i do need to compile a openGL/Mesa program.</div>
<div>  </div>
<div>please give me more advices.</div>
<div>  </div>
<div>thank you</div>
<div>  </div>
<div>OS<br><br></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Mon, Sep 28, 2009 at 6:08 PM, Adam K Kirchhoff <span \
dir="ltr">&lt;<a href="mailto:adamk@voicenet.com" \
target="_blank">adamk@voicenet.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: \
#ccc 1px solid"> <div>On Mon, 28 Sep 2009 05:57:26 -0400<br>Ocean   Spring &lt;<a \
href="mailto:meancity@gmail.com" target="_blank">meancity@gmail.com</a>&gt; \
wrote:<br><br>&gt;<br>&gt; and i tried to run some opengl program, it failed. after i \
read some<br> &gt; articles on Internet, it needs glut.h header file.<br>&gt; then i \
installed freeglut.<br>&gt;<br></div>It would be helpful to know what program you are \
trying to run and what<br>error you are receiving.<br><br>If you really are just \
trying to run a program, as compared to<br> compiling one, you almost certainly do \
not need glut.h.   If you are<br>trying to compile a program, and it does in fact \
need glut.h, you would<br>have to install the freeglut-devel package.   In Fedora (as \
with many<br>linux distributions), the header files needed for compiling programs<br> \
are included in -devel packages, separate from the libraries and<br>binaries needed \
to run programs.<br><br>Adam<br><br><br>------------------------------------------------------------------------------<br>Come \
build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA<br> is the only \
developer event you need to attend this year. Jumpstart your<br>developing skills, \
take BlackBerry mobile applications to market and stay<br>ahead of the curve. Join us \
from November 9&amp;#45;12, 2009. Register now&amp;#33;<br> <a \
href="http://p.sf.net/sfu/devconf" \
target="_blank">http://p.sf.net/sfu/devconf</a><br>_______________________________________________<br>Mesa3d-users \
mailing list<br><a href="mailto:Mesa3d-users@lists.sourceforge.net" \
target="_blank">Mesa3d-users@lists.sourceforge.net</a><br> <a \
href="https://lists.sourceforge.net/lists/listinfo/mesa3d-users" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/mesa3d-users</a><br></blockquote></div><br><br \
clear="all"> <div></div><br></div></div><font color="#888888">-- <br>---------<br><a \
href="http://www.vislab.cn/" \
target="_blank">www.vislab.cn</a><br></font><br>------------------------------------------------------------------------------<br>
 Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA<br>is the \
only developer event you need to attend this year. Jumpstart your<br>developing \
skills, take BlackBerry mobile applications to market and stay<br> ahead of the \
curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;<br><a \
href="http://p.sf.net/sfu/devconf" \
target="_blank">http://p.sf.net/sfu/devconf</a><br>_______________________________________________<br>
 Mesa3d-users mailing list<br><a href="mailto:Mesa3d-users@lists.sourceforge.net" \
target="_blank">Mesa3d-users@lists.sourceforge.net</a><br><a \
href="https://lists.sourceforge.net/lists/listinfo/mesa3d-users" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/mesa3d-users</a><br> \
<br></blockquote></div><br></div></div></blockquote></div><br>



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
Mesa3d-users mailing list
Mesa3d-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic