delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/03/14:01:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990503175943.65525.qmail@hotmail.com>
X-Originating-IP: [38.31.1.54]
From: "dale henderson" <dalekh AT hotmail DOT com>
To: anorland AT hem2 DOT passagen DOT se
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Mingw32 and OpenGL extensions
Date: Mon, 03 May 1999 12:59:42 CDT
Mime-Version: 1.0


My mistake, below is the error log from the egcs compile:

/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0xfc):glcanvas.cc: undefined 
reference to `wglCreateContext AT 4'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0x108):glcanvas.cc: undefined 
reference to `wglMakeCurrent AT 8'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0x1f5):glcanvas.cc: undefined 
reference to `wglMakeCurrent AT 8'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0x1fd):glcanvas.cc: undefined 
reference to `wglDeleteContext AT 4'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0x253):glcanvas.cc: undefined 
reference to `wglMakeCurrent AT 8'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0x276):glcanvas.cc: undefined 
reference to `wglMakeCurrent AT 8'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0xcaf):glcanvas.cc: undefined 
reference to `glFrustum AT 48'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0xe6e):glcanvas.cc: undefined 
reference to `wglGetProcAddress AT 4'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0xeca):glcanvas.cc: undefined 
reference to `wglGetProcAddress AT 4'
/wx2/lib/libglcanvas.a(glcanvas.o)(.text+0xf16):glcanvas.cc: undefined 
reference to `wglGetProcAddress AT 4'
make: *** [penguin.exe] Error 1






>dale henderson wrote:
> >
> > Anders,
> >
> > Thanks for the reply.
> > I do in fact have that library, -lopengl32, linking in my Make 
>environment.
> > Specifically, I get undefined references for the following extensions:
> > wglCreateContext
> > wglMakeCurrent
> > wglDeleteContext
> > wglGetProcAddress
> > glFrustum
>
>If these are the unresolved symbols you get and not
>wglCreateContext AT 4 etc., you don't, for some reason, get the
>prototypes. It is impossible to say with so little information.
>
>Regards,
>Anders


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019