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

Re: mingw32 suite

On Wed, Oct 14, 2009 at 5:56 AM, Richard W.M. Jones <rjones redhat com> 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:


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



 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:


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:


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


Paulo Roma Cavalcanti

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