doc: Add libraries

This commit is contained in:
Hajime Hoshi 2016-02-21 05:06:04 +09:00
parent 591d71b447
commit 8c0294248e

View File

@ -60,6 +60,17 @@ pre {
<pre><code>:; go get github.com/gopherjs/gopherjs
:; go get github.com/gopherjs/webgl</code></pre>
<h2>Install on Ubuntu Linux</h2>
<p>Before installing Ebiten, you might need these libraries:</p>
<ul>
<li>libglu1-mesa-dev</li>
<li>libgles2-mesa-dev</li>
<li>libxrandr-dev</li>
<li>libxcursor-dev</li>
<li>libxinerama-dev</li>
<li>libxi-dev</li>
</ul>
<h2>Execute the example</h2>
<pre><code>:; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
:; go run rotate/main.go</code></pre>