Ok guys, I figured out how to compile the plugin for OS X.
The code for this is shown below
Code:
CFLAGS="-dynamic -DMAC -DMACINTOSH"
PROG=$1
g++ $CFLAGS -c $PROG.cpp
g++ -dynamiclib -flat_namespace -undefined suppress -o $PROG.p $PROG.o
Ok. So now that I am compiling under GNU/Linux and OSX, how do I compile under win XP? I only have the headers so I think from reading other forum posts that I need a .dll. Is this right? I also read that there is a makefile associated with this .dll. I really don't want to have to use an IDE in windows to compile this so any command line script would be great.