* openGL link errors
@ 2000-07-14 20:41 Jason Majors
[not found] ` <4.3.2.7.2.20000716131116.00d2eb60@pop.ma.ultranet.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jason Majors @ 2000-07-14 20:41 UTC (permalink / raw)
To: cygwin
I'm trying to compile a simple openGL application under cygwin.
I have the latest version of everything (as of July 14) from the yggdrasil.com
mirror site. I followed the instructions for linking in the openGL README, but
I'm still getting errors like:
main.o(.text+0x31):main.c: undefined reference to `glColor3f@12'
I get about 20 of these from various gl* and glut* functions.
Here is the important part of the Makefile:
LINK_OPTS= -L/usr/local/lib -lglui -lglut32 -lglu32 -lopengl32
gluthello: main.o
$(CC) $(LINK_OPTS) -o gluthello main.o
main.o: main.c
$(CC) $(INCLUDE) -c main.c
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: openGL link errors
[not found] ` <4.3.2.7.2.20000716131116.00d2eb60@pop.ma.ultranet.com>
@ 2000-07-16 11:03 ` Jason Majors
2000-07-16 12:44 ` Norman Vine
0 siblings, 1 reply; 4+ messages in thread
From: Jason Majors @ 2000-07-16 11:03 UTC (permalink / raw)
To: Larry Hall (RFK Partners, Inc); +Cc: cygwin
I read that thread, but it doesn't really apply here. All of the functions I'm
calling are already setup as 'extern void APIENTRY'.
When I comment out the LINK_OPTS macro in my Makefile, I get the exact same
results, so it looks like it can't find the libraries (they're in /lib) or it
doesn't understand how to read them.
On Sun, Jul 16, 2000 at 01:11:41PM -0400, Larry Hall (RFK Partners, Inc) wrote:
> At 11:42 PM 7/14/00, you wrote:
I'm trying to compile a simple openGL application under cygwin.
I have the latest version of everything (as of July 14) from the yggdrasil.com
mirror site. I followed the instructions for linking in the openGL README, but
I'm still getting errors like:
main.o(.text+0x31):main.c: undefined reference to `glColor3f@12'
I get about 20 of these from various gl* and glut* functions.
Here is the important part of the Makefile:
INCLUDE=-I/usr/local/include
LINK_OPTS=-lglut32 -lglu32 -lopengl32
gluthello: main.o
$(CC) $(LINK_OPTS) -o gluthello main.o
main.o: main.c
$(CC) $(INCLUDE) -c main.c
>
>
>
> See the thread on glGetString...
>
>
>
> Larry Hall lhall@rfk.com
> RFK Partners, Inc. http://www.rfk.com
> 118 Washington Street (508) 893-9779 - RFK Office
> Holliston, MA 01746 (508) 893-9889 - FAX
> (508) 560-1285 - cell phone
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: openGL link errors
2000-07-16 11:03 ` Jason Majors
@ 2000-07-16 12:44 ` Norman Vine
2000-07-16 16:43 ` Various OpenGL errors Chris Faylor
0 siblings, 1 reply; 4+ messages in thread
From: Norman Vine @ 2000-07-16 12:44 UTC (permalink / raw)
To: cygwin
Jason Majors writes:
>
>I read that thread, but it doesn't really apply here. All of
>the functions I'm
>calling are already setup as 'extern void APIENTRY'.
>
>When I comment out the LINK_OPTS macro in my Makefile, I get
>the exact same
>results, so it looks like it can't find the libraries (they're
>in /lib) or it
>doesn't understand how to read them.
>
Hmm..
is <windows.h> #included before <GL/glut.h>
Norman
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Various OpenGL errors
2000-07-16 12:44 ` Norman Vine
@ 2000-07-16 16:43 ` Chris Faylor
0 siblings, 0 replies; 4+ messages in thread
From: Chris Faylor @ 2000-07-16 16:43 UTC (permalink / raw)
To: cygwin; +Cc: andre.bleau
I've seen a few errors reported with the opengl package that was
recently submitted for inclusion on sourceware.
If the maintainer is not willing to work on fixing these various
problems, this package will probably be pulled from the latest
directory.
Is anyone willing to put some work into maintaining this package?
cgf
On Sun, Jul 16, 2000 at 02:56:47PM -0400, Norman Vine wrote:
>Jason Majors writes:
>>
>>I read that thread, but it doesn't really apply here. All of
>>the functions I'm
>>calling are already setup as 'extern void APIENTRY'.
>>
>>When I comment out the LINK_OPTS macro in my Makefile, I get
>>the exact same
>>results, so it looks like it can't find the libraries (they're
>>in /lib) or it
>>doesn't understand how to read them.
>>
>
>Hmm..
>is <windows.h> #included before <GL/glut.h>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-07-16 16:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-14 20:41 openGL link errors Jason Majors
[not found] ` <4.3.2.7.2.20000716131116.00d2eb60@pop.ma.ultranet.com>
2000-07-16 11:03 ` Jason Majors
2000-07-16 12:44 ` Norman Vine
2000-07-16 16:43 ` Various OpenGL errors Chris Faylor
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).