<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>For those of you that don't have access to a linux system at your
home/dorm for graphics development, I have been successful in
using the Windows Subsystem for Linux to at least develop and test
simple OpenGL code. If you want to try it here are the steps I
used. Disclaimer: try this at your own risk. It worked for me
but based on how your system is configured there may be additional
steps needed.</p>
<p>1. type WSL into the search bar and run the command. you will
get window that looks something like this...</p>
<p><img moz-do-not-send="false"
src="cid:part1.EzjmX0yO.PRU2wBJc@sandbox.mercer.edu"
alt="screenshot" width="752" height="422"></p>
<p>Press any key and wait while it installs the base components.
Wait for it to finish!</p>
<p>2. REBOOT (this allows the WSL engine to become part of
windows -- but we still have a lot to do...)</p>
<p>3. Bring up a terminal and enter the following command to install
the Ubuntu distribution</p>
<p> wsl --install -d Ubuntu</p>
<p> wait a few minutes for it to install, then create the default
Unix account.</p>
<p>4. Now we need to add some code building components</p>
<p> sudo apt install build-essential</p>
<p> when it asks for a password, enter the password you created
with the default Unix account. Now, enter the following command
to bring in the repositories needed for many of the graphics
programs we will be developing</p>
<p> sudo apt update</p>
<p>this will take a few minutes. </p>
<p>5. Reboot the computer again -- THIS IS A MUST -- as it will use
the new kernel we installed and the updated repositories</p>
<p>6. Once the system restarts, type wsl in the searchbar to now
open a Ubuntu instance -- this may take a few seconds.</p>
<p>7. Now for the big install... in the ubuntu terminal type</p>
<p> sudu apt install mesa-utils libglu1-mesa-dev freeglut3-dev
mesa-common-dev glew-utils libglew2.2 libglew-dev exhuberant-ctags
gedit </p>
<p>8. Let all of those install and then try to run glxgears by
typing "glxgears" in the ubuntu terminal and hitting enter. If
you don't see a window pop up be sure to check your lower menu
bar. If it doesn't work don't fret -- there are many possible
tweaks that may need to be made. It worked perfectly on my laptop
the first time but took several modifications on my old desktop to
get it to work.</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<i><b>Andrew J. Pounds, Ph.D.</b></i> (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)<br>
<i>Professor of Chemistry and Computer Science</i><br>
<i>Director of the Computational Science Program</i><br>
<i>Mercer University, Macon, GA</i></div>
</body>
</html>