Permalink
Browse files

Added more install-troubleshooting notes to README

  • Loading branch information...
pmh47 committed Aug 17, 2018
1 parent ae10f9f commit 5043f3c460323a5a15492f6cf37bbd69887de101
Showing with 12 additions and 1 deletion.
  1. +12 −1 README.md
View
@@ -105,7 +105,18 @@ To sanity-check your build, run `python tests/square_test.py`, which should prod
#### Troubleshooting:
- You should ensure that libGL and libEGL are in a location on LD_LIBRARY_PATH, and that these are the versions shipped with your Nvidia driver. In particular, if you have install Mesa, this may have overwritten libGL with its own version, which will not work with DIRT
- If the build cannot find `GL/gl.h` and `GL/glext.h`, you can get suitable versions of these by running the following from the `dirt` directory:
```
mkdir external/GL ; cd external/GL
wget https://raw.githubusercontent.com/mesa3d/mesa/master/include/GL/gl.h
wget https://raw.githubusercontent.com/mesa3d/mesa/master/include/GL/glext.h
cd ../..
export INCLUDE=$PWD/external:$INCLUDE
```
- If the build cannot find `X11/Xlib.h`, install the system package `libx11-dev` or `libX11-devel`
- You should ensure that libGL and libEGL are in a location on LD_LIBRARY_PATH, and that these are the versions shipped with your Nvidia driver. In particular, if you have installed Mesa, this may have overwritten libGL with its own version, which will not work with DIRT
- You should ensure that compute + graphics mode is enabled (through nvidia-smi) for your GPU

0 comments on commit 5043f3c

Please sign in to comment.