Has anyone gotten OSCx to build completely on Windows using MinGW? The
./configure && make compiles everything, and makes the single objects
fine, but it just doesn't link the OSC.dll library. I'd like to find
the fixes and put them in CVS, so that the MinGW builds will
automatically build OSC too.
This is the stage where the error is:
gcc -shared -o OSC.dll OSC.o sendOSC.o dumpOSC.o OSCroute.o htmsocket.o
OSC-pattern-match.o OSC-system-dependent.o -L../../../pd/bin -lpd -lm
-lwsock32 ../libOSC/libOSC.a
Info: resolving _s_float by linking to __imp__s_float (auto-import)
OSC.o: In function `OSC_setup':
C:/msys/1.0/home/hans/cvs/pure-data/externals/OSCx/src/OSC.c:61:
undefined reference to `_imp__sendOSC_setup'
C:/msys/1.0/home/hans/cvs/pure-data/externals/OSCx/src/OSC.c:62:
undefined reference to `_imp__dumpOSC_setup'
C:/msys/1.0/home/hans/cvs/pure-data/externals/OSCx/src/OSC.c:63:
undefined reference to `_imp__OSCroute_setup'
collect2: ld returned 1 exit status
make[1]: *** [OSC.dll] Error 1
make[1]: Leaving directory `/home/hans/cvs/pure-data/externals/OSCx/src'
make: *** [all] Error 2
Its very strange since sendOSC.o, dumpOSC.o, and OSCroute.o are all
included.
.hc
________________________________________________________________________
____
"Looking at things from a more basic level, you can come up with a more
direct solution... It may sound small in theory, but it in practice, it
can change entire economies."
- Amy Smith