Hallo!
I tried cygwin to compile an external by me on windows (I modified the windows makefile from CVS). But I got some strange problems (everything compiled fine under linux and also with msvc): I have build the dll in the cygwin shell, but when I create the object in PD an error occurs (cygwin1.dll is needed). So I copied cygwin1.dll into c:/windows/system and tried it again, but then my computer was down!
Do I always need this cygwin1.dll to load such an external, and where should cygwin1.dll be ?
Thanks, LG Georg
PS: my windows-makefile:
--------------------------------------------------------------
TARGET = holzilib.dll
PD_PATH = "c:/pd"
SRC = $(shell ls *.c)
OBJ = $(SRC:.c=.o)
CFLAGS = -DPD -DWINDOWS -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch
INCLUDE = -I. -I.. -I../include -I$(PD_PATH)/src
# -------------------------------------------------------------
.SUFFIXES: .dll
all: $(OBJ) @echo :: $(OBJ) gcc -shared -o $(TARGET) *.o $(PD_PATH)/bin/pd.dll \ `test -f $*.libs && cat $*.libs` rm *.o
$(OBJ): %.o : %.c touch $*.c cc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
clean: -rm *.a *.def *.dll *.o
#install-doc: # @test -d $(PD_PATH)/doc/5.reference || mkdir -$(PD_PATH)/doc/5.reference # cp -r ../doc/* $(PD_PATH)/doc/5.reference
install: #install-doc @test -d $(PD_PATH)/extra || mkdir -p $(PD_PATH)/extra install *.dll $(PD_PATH)/extra