<br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 5:56 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Oct 14, 2009 at 09:11:05AM +0100, Richard W.M. Jones wrote:<br>
> However where you might get stuck is that we don't currently ship GLUT<br>
> or freeglut.  I'm quite certain at some point I packaged freeglut, but<br>
> I can't seem to find it right now.<br>
<br>
</div>I've packaged mingw32-freeglut for you:<br>
<br>
  <a href="https://bugzilla.redhat.com/show_bug.cgi?id=528892" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=528892</a><br>
<br>
With this I was able to compile some examples from the OpenGL page<br>
here:<br>
<br>
  <a href="http://www.opengl.org/resources/code/samples/glut_examples/examples/examples.html" target="_blank">http://www.opengl.org/resources/code/samples/glut_examples/examples/examples.html</a><br>
<br>
eg:<br>
<br>
  i686-pc-mingw32-gcc cube.c -o cube -lglut -lglu32 -lopengl32<br>
  wine ./cube<br>
<br>
You may need to set up Wine paths by following the instructions here:<br>
<br>
  <a href="https://fedoraproject.org/wiki/MinGW/Configure_wine" target="_blank">https://fedoraproject.org/wiki/MinGW/Configure_wine</a><br>
<div class="im"><br><br></div></blockquote><div><br><br>I created mingw32-freeglut-2.6.0-0.1.rc1.fc10.noarch.rpm<br>and compiled cube.c, but it does not run on wine:<br><br>[cascavel:~/cg/TutorsMin1.0] cube.exe <br>err:module:import_dll Library glut32.dll (which is needed by L"F:\\roma\\cg\\TutorsMin1.0\\cube.exe") not found<br>
err:module:LdrInitializeThunk Main exe initialization for L"F:\\roma\\cg\\TutorsMin1.0\\cube.exe" failed, status c0000135<br><br></div></div>However, it runs just fine on VirtualBox.<br><br>In fact, I built some other examples too:<br>
<br><a href="http://orion.lcg.ufrj.br/temp/TutorsMin1.0/">http://orion.lcg.ufrj.br/temp/TutorsMin1.0/</a><br><br>Do you want me to review your mingw32-freeglut package?<br><br>Thanks.<br clear="all"><br>-- <br>Paulo Roma Cavalcanti<br>
LCG - UFRJ<br>