www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <2e59e6970601162109v2bae6228n96a04d79c9fe33cd@mail.gmail.com> |
Date: | Mon, 16 Jan 2006 23:09:22 -0600 |
From: | * * <richardvoigt AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Using VC-compiled Mesa binaries under Cygwin |
In-Reply-To: | <dqhrbl$khc$1@sea.gmane.org> |
MIME-Version: | 1.0 |
References: | <dqhrbl$khc$1 AT sea DOT gmane DOT org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k0H59Usx026896 |
Are the import libraries using the cygwin filename conventions? example, -lm links against libm.a -lpcre links against libpcre.a libpcre.dll.a libpcre.la GCC just isn't going to find a file named glut32.lib using the -lglut32 switch like microsoft link.exe does. It might work if you list it like all the object files. On 1/16/06, Eric Lilja <mindcooler AT gmail DOT com> wrote: > I just compiled the latest version of Mesa (6.4.1) using Microsoft Visual > Studio, because I couldn't compile it with MinGW or Cygwin. After editing a > macro, I was successful in compiling Mesa + glut in Visual Studio. Now, can > I use the binaries (libs and DLLs) with Cygwin? I can't seem to get my test > program to link...I put the mesa-binaries in the application path and I am > using the following Makefile: > CC = gcc > CFLAGS = -Wall -W -ansi -pedantic -g -O0 -c -o > LDFLAGS = -L. -lglut32 -lglu32 -lopengl32 -o $(EXEC) > EXEC = proj.exe > OBJECTS = simple1_9.o > > all: $(OBJECTS) > $(CC) $^ $(LDFLAGS) > > %.o: %.c > $(CC) $(CFLAGS) $@ $< > > clean: > rm -f $(OBJECTS) $(EXEC) *~ *.stackdump > > But I'm getting link errors for any glut-functions....any ideas? > > > > > -- > 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/ > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |