[flext] Problems founding MAX API

mcolasso marco.colasso at gmail.com
Wed Aug 10 17:34:29 CEST 2011


Hi Tomas, sorry for the delay in the answer. 

Thanks for your help, this solve the problem, I thought that writing the path in MAXSDKPATH= in config-mac-max-gcc.txt was enough. 

I am still with problems compiling library for max .

make -f /flext/buildsys/gnumake-sub.mak PLATFORM=mac RTSYS=max COMPILER=gcc BUILDPATH=/flext/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/flext/lib -o max-darwin/release-shared/fuzzy.mxo/Contents/MacOS/fuzzy  max-darwin/release-shared/flctk_fuzzy.opp -lfuzzy -lflext-max
ld: library not found for -lflext-max
collect2: ld returned 1 exit status
ld: library not found for -lflext-max
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/K+/K+8386WKH2e5W4lVvdN93++++TI/-Tmp-//cc98ZIJ5.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

maybe another simple error, but can´t find out which is the problem. 

thanks for your help, 
- 
marco.

On Friday, August 5, 2011 at 6:56 PM, Thomas Grill wrote: 
> Hi,
> in the Max SDK there are two "frameworks", namely MaxAPI.framework and MaxAudioAPI.framework (and also Jittersomething.framework) which should be installed in your system, as hopefully also described in the Max SDK docs. Copy those folders to the system path /Library/Frameworks on your system harddrive, then try again.
> gr~~~ 
> 
> Am 05.08.2011 um 22:57 schrieb mcolasso:
> > 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.
> > 
> > 
> > 
> > _______________________________________________
> > http://grrrr.org/ext/flext
> > 
> > flext mailing list
> > flext at grrrr.org
> > http://grrrr.org/cgi-bin/mailman/listinfo/flext
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20110810/06ef1dd4/attachment-0001.htm>


More information about the flext mailing list