public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: linking problems with ...
@ 1997-09-12  6:55 Rocky Burt
  0 siblings, 0 replies; only message in thread
From: Rocky Burt @ 1997-09-12  6:55 UTC (permalink / raw)
  To: gnu-win32

Lachlan Roche wrote:

> I have been trying to use opengl with the minimalist version of
> gcc-win32.
>
> I am using SGI GL for windows, and Mark Kilgard's glut32.dll
>
> I created my link liraries link:
> impdef opengl.dll > opengl.def
> dlltool --dllname opengl.dll --def opengl.def --output-lib libopengl.a

> -v
>
> There were no func@NN type symbols in the .def files
>
> when linking a trivial test program, I get many errors of the form:
> gltest.o(.text+0x24):gltest.c: undefined reference to `glBegin@4'
>
> Every function I use from libglut.a libglu.a or libopengl.a gives the
> same
> link error.
>
> What am I doing wrong? (Something trivial, no doubt)

I've gotten the libopengl and libglu libs working ok, but no luck with
the glut stuff.  I have the glut library converted, but when I run a
compiled executable I get a corrupted DLL error from GLUT.DLL.  It says
it ain't an executable or something.

Anyway, if you'd like to see what I've got done, go to:
< http://dragon.acadiau.ca/~025668b/develop/opengl >




-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-09-12  6:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-12  6:55 linking problems with Rocky Burt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).