View Single Post
Old 9th January 2008, 06:16 PM   #4
conzar
Member
Advanced member
 
conzar's Avatar
 
Join Date: May 2006
Posts: 36
Default Re: Compiling for GNU/Linux, OSX, and XP

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.
conzar is offline   Reply With Quote