[flext] building an external with XCode

Bodsiin Htarva bodsiin at googlemail.com
Thu Mar 3 11:05:56 CET 2011


Hi,

i am trying to use the template with the .xcodeproj extension to build some
externals with Xcode 3.2.2 and Max SDK 5.1.7 in Mac OS 10.6.6, i have
installed flext for Max with the config file attached, i have substituted in
the Xcode project file the path to the MaxAPI and MaxAudioAPI frameworks
because i don't have them in the frameworks folder. I also deleted the pd
products and targets but it does not work, is there an specific resource
about working with flext in Xcode? Thanks! bodsiin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20110303/22dc491c/attachment.htm>
-------------- next part --------------
# where are the Max/MSP SDK header files?
# you should have the latest version!
MAXSDKPATH=/Developer/SDKs/MaxSDK-5.1.7/c74support

###############################################################

# prefix for flext installation
# headers are in $(FLEXTPREFIX)/include/flext
# libraries are in $(FLEXTPREFIX)/lib
# build system is in $(FLEXTPREFIX)/lib/flext

FLEXTPREFIX=/usr/local

###############################################################

# where should the external be built?
OUTPATH=/Documents/MaxMSP/flext/build

# where should the external be installed?
INSTPATH=/Documents/MaxMSP/flext/external

# where should the initialization files be installed?
INITPATH=/Documents/MaxMSP/flext/init

# where should the help files be installed?
HELPPATH=/Documents/MaxMSP/flext/help

###############################################################

# STK (synthesis tool kit) support
# http://ccrma.stanford.edu/software/stk

# where to find the STK header files (e.g. stk.h)
#STK_INC=/usr/local/include/stk

# where to find the STK library (normally libstk.a)
# (comment out STK_LIB if you don't use STK)
#STK_LIB=/usr/local/lib/libstk.a

###############################################################

# SndObj support
# http://music.nuim.ie//musictec/SndObj

# where to find the SndObj header files (e.g. sndobj.h)
#SNDOBJ_INC=/usr/local/include/sndobj

# where to find the SndObj library (normally libsndobj.a)
# (comment out STK_LIB if you don't use SndObj)
#SNDOBJ_LIB=/usr/local/lib/libsndobj.a

###############################################################

# make flags (e.g. use multiprocessor)
MFLAGS=-j 2

# user defined compiler flags
UFLAGS += -ffast-math -mmacosx-version-min=10.4

# user defined linker flags
LDFLAGS += -mmacosx-version-min=10.4

# user defined optimization flags
OFLAGS += -O2 # -ftree-vectorize

# user defined debugging flags
DFLAGS +=

# architecture-specific flags (optional)
UFLAGS_ppc += -mcpu=G4 -faltivec 
OFLAGS_ppc += 
DFLAGS_ppc +=

UFLAGS_i386 += -mmmx -msse -msse2 -msse3 -mtune=nocona
OFLAGS_i386 += 
DFLAGS_i386 +=

# cross-compilation (optional)
ARCH=ppc i386 #x86_64 ppc64

# SDK for 10.4
#OSXSDK=/Developer/SDKs/MacOSX10.4u.sdk


More information about the flext mailing list