This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using VC-compiled Mesa binaries under Cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]