|
|

楼主 |
发表于 2005-8-5 13:51:00
|
显示全部楼层
Re: 如何在Linux下进行OPENGL编程?
我查看了 http://www.mesa3d.org/ 的手册
在左边的Documentation里 查看了 Platforms and Drivers ,在右边的列表中选择 README.X11 - X Window System / Unix / Linux
打开后阅读后,说是有两种编译mesa方法.我就选择新的方法编译
2. The new way:
Type './configure' and then 'make'. This uses GNU autoconfig.
Run 'make check' to build the demos.
See docs/INSTALL for more details.
When finished, the Mesa libraries will be in the Mesa-x.y/src/.libs/,
Mesa-x.y/si-glu/.libs, etc directories.
./configure是不行的
-----------------------------------------------------------------------------------------------
我在Download / Install 中找到Compilation/Installation
一开始就讲了,摒弃了这样的方法 在Mesa 5.1中就这样了 because:
It seldom worked on IRIX, Solaris, AIX, etc.
It was very compilicated
Nobody maintained it
libtool was just too weird
并说在6.1版本中,把这些config文件都集中在configs文件中.
----------------------------------------------------------------------------------------------
下边按照他说的方法开始编译
他上边有个注意
Note: if you've obtained Mesa through CVS, do this first:
cd Mesa
chmod a+x bin/mklib
我不知道我是不是通过CVS来的,我就直接执行了 Mesa-6.3目录下直接执行make linux-x86
|
-
|