[flext] Max frameworks not found on Mavericks
Stefano Papetti
stefano.papetti at zhdk.ch
Tue Jun 10 16:41:05 UTC 2014
Hi Thomas,
I tried compiling normally (i.e. against the single build, since the
shared version of flext doesn't compile) and this is what I get:
c++ -mmacosx-version-min=10.4 -framework MaxAPI -framework MaxAudioAPI
-bundle -dynamic -framework vecLib -Wl,-S -arch i386 -framework
ApplicationServices -L/usr/local/lib -o
max-darwin/release-single/xsample.mxo/Contents/MacOS/xsample
max-darwin/release-single/main.opp max-darwin/release-single/play.opp
max-darwin/release-single/groove.opp
max-darwin/release-single/record.opp
max-darwin/release-single/inter.opp -lflext-max_s
ld: framework not found MaxAPI
Ciao,
Stefano
On 10/06/14 17:34, Thomas Grill wrote:
> Hi all,
> i just tried with my xsample project and i have no such problem.
>
> c++ -mmacosx-version-min=10.4 -framework MaxAPI -framework MaxAudioAPI
> -bundle -dynamic -framework vecLib -Wl,-S -arch i386 -framework
> ApplicationServices -L/usr/local/lib -o
> max-darwin/release-shared/xsample.mxo/Contents/MacOS/xsample max-darwin/release-shared/main.opp
> max-darwin/release-shared/play.opp
> max-darwin/release-shared/groove.opp
> max-darwin/release-shared/record.opp
> max-darwin/release-shared/inter.opp -lflext-max
> strip -x max-darwin/release-shared/xsample.mxo/Contents/MacOS/xsample
> chmod 755 max-darwin/release-shared/xsample.mxo/Contents/MacOS/xsample
> echo "iLaX????" >> max-darwin/release-shared/xsample.mxo/Contents/Pkginfo
> rm max-darwin/release-shared/inter.opp_i386
> max-darwin/release-shared/main.opp_i386
> max-darwin/release-shared/record.opp_i386
> max-darwin/release-shared/play.opp_i386
> max-darwin/release-shared/groove.opp_i386
>
>
> hmmmm,
> gr~~~
>
> Am 07.06.2014 um 00:24 schrieb Stefano Papetti
> <Stefano.Papetti at zhdk.ch <mailto:Stefano.Papetti at zhdk.ch>>:
>
>> I also considered that, however when I compile my externals I get
>> again the "framework not found" error!
>>
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
>> /Users/spapetti/flext_svn//buildsys/gnumake-sub.mak PLATFORM=mac
>> RTSYS=max COMPILER=gcc
>> BUILDPATH=/Users/spapetti/flext_svn//buildsys/
>> PKGINFO=SDT_decay_max_filter~.txt BUILDCLASS=ext
>> TARGETMODE=release TARGETTYPE=single _build_
>> c++ -mmacosx-version-min=10.4 -framework MaxAPI -framework
>> MaxAudioAPI -bundle -dynamic -framework vecLib -Wl,-S -arch i386
>> -framework ApplicationServices -L/usr/local/lib -o
>> max-darwin/release-single/decay_max_filter~.mxo/Contents/MacOS/decay_max_filter~
>> max-darwin/release-single/decay_max_filter~.opp -lflext-max_s
>> *ld: framework not found MaxAPI*
>> clang: error: linker command failed with exit code 1 (use -v to
>> see invocation)
>> make[1]: ***
>> [max-darwin/release-single/decay_max_filter~.mxo/Contents/MacOS/decay_max_filter~]
>> Error 1
>> make: *** [build-release-single] Error 2
>>
>> Thanks,
>> Stefano
>>
>>
>> On 06/06/14 23:13, Cárthach Ó Nuanáin wrote:
>>> Ah,
>>>
>>> It does have problems making the dylib. But you don't need that to
>>> build stuff. Just compile against the static library.
>>>
>>> C
>>>
>>>
>>> On 6 June 2014 22:20, Stefano Papetti <stefano.papetti at zhdk.ch
>>> <mailto:stefano.papetti at zhdk.ch>> wrote:
>>>
>>> Thanks Cárthach, unfortunately it doesn't work on my machine...
>>> I always get the same error:
>>>
>>> ld: framework not found MaxAPI
>>> clang: error: linker command failed with exit code 1 (use -v
>>> to see invocation)
>>> make[1]: ***
>>> [max-darwin/release-shared/libflext-max.0.5.2.dylib] Error 1
>>>
>>> This happens even if I copied the MaxAPI.framework and
>>> MaxAudioAPI.framework to /Library/Frameworks
>>> Of course if I delete them, the error is still the same.
>>>
>>> So my problem is, why the linker cannot see the frameworks?
>>> ...so frustrating...
>>>
>>> Stefano
>>>
>>>
>>> On 06/06/14 20:12, Cárthach Ó Nuanáin wrote:
>>>> Yep,
>>>>
>>>> It builds no problem, tried it with the Max 5 sdk. Don't forget
>>>> to run the build.sh twice after you've updated the config.
>>>>
>>>> C
>>>>
>>>>
>>>> On 6 June 2014 19:01, Stefano Papetti <stefano.papetti at zhdk.ch
>>>> <mailto:stefano.papetti at zhdk.ch>> wrote:
>>>>
>>>> Dear list people,
>>>>
>>>> can anybody help me with this issue? Anybody tested
>>>> building flext on Mavericks from the command line?
>>>> I cannot seem to find a solution...
>>>>
>>>> Best,
>>>> Stefano
>>>>
>>>>
>>>> On 04/06/14 11:27, Stefano Papetti wrote:
>>>>
>>>> Dear Thomas,
>>>>
>>>> I had to upgrade to Mavericks and found that flext
>>>> doesn't build anymore. I get the error
>>>> ld: framework not found MaxAPI
>>>> when compiling the shared version of flext.
>>>> I copied the frameworks as usual in /Library/Frameworks
>>>> and I tested with both Max SDK 5.1.7 and 6.1.4.
>>>> Any hints?
>>>>
>>>> Best,
>>>> Stefano
>>>> _______________________________________________
>>>> http://grrrr.org/ext/flext
>>>>
>>>> flext mailing list
>>>> flext at grrrr.org <mailto:flext at grrrr.org>
>>>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>>>>
>>>>
>>>> _______________________________________________
>>>> http://grrrr.org/ext/flext
>>>>
>>>> flext mailing list
>>>> flext at grrrr.org <mailto:flext at grrrr.org>
>>>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>>>>
>>>>
>>>
>>>
>>
>> _______________________________________________
>> 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/20140610/ece5ccec/attachment-0001.html>
More information about the flext
mailing list