<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>This might be a tip for people trying to compile the GLFW
package bundled with SOE on Windows. I had to because I slightly modified the GLFW
source code.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The SOE readme.txt says:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><i>&#8220;For Win32 users, you'll need MinGW environment to
compile<o:p></o:p></i></p>

<p class=MsoNormal><i>GLFW. If &quot;make win32-mgw&quot; is unable to execute
compile.bat<o:p></o:p></i></p>

<p class=MsoNormal><i>propperly, use &quot;compile.bat mgw&quot;. Please also
make sure<o:p></o:p></i></p>

<p class=MsoNormal><i>that your MinGW path should come before the GHC's gcc-lib<o:p></o:p></i></p>

<p class=MsoNormal><i>path in the PATH environment.&#8221;<o:p></o:p></i></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>However, the readme.html file has the following note:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><i>Do <b>not</b> use the MSYS shell for compiling GLFW,
because the supplied batch<o:p></o:p></i></p>

<p class=MsoNormal><i>file &quot;compile.bat&quot; will only work under a
Windows command prompt (or MS-DOS<o:p></o:p></i></p>

<p class=MsoNormal><i>prompt).<o:p></o:p></i></p>

<p class=MsoNormal><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt'>To get it working, I
basically needed to <b>modify</b> my <b>PATH environment variable</b> so that
it <b>contains the MSYS bin folder</b> (in my case C:\app\msys\1.0\bin), and
then run &#8220;<b>COMPILE.bat make mgw</b>&#8221; file using the Windows
command prompt (CMD.EXE) instead of the MSYS unix shell emulator...<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal>Cheers,<o:p></o:p></p>

<p class=MsoNormal>Peter<o:p></o:p></p>

</div>

</body>

</html>