5.5.1. Setting the PATH variable in Windows

To use Mesa with your Windows application:

  1. Build the Mesa library and note the location of the generated opengl32.dll file.

  2. Open a terminal window.

  3. Enter the following command:

    set PATH=path_to_mesa_dll\:%PATH%


    The modified path only applies to applications started in the terminal window.

  4. Start your graphics application. For example, to start the cube example, enter cube.exe.

    For more information on building and running the cube example, see Building the example applications on Windows.

  5. After you finish viewing the application, close the terminal window.


This sequence will only work if there is not another opengl32.dll present in the system.

Copyright © 2009-2012 ARM. All rights reserved.ARM DUI 0511E