public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: CaetSith7@aol.com
To: <cygwin@sourceware.cygnus.com>
Subject: OpenGL, -mno-cygwin AND GLUT
Date: Fri, 16 Feb 2001 12:35:00 -0000	[thread overview]
Message-ID: <5a.11381833.27bee8ed@aol.com> (raw)

First of all, thanks for the fix Andre.  However, I have a new problem related to GLUT.  I tried looking again through the archives, but no beans.

#gcc code.C -I /usr/include -lopengl32 -lglu32 -lglut32

works fine.  But,

#gcc -mno-cgywin code.C -I /usr/include -lopengl32 -lglu32 -lglut32

gives undefined references to '__glutInitWithExit@12', '__glutCreateWindowWithExit@8' and '__glutCreateMenuWithExit@8'.

I was thinking either I needed to include the -mwindows flag, but that didn't help, neither did using g++ and I couldn't find a similar hack for glut.h like the one you gave for gl.h, which also worked for glu.h by the way.  Thanks,

Shawn

PLEASE CC TO CaetSith7@aol.com I AM NOT A MEMBER OF THE LIST.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2001-02-16 12:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-16 12:35 CaetSith7 [this message]
2001-02-16 13:38 Andre Bleau
2001-02-16 14:32 ` Earnie Boyd
2001-02-16 17:55   ` Christopher Faylor
2001-02-16 16:45 CaetSith7

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a.11381833.27bee8ed@aol.com \
    --to=caetsith7@aol.com \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).