| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Reply-To: | <nhv AT cape DOT com> |
| From: | "Norman Vine" <nhv AT cape DOT com> |
| To: | "'Patrick Reuter'" <preuter AT labri DOT fr>, <cygwin AT cygwin DOT com> |
| Subject: | RE: glut Problems... |
| Date: | Mon, 7 May 2001 07:56:30 -0400 |
| Message-ID: | <000101c0d6ec$c1bd2bc0$a300a8c0@nhv> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook 8.5, Build 4.71.2232.26 |
| In-Reply-To: | <3AF65A94.D9A8FBF4@labri.fr> |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
Patrick Reuter writes: > >I have reinstalled cygwin recently. > >Before, I never had problems with the glut library, but now using the >following compilation command: > >g++ -pg -O2 -Wall -g main.o ......... -o a.out >//w/lib/NT/opengl32.lib //w/lib/NT/glu32.lib //w/lib/NT/glut32.lib > >the linker doesn't find the glut references anymore: > >undefinded reference to 'glutMainLoop()' etc. You need WIN32 defined for the proper declarations to be picked up from many header files easiest to do by adding -mwin32 to the compiler flags also see http://sources.redhat.com/ml/cygwin/2001-05/msg00257.html Norman Vine -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |