ext13 for windows? (was Re: [PD] splitting symbols -or- regular)expressions?

Josh Steiner joschi at eds.org
Fri Mar 22 20:23:02 CET 2002


> somebdy posted the code for a regex object here 2 weeks ago or so

Yeah, that was in the thread i linked to below.  the problem is that I do
not have Visual Studio and I havnt been able to get externs to compile
using CygWin.  I wish i could though, because that looks neat.

> also, there is strippath object in ext13 for xctly this purpse?

This looks perfect, if anyone has the patience to help me compile this
under CygWin I would really appriciate it.

it seems that it can't find the pd headers:

---

joschi at VAAH /cygdrive/d/pd/ext13
$ ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lpthread... yes
checking for main in -lstk... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for select... yes
checking for socket... yes
checking for strerror... yes
updating cache ./config.cache
creating ./config.status
creating makefile

joschi at VAAH /cygdrive/d/pd/ext13
$ make ext13
gcc -c -o ftos.o -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHA
VE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1
-DHAVE_S
TRERROR=1  -DPD_VERSION_MINOR=32 -I./include  -DVERSION=\"0.12\" -DPD
ftos.c
gcc -o ftos.pd_linux -g -O2 -DHAVE_LIBC=1 -DHAVE_LIBM=1
-DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1
-DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHA
VE_STRERROR=1  -DPD_VERSION_MINOR=32 -I./include  -export_dynamic  -shared
-DVERSION=\"0.12\" -DPD ftos.o
ftos.o: In function `ftos_new':
/cygdrive/d/pd/ext13/ftos.c:27: undefined reference to `pd_new'
/cygdrive/d/pd/ext13/ftos.c:29: undefined reference to `floatinlet_new'
/cygdrive/d/pd/ext13/ftos.c:30: undefined reference to `outlet_new'
/cygdrive/d/pd/ext13/ftos.c:31: undefined reference to `gensym'
ftos.o: In function `ftos_bang':
/cygdrive/d/pd/ext13/ftos.c:39: undefined reference to `outlet_symbol'
ftos.o: In function `ftos_float':
/cygdrive/d/pd/ext13/ftos.c:52: undefined reference to `gensym'
/cygdrive/d/pd/ext13/ftos.c:54: undefined reference to `gensym'
ftos.o: In function `ftos_setup':
/cygdrive/d/pd/ext13/ftos.c:62: undefined reference to `gensym'
/cygdrive/d/pd/ext13/ftos.c:62: undefined reference to `class_new'
/cygdrive/d/pd/ext13/ftos.c:64: undefined reference to `class_addbang'
/cygdrive/d/pd/ext13/ftos.c:65: undefined reference to `class_doaddfloat'
collect2: ld returned 1 exit status
make: *** [ftos.pd_linux] Error 1
rm ftos.o
 
________________________________________________________________
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi






More information about the Pd-list mailing list