Ponieważ miałem problemy z OpenGL'em dlatego po długich poszukiwaniach w sieci postanowiłem zaatakowac DRI
Direct Rendering Open Source Project
No i już od samego poczatku moje umiejętności linuxowe (a raczej ich brak) dały się we znaki.
Postępując zgodnie z instrukcją:
Kod: Zaznacz cały
1. Building the DRI with X.org and Mesa
This is a basic guide to building DRI from source. This guide only covers building the client-side 3D drivers. Since the transition to the modular X.org build, building an X-server and 2D drivers is beyond the scope of this document. That information can be found in the [WWW]X.org Modular Developer's Guide.
KDrive servers are not supported at this time. Please report any problems with these instructions on the dri-users mailing list or on IRC.
The 2D drivers with DRI support, server-side GLX support and the GL library capable of loading DRI 3D drivers are developed upstream in X.org CVS. The 3D drivers now live in the Mesa tree, so you will have to check out the Mesa CVS tree too. You should also get the DRM tree for the updated kernel modules. The following instructions will guide you through the process step by step.
In addition to having a current version (7.0 as of this writing) of X.org (core and development packages) installed on your system, you will likely need an up to date version of the [WWW]glproto package. At the very least, [WWW]version 1.4.5 is required, but later versions may be available.
Warning: In case you didn't notice, you are about to compile and install experimental software. This will allow you to test the latest features and bug fixes. It may, however, also introduce new bugs. Be prepared for problems every now and then.
Kod: Zaznacz cały
# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glproto.pc
Kod: Zaznacz cały
# make
make: Nie nic do roboty w `all'.
Proszę o pomoc ... i wyrozumiałość.
P.S. Smacznego jajka.
EDIT:
Po make install otrzymuje:
Kod: Zaznacz cały
# make install
make[1]: Entering directory `/usr/local/glproto-1.4.6'
make[1]: Nie nic do roboty w `install-exec-am'.
test -z "/usr/local/include/GL" || mkdir -p -- "/usr/local/include/GL"
/usr/bin/ginstall -c -m 644 'glxint.h' '/usr/local/include/GL/glxint.h'
/usr/bin/ginstall -c -m 644 'glxmd.h' '/usr/local/include/GL/glxmd.h'
/usr/bin/ginstall -c -m 644 'glxproto.h' '/usr/local/include/GL/glxproto.h'
/usr/bin/ginstall -c -m 644 'glxtokens.h' '/usr/local/include/GL/glxtokens.h'
test -z "/usr/local/include/GL/internal" || mkdir -p -- "/usr/local/include/GL/internal"
/usr/bin/ginstall -c -m 644 'glcore.h' '/usr/local/include/GL/internal/glcore.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig"
/usr/bin/ginstall -c -m 644 'glproto.pc' '/usr/local/lib/pkgconfig/glproto.pc'
make[1]: Leaving directory `/usr/local/glproto-1.4.6'