Home Forums General Programming REBUILD THE STUFF 1660

This topic contains 12 replies, has 2 voices, and was last updated by kamder kamder 3 years, 2 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #19976
    kamder
    kamder
    Participant

    hello ATOM ! i attempt to rebuild the AUDIO UNIT XCODE PROJ ctrl ( nightly build ) in xcode 4.6.2 on 10.7.4 lion
    (my latest build is from the 1440 release and it’s OK no errors with the AUplugin nightly )
    but for your last release i have this error in XCODE when start linking binaries : ld: library not found for -lau_wrapper
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    lauwrapper ? wath that ? how i can fix it , because i have a lot off fixes for you and if i cannot build the audiounit plugin for test the fixes i cannot share the fixes with you 🙂 …..THANKS TO ATOM

    (the standalone version 1660 build OK)

    #19977
    atom
    atom
    Moderator

    It’s a trick i used to get the AU build to work at all. I added a special project: https://github.com/RomanKubiak/ctrlr/tree/master/Builds/AU/Wrapper

    you need to build it first, it generates a static library that you need to copy somewhere (i use /usr/local/lib or /usr/lib so that the linker sees it) and the Ctrlr_AU project links to that. I had to do that, otherwise there are issues when building with precompiled headers (JUCE has problems with that). But that trick works.

    #19979
    kamder
    kamder
    Participant

    thanks for the infos , but i have some difficult for me to build this with the jucer file , if you can give me the library compiled directly , it can be good for me , if you cannot do that , i have to test compile this later

    thank you

    • This reply was modified 3 years, 2 months ago by kamder kamder.
    #19982
    atom
    atom
    Moderator

    I can send the library but it might not work for you, it depend on the OS version. I’ll commit the xcodeproj file to the repo (i see it’s missing) it will simplify the building.

    #19983
    kamder
    kamder
    Participant

    thank you but i cannot see the XCODE PROJ FILE in the reposit , if you have the link it’s can be good for me (and you 🙂 )
    thank you for your help !

    #19985
    atom
    atom
    Moderator

    Yeah i know like i said i’ll upload it to the repo soon (tomorrow i hope) i’ll post a reply once it’s there.

    #20035
    atom
    atom
    Moderator

    I updated the XCode projects for the wrapper and the AU version, it builds fine and i got it to run/launch in a host.

    To get the AU SDK i follow this guide http://www.juce.com/forum/topic/aus-xcode

    You might need to fix Apple’s errors in their AU SDK (there are 2 issues where you need to do static_cast to long and float)

    The Wrapper project assumes it has write permissions to /usr/local/lib, either make it writable by your user or change that path in the post-build script.

    • This reply was modified 3 years, 2 months ago by atom atom.
    #20570
    kamder
    kamder
    Participant

    hello ATOM , I HAVE PATCHED THE CORE AUDIO FOLDER ACCORDING TO JUCE THREAD AND HAVE DONE ALL THE STEPS …….
    the wrapper build fine

    at the second PHASE when i attempt to compile THE AU PROJECT (with the apple compiler default)

    i have this errors in the LINKING PHASE (the compilation is OK on xcode 4.6.2 / lion 10.7.4 ) :

    Undefined symbols for architecture i386:
    “LThreadWithProgressWindow::wrapForLua(lua_State*)”, referenced from:
    CtrlrLuaManager::wrapJuceClasses(lua_State*) in CtrlrWrap.o
    “LThread::wrapForLua(lua_State*)”, referenced from:
    CtrlrLuaManager::wrapJuceClasses(lua_State*) in CtrlrWrap.o
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    some missing frameworks ? any help are welcome ! thank you !

    • This reply was modified 3 years, 2 months ago by kamder kamder.
    • This reply was modified 3 years, 2 months ago by kamder kamder.
    #20594
    kamder
    kamder
    Participant

    I HAVE FINALLY SUCCESS BUILD WHEN I COMMENT THESE LINES IN CtrlrWRap.cpp at lines 113 and 114 :

    //LThread::wrapForLua(L);
    //LThreadWithProgressWindow::wrapForLua(L);

    i do not find the solution about the linking error , but it work fine in this way for the moment , i think the progress bar is now disabled in the AU version off “my ctrlr”

    tell me if you want the fixes for : linear vertical bar in ctrlr , and the big fix : automation writing (parameters gestures ) in logic pro
    this fixes modify /add some code in juce and ctrlr files

    BIG THANKS FOR YOUR HELP AND SUPPORT !

    KAMDER PROD°.

    • This reply was modified 3 years, 2 months ago by kamder kamder.
    #20598
    atom
    atom
    Moderator

    I think this might be because i didn’t add the Threading files to the Xcode project, if you add them and uncomment those lines it should be built, i added those files a week ago or so and forgot to commit the changes to XCode projects, thanks for the report i’ll fix that.

    #20634
    kamder
    kamder
    Participant

    OK NICE ! the mistake is from you !!!! grrrrrrrr 🙂

    tell me when you update the project !

    thanks!

    #20654
    atom
    atom
    Moderator

    Should be fixed now.

    #20676
    kamder
    kamder
    Participant

    HELLO , i have updated this files in the AU project :

    – nightly1660/Builds/AU/JuceLibraryCode/BinaryData.cpp
    – nightly1660/Builds/AU/JuceLibraryCode/BinaryData.h
    – nightly1660/Builds/Generated/Mac/AU/Ctrlr_Plugin_AU.xcodeproj

    but the same linking errors occurs if i uncomment the lines in CtrlrWRap.cpp at lines 113 and 114 :
    //LThread::wrapForLua(L);
    //LThreadWithProgressWindow::wrapForLua(L);

    , i am not a GIT expert , tell me if i forgot to update some file(s) ……

    THANKS.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

Comments are closed.