I thought it would be a good learning experience (since I'm starting to learn C) to build a pd external which uses SDL to draw graphics.
This one does an alpha blend between two images, very very slowly.
But its a good start.
Thanks Ben
On Thu, 27 Jun 2002, Ben Bogart - FMPM/F1999 wrote:
Woo hoo!!!
Thanks Yves!
I'll send out a screenshot in a minuite. :)
Ben
On Thu, 27 Jun 2002 ydegoyon@free.fr wrote:
LIBS = -lSDL -lm -lpthread
.c.pd_linux: cc $(CFLAGS) $(LIBS) $(INCLUDE) -o $*.o -c $*.c ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm $*.o
fasthack : : : :: :
the LIBS sould be on the linking stage like this :
.c.pd_linux: cc $(CFLAGS) $(INCLUDE) -o $*.o -c $*.c ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm $(LIBS) strip --strip-unneeded $*.pd_linux rm $*.o
cheers,
sevy/yves
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
B. Bogart
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
B. Bogart ---------