REBUILD THE STUFF 1660

Home Forums General Programming REBUILD THE STUFF 1660

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #19976
    kamder
    Participant
      • Topics: 9
      • Replies: 13
      • Total: 22
      • β˜…

      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
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • β˜…β˜…β˜…β˜…β˜…

        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
        Participant
          • Topics: 9
          • Replies: 13
          • Total: 22
          • β˜…

          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 10 years, 1 month ago by kamder.
          #19982
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • β˜…β˜…β˜…β˜…β˜…

            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
            Participant
              • Topics: 9
              • Replies: 13
              • Total: 22
              • β˜…

              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
              Keymaster
                • Topics: 159
                • Replies: 2945
                • Total: 3104
                • β˜…β˜…β˜…β˜…β˜…

                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
                Keymaster
                  • Topics: 159
                  • Replies: 2945
                  • Total: 3104
                  • β˜…β˜…β˜…β˜…β˜…

                  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 10 years, 1 month ago by atom.
                  #20570
                  kamder
                  Participant
                    • Topics: 9
                    • Replies: 13
                    • Total: 22
                    • β˜…

                    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 10 years, 1 month ago by kamder.
                    • This reply was modified 10 years, 1 month ago by kamder.
                    #20594
                    kamder
                    Participant
                      • Topics: 9
                      • Replies: 13
                      • Total: 22
                      • β˜…

                      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 10 years, 1 month ago by kamder.
                      #20598
                      atom
                      Keymaster
                        • Topics: 159
                        • Replies: 2945
                        • Total: 3104
                        • β˜…β˜…β˜…β˜…β˜…

                        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
                        Participant
                          • Topics: 9
                          • Replies: 13
                          • Total: 22
                          • β˜…

                          OK NICE ! the mistake is from you !!!! grrrrrrrr πŸ™‚

                          tell me when you update the project !

                          thanks!

                          #20654
                          atom
                          Keymaster
                            • Topics: 159
                            • Replies: 2945
                            • Total: 3104
                            • β˜…β˜…β˜…β˜…β˜…

                            Should be fixed now.

                            #20676
                            kamder
                            Participant
                              • Topics: 9
                              • Replies: 13
                              • Total: 22
                              • β˜…

                              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)
                            • The forum ‘Programming’ is closed to new topics and replies.
                            There is currently 0 users and 76 guests online
                            No users are currently active
                            Forum Statistics
                            Threads: 2,495, Posts: 17,374, Members: 77,605
                            Most users ever online was 12 on January 22, 2019 3:47 pm
                            Ctrlr