From: Brian Dessent <brian@dessent.net>
To: godescbach <godescbach@yahoo.com>
Cc: cygwin@cygwin.com
Subject: Re: OpenGL: Linker errors when trying to compile w/GLUI
Date: Fri, 16 May 2008 15:27:00 -0000 [thread overview]
Message-ID: <482D4240.5CB70FAA@dessent.net> (raw)
In-Reply-To: <942354.46333.qm@web82803.mail.mud.yahoo.com>
godescbach wrote:
> $ g++ -O2 -mno-cygwin example1.cpp -o example1 -L/usr/lib/w32api -lglui -lglut3
> 2 -lglu32 -lopengl32
> /usr/lib/w32api/libglui.a(glui_spinner.o):glui_spinner.cpp:(.text+0xd): undefine
> d reference to `___getreent'
This error means you're trying to use a Cygwin library from MinGW
(-mno-cygwin). That won't work. If you're going to use MinGW you can't
use Cygwin libraries. The above command works fine for me after
removing -mno-cygwin.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2008-05-16 8:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 8:14 godescbach
2008-05-16 15:27 ` Brian Dessent [this message]
2008-05-16 15:27 André Bleau
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=482D4240.5CB70FAA@dessent.net \
--to=brian@dessent.net \
--cc=cygwin@cygwin.com \
--cc=godescbach@yahoo.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).