views:

447

answers:

2

heya, i am running linux (ubuntu),

I am having some trouble with this. i've tried downloading glut32.dll and sticking it in mingw's lib/ directory and also setting up the appropriate headers in include/, however - although the compile is fine - the linker has a serious problem looking up the symbols.

how do i go about doing this? how do i build an opengl app for windows using mingw?

thanks,

+2  A: 

In the Windows world, to link something to a DLL you need an "import library". You can think of these as static libs with stub functions that expose the DLL's symbols. You need to look for libglut32.a.

If you can't find that, there might even be a Visual C++ to mingw import library conversion tool somewhere on the Internets... (It's been a while since I needed things like this, so maybe I just dreamed that part up.)

asveikau
thanks :) im getting there, using this approach :)
banister
A: 

I tried doing this as well a couple months ago for my graphics class. I tried everything thing I could think of, but could never solve the linker issues. I ended up just compiling it with Microsoft's compiler and it worked fine.

Bob Somers