Re: mingw32 suite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Oct 14, 2009 at 5:56 AM, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
On Wed, Oct 14, 2009 at 09:11:05AM +0100, Richard W.M. Jones wrote:
> However where you might get stuck is that we don't currently ship GLUT
> or freeglut.  I'm quite certain at some point I packaged freeglut, but
> I can't seem to find it right now.

I've packaged mingw32-freeglut for you:

 https://bugzilla.redhat.com/show_bug.cgi?id=528892

With this I was able to compile some examples from the OpenGL page
here:

 http://www.opengl.org/resources/code/samples/glut_examples/examples/examples.html

eg:

 i686-pc-mingw32-gcc cube.c -o cube -lglut -lglu32 -lopengl32
 wine ./cube

You may need to set up Wine paths by following the instructions here:

 https://fedoraproject.org/wiki/MinGW/Configure_wine




I created mingw32-freeglut-2.6.0-0.1.rc1.fc10.noarch.rpm
and compiled cube.c, but it does not run on wine:

[cascavel:~/cg/TutorsMin1.0] cube.exe
err:module:import_dll Library glut32.dll (which is needed by L"F:\\roma\\cg\\TutorsMin1.0\\cube.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"F:\\roma\\cg\\TutorsMin1.0\\cube.exe" failed, status c0000135

However, it runs just fine on VirtualBox.

In fact, I built some other examples too:

http://orion.lcg.ufrj.br/temp/TutorsMin1.0/

Do you want me to review your mingw32-freeglut package?

Thanks.

--
Paulo Roma Cavalcanti
LCG - UFRJ
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux