[flext] Problems founding MAX API
mcolasso
marco.colasso at gmail.com
Fri Aug 5 22:57:27 CEST 2011
hi,
i am trying to compile a library with flext, Mac OSX 10.6.6 - tryed with: SDK 10.4u || 10.5 || 10.6 and Max SDK 5.1.7. I followed the build steps again and again trying to compile from terminal, good results with PD but no luck with max. Problems founding MAX API !
m:~ marquintoshII$ bash /flext2/build.sh max gcc
make -f /flext2/buildsys/gnumake-sub.mak PLATFORM=mac RTSYS=max COMPILER=gcc BUILDPATH=/flext2/buildsys/ PKGINFO=/Users/marquintoshII/Desktop/CITA/Fuzzy_Objects/FLCTK/max/package.txt BUILDCLASS=ext TARGETMODE=release TARGETTYPE=shared SHARED=1 _build_
g++ -mmacosx-version-min=10.4 -framework MaxAPI -framework MaxAudioAPI -bundle -dynamic -framework vecLib -Wl,-S -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -framework ApplicationServices -L/Users/marquintoshII/Desktop/CITA/Fuzzy_Objects/FLCTK/fuzzylib/lib -L/flext2/lib -o max-darwin/release-shared/fuzzy.mxo/Contents/MacOS/fuzzy max-darwin/release-shared/flctk_fuzzy.opp -lfuzzy -lflext-max
ld: framework not found MaxAPI
collect2: ld returned 1 exit status
ld: framework not found MaxAPI
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/K+/K+8386WKH2e5W4lVvdN93++++TI/-Tmp-//ccLiarKL.out (No such file or directory)
make[1]: *** [max-darwin/release-shared/fuzzy.mxo/Contents/MacOS/fuzzy] Error 1
make: *** [build-release-shared] Error 2
m:~ marquintoshII$
I`ve changed the max SDK path with no luck… This is my last config-mac-max-gcc.txt
Thanks for your help!
# where are the Max/MSP SDK header files?
# you should have the latest version!
MAXSDKPATH=/Library/Frameworks/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=/flext2
###############################################################
# where should the external be built?
OUTPATH=max-darwin
# where should the external be installed?
INSTPATH=/Applications/Max5/flext
# where should the initialization files be installed?
INITPATH=/Applications/Max5/Cycling74/init
# where should the help files be installed?
HELPPATH=/Applications/Max5/max-help/flext
###############################################################
# 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 8
# 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 += -Os # -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
###############################################################
-
marco.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20110805/8c9d3a8b/attachment.htm>
More information about the flext
mailing list