X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Finstall.html;h=ec186fb84af2ecc993bd48ded39596307d829ab2;hb=a7fbc8bc7f397ddf79347e5831ddb3736795f98d;hp=f4b3edd5713e4ce6a54d04b8f12a554c1e6c6952;hpb=9e5bc2c8685ee502dd911dd5b1b166f2b05d7dcd;p=mesa.git diff --git a/docs/install.html b/docs/install.html index f4b3edd5713..ec186fb84af 100644 --- a/docs/install.html +++ b/docs/install.html @@ -23,7 +23,6 @@
  • For DRI and hardware acceleration
  • Building with meson -
  • Building with autoconf (Linux/Unix/X11)
  • Building with SCons (Windows/Linux)
  • Building with AOSP (Android)
  • Library Information @@ -38,17 +37,15 @@

    Build system

    -

    Compiler

    The following compilers are known to work, if you know of others or you're @@ -63,12 +60,6 @@ willing to maintain support for other compiler get in touch.

    Third party/extra tools.

    -

    -Note: These should not be required, when building from a release tarball. If -you think you've spotted a bug let developers know by filing a -bug report. -

    -

    Note: Some versions can be buggy (eg. flex 2.6.2) so do try others if things fail.

    @@ -114,9 +105,11 @@ the packaging tool used by your distro.

    2. Building with meson

    +

    Meson &6t;= 0.46.0 is required

    +

    Meson is the latest build system in mesa, it is currently able to build for -*nix systems like Linux and BSD, and will be able to build for windows as well. +*nix systems like Linux and BSD, macOS, Haiku, and Windows.

    @@ -127,20 +120,34 @@ The general approach is: ninja -C builddir/ sudo ninja -C builddir/ install + +

    On windows you can also use the visual studio backend

    +
    +  meson builddir --backend=vs
    +  cd builddir
    +  msbuild mesa.sln /m
    +
    +

    Please read the detailed meson instructions for more information

    -

    3. Building with autoconf (Linux/Unix/X11)

    +

    On windows you can also use the visual studio backend

    +
    +  meson builddir --backend=vs
    +  cd builddir
    +  msbuild mesa.sln /m
    +

    - Autoconf support was removed in Mesa 19.1.0. Please use meson instead. +Please read the detailed meson instructions +for more information

    -

    4. Building with SCons (Windows/Linux)

    +

    3. Building with SCons (Windows/Linux)

    To build Mesa with SCons on Linux or Windows do @@ -176,7 +183,7 @@ Additional information is available in README.WIN32. -

    5. Building with AOSP (Android)

    +

    4. Building with AOSP (Android)

    Currently one can build Mesa for Android as part of the AOSP project, yet @@ -195,7 +202,7 @@ Android-x86 and/or other resources.

    -

    6. Library Information

    +

    5. Library Information

    When compilation has finished, look in the top-level lib/ @@ -212,9 +219,8 @@ lrwxrwxrwx 1 brian users 23 Mar 26 07:53 libOSMesa.so.6 -> lib

    -libGL is the main OpenGL library (i.e. Mesa). -
    -libOSMesa is the OSMesa (Off-Screen) interface library. +libGL is the main OpenGL library (i.e. Mesa), while libOSMesa +is the OSMesa (Off-Screen) interface library.

    @@ -233,7 +239,7 @@ versions of libGL and device drivers.

    -

    7. Building OpenGL programs with pkg-config

    +

    6. Building OpenGL programs with pkg-config

    Running ninja install will install package configuration files @@ -252,8 +258,6 @@ For example, compiling and linking a GLUT application can be done with: gcc `pkg-config --cflags --libs glut` mydemo.c -o mydemo -
    -