Home › Forums › General › Programming › REBUILD THE STUFF 1660
- This topic has 12 replies, 2 voices, and was last updated 10 years, 1 month ago by kamder.
-
AuthorPosts
-
February 26, 2014 at 10:42 pm #19976
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)
February 26, 2014 at 10:52 pm #19977It’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.
February 26, 2014 at 11:10 pm #19979thanks 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.
February 26, 2014 at 11:24 pm #19982I 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.
February 26, 2014 at 11:36 pm #19983thank 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 !February 26, 2014 at 11:56 pm #19985Yeah 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.
February 27, 2014 at 8:37 pm #20035I 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.
March 12, 2014 at 10:47 am #20570hello ATOM , I HAVE PATCHED THE CORE AUDIO FOLDER ACCORDING TO JUCE THREAD AND HAVE DONE ALL THE STEPS …….
the wrapper build fineat 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 !
March 12, 2014 at 10:23 pm #20594I 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 filesBIG THANKS FOR YOUR HELP AND SUPPORT !
KAMDER PRODΒ°.
- This reply was modified 10 years, 1 month ago by kamder.
March 12, 2014 at 11:04 pm #20598I 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.
March 13, 2014 at 10:08 am #20634OK NICE ! the mistake is from you !!!! grrrrrrrr π
tell me when you update the project !
thanks!
March 13, 2014 at 11:10 pm #20654Should be fixed now.
March 14, 2014 at 10:28 am #20676HELLO , 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.xcodeprojbut 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.
-
AuthorPosts
- The forum ‘Programming’ is closed to new topics and replies.