[flext] flext and "cassert"

Nick Burge nburge at virginmedia.com
Wed Nov 7 15:48:55 CET 2012


Apologies for not responding to the list in the first instance….OK flext compiles now…..I had uncommented the last line of the config-mac-pd-gcc.txt file and that seems to have caused the problem. All good now.
best regards, Nick.



On 7 Nov 2012, at 09:40, Thomas Grill wrote:

> Hi Nick,
> please always respond to the list.
> I have the same compiler and os and everything runs fine. I suspect there is something wrong with your system, maybe reinstalling xcode helps. 
> You should have a /usr/include/c++/4.2.1/ containing all the c++ standard lib headers, among them cassert.
> Alternatively you could use Macports to install an alternative compiler, e.g. clang-3.1 which i recommend.
> 
> Please also find below the contents of my flext/buildys/config-mac-pd-gcc.txt file to try out.
> 
> all the best,
> Thomas
> 
> --
> Thomas Grill
> http://grrrr.org
> 
> --------------------------------
> 
> # where is the PD installation including source code?
> # (this should point to the main folder, which has a "src" (PD Vanilla) or "include" (PD extended) subfolder)
> PDPATH=/Applications/Pd-0.43-2.app/Contents/Resources
> 
> # where is the PD executable?
> PDBIN=$(PDPATH)/bin/pd
> 
> ###############################################################
> 
> # 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=pd-darwin
> 
> # where should the external be installed?
> INSTPATH=/Applications/pdext
> 
> ###############################################################
> 
> # 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 SNDOBJ_LIB if you don't use SndObj)
> #SNDOBJ_LIB=/usr/local/lib/libsndobj.a
> 
> ###############################################################
> 
> # make flags (e.g. use multiprocessor)
> MFLAGS=-j 8
> 
> # user defined compiler flags
> UFLAGS += -ffast-math -mmacosx-version-min=10.5
> 
> # user defined linker flags
> LDFLAGS += -mmacosx-version-min=10.5
> 
> # user defined optimization flags
> OFLAGS += -O3 -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 +=
> 
> UFLAGS_x86_64 += -mmmx -msse -msse2 -msse3 -mtune=core2
> OFLAGS_x86_64 += 
> DFLAGS_x86_64 +=
> 
> # cross-compilation (optional)
> ARCH=i386 x86_64 # ppc ppc64
> 
> # SDK for 10.5
> #OSXSDK=/Developer/SDKs/MacOSX10.5u.sdk
> 



More information about the flext mailing list