{"id":6209,"date":"2012-03-07T09:07:36","date_gmt":"2012-03-07T00:07:36","guid":{"rendered":"http:\/\/akamatsu.org\/aka\/?p=6209"},"modified":"2012-03-07T22:29:29","modified_gmt":"2012-03-07T13:29:29","slug":"isupercollider-build","status":"publish","type":"post","link":"http:\/\/akamatsu.org\/aka\/2012\/03\/isupercollider-build\/","title":{"rendered":"iSuperCollider\u306e\u30d3\u30eb\u30c9\u65b9\u6cd5"},"content":{"rendered":"<p>\u5148\u65e5\u306e\u30ef\u30fc\u30af\u30b7\u30e7\u30c3\u30d7\u3067iOS\u7528\u306eSuperCollider\u3092\u7d39\u4ecb\u3057\u305f\u3053\u3068\u3067\u3001\u305d\u306e\u5165\u624b\u65b9\u6cd5\u306e\u554f\u3044\u5408\u308f\u305b\u304c\u4f55\u5ea6\u304b\u3042\u3063\u305f\u306e\u3067\u3001\u30d3\u30eb\u30c9\u65b9\u6cd5\u306e\u30e1\u30e2\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u306f2012\u5e743\u67087\u65e5\u6642\u70b9\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3067\u306e\u4f5c\u696d\u65b9\u6cd5\u3067\u3059\u3002\u305d\u306e\u5f8c\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u5909\u66f4\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u304b\u3089\u3001\u540c\u3058\u3088\u3046\u306b\u4f5c\u696d\u3057\u3066\u3082\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3068\u306f\u9650\u3089\u306a\u3044\u3067\u3059\u3002\u5f93\u3063\u3066\u3001\u8cea\u554f\u3055\u308c\u3066\u3082\u304a\u7b54\u3048\u3067\u304d\u306a\u3044\u3063\u3066\u3053\u3068\u3067\u3054\u4e86\u627f\u9858\u3044\u307e\u3059\u3002<\/p>\n<p><strong>How to build SuperCollider for iOS (March 7th, 2012)<\/strong><\/p>\n<p>Don&#8217;t ask me any questions \ud83d\ude09<\/p>\n<p><strong>Getting source codes<\/strong><\/p>\n<p>(1) Open Terminal<\/p>\n<pre>\r\ngit clone git:\/\/supercollider.git.sourceforge.net\/gitroot\/supercollider\/supercollider isc\r\ncd isc\r\ngit checkout 3.5\r\ngit submodule init && git submodule update\r\n<\/pre>\n<p><strong>Building SuperCollider.app (Language)<\/strong><\/p>\n<p>(1) Open isc\/platform\/iphone\/iPhone_Language.xcodeproj<\/p>\n<p>(2) Set Scheme to &#8216;SuperCollider > iOS Device&#8217;<\/p>\n<p>(3) Set Build Configuration to &#8216;Release&#8217;<\/p>\n<p>(4) Click iPhone_Language in the navigator area<br \/>\nClick SuperCollider in TARGETS<br \/>\nClick Build Settings<br \/>\nScroll down to Search Paths and open Header Search Paths<br \/>\nChange ..\/..\/external_libraries\/yaml-cpp-0.2.6\/include to ..\/..\/external_libraries\/yaml-cpp-0.3.0\/include<\/p>\n<p>(5) Open externals\/yaml group of iPhone_Language in the navigator area<br \/>\nRemove src group<br \/>\nAdd isc\/external_libraries\/yaml-cpp-0.3.0\/src into externals\/yaml group<\/p>\n<p>(6) Click iPhone_Language in the navigator area<br \/>\nClick SuperCollider in TARGETS<br \/>\nClick Build Phases<br \/>\nRemove libsndfile_iphone.a from Link Binary With Libraries<br \/>\nAdd isc\/platform\/iphone\/lib\/ libsndfile_iphone.a to Link Binary With Libraries<\/p>\n<p>(7) Connect your iOS device and run<\/p>\n<p><strong>Building iscsynth.app (Synth)<\/strong><\/p>\n<p>(1) Open isc\/platform\/iphone\/iPhone_Language.xcodeproj<\/p>\n<p>(2) Set Scheme to &#8216;iscsynth > iOS Device&#8217;<\/p>\n<p>(3) Set Build Configuration to &#8216;Release&#8217;<\/p>\n<p>(4) Open Resources group in iPhone_Synth.xcodeproj in the navigator area<br \/>\nClick iscsynth_MainWindow.xib<br \/>\nRemove Dir Browser View Controller from Tab Bar Controller in Objects<\/p>\n<p>(5) Click iPhone_Language in the navigator area<br \/>\nClick iscsynth in TARGETS<br \/>\nClick Build Phases<br \/>\nRemove scUBlibsndfile.a from Link Binary With Libraries<br \/>\nAdd isc\/platform\/iphone\/lib\/ libsndfile_iphone.a to Link Binary With Libraries<\/p>\n<p>(6) Connect your iOS device and run<\/p>\n<p><!--\n\u4ee5\u4e0b\u306f2012\u5e741\u6708\u672b\u9803\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3067\u306e\u4f5c\u696d\u65b9\u6cd5\u3067\u3059\u3002\n\n(1) Open Terminal\n\n\n\n<pre>git clone git:\/\/supercollider.git.sourceforge.net\/gitroot\/supercollider\/supercollider isc\r\n\r\ncd isc\r\n\r\ngit checkout 3.5\r\n\r\ngit submodule init && git submodule update\r\n\r\nmkdir platform\/iphone\/iPhone\\ Resources\/synthdefs<\/pre>\n\n\n\n(2) Open the file isc\/platform\/iphone\/iPhone_Synth.xcodeproj\n\n(3) In project navigator on the left hand side... \nExpand and find include\/plugin_interface\/SC_WorldOptions.h.\nUpdate the missing file. It should point to isc\/include\/server\/SC_WorldOptions.h\n\n(4) In project navigator on the left hand side... \nDouble click iPhone_Synth and select Targets -> libscsynth -> Build Settings tab.\nEdit 'Library Search Paths' and change \"$(SYSTEM_APPS_DIR)\/SC3\/git\/platform\/mac\/lib\" to \"..\/mac\/lib\" and \"$(SYSTEM_APPS_DIR)\/SC3\/git\/platform\/iphone\/lib\" to \"lib\".\n\n(5) Add \"libsndfile_iphone.a\" in \"lib\" folder to Linked Frameworks and Libraries of \"iscsynth\" target.\n\n(6) Remove SuperCollider_FileTransfer.xib from iPhone_Synth.xcodeproj\n\n(7) Remove Dir Browser View Controller - Browser from iscsynth_MainWindow.xib\n\n(8) <a href=\"http:\/\/akamatsu.org\/aka\/wp-content\/uploads\/2012\/03\/isc-extras.zip\">Download exFile.sc and exServer.sc<\/a> and put them into isc\/SCClassLibrary\/Platform\/iPhone\/\n\n(9) Open the file isc\/platform\/iphone\/iPhone_Language.xcodeproj\n\n(10) Do the same with the missing SC_WorldOptions.h in include\/plugin_interface.\nPoint it to isc\/include\/server\/SC_WorldOptions.h\n\n(11) In project navigator on the left hand side...\nClick iPhone_Language and select Targets -> SuperCollider -> Summary tab.\nScroll down to 'Linked Frameworks and Libraries\" and remove 'libsndfile_iphone.a' by selecting it and clicking the minus sign.\nThen click the plus sign and 'Add Other...'.  browse to isc\/platform\/mac\/lib\/scUBlibsndfile.a.\n\n(12) Set active scheme in the upper left corner to \"SuperCollider > iOS Device\"\n\n(13) Choose \"Edit Scheme...\" and set build configuration to \"Release\" for \"Run SuperCollider.app\"\n\n(14) Connect your iOS Device and Run\n\n(15) Set active scheme in the upper left corner to \"iscsynth > iOS Device\"\n\n(16) Choose \"Edit Scheme...\" and set build configuration to \"Release\" for \"Run iscsynth.app\"\n\n(17) Connect your iOS Device and Run\n--><br \/>\n\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u306e\u30d3\u30eb\u30c9\u4f5c\u696d\u3067\u306f<a href=\"http:\/\/www.fredrikolofsson.com\/\">Fredrik Olofsson<\/a>\u6c0f\u306b\u30d8\u30eb\u30d7\u3057\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u611f\u8b1d\uff01\uff08\u3067\u3082\u5f7c\u306b\u3082\u8ff7\u60d1\u3092\u304b\u3051\u306a\u3044\u3088\u3046\u306b\u304a\u9858\u3044\u3057\u307e\u3059\u306d\u301c\uff09<\/p>\n<p>\u307e\u305f\u3001\u30ef\u30fc\u30af\u30b7\u30e7\u30c3\u30d7\u3067\u4f7f\u7528\u3057\u305fiSuperCollider\u306f\u3001\u30b9\u30ea\u30fc\u30d7\u3092\u81ea\u52d5\u7981\u6b62\u306b\u3057\u305f\u308a\u3001\u30b9\u30d4\u30fc\u30ab\u30fc\u9078\u629e\u306e\u30b3\u30fc\u30c9\u3092\u4fee\u6b63\u3057\u305f\u308a\u3001\u3068\u3044\u3063\u305f\u5909\u66f4\u3092\u5c11\u3005\u52a0\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3010\u8ffd\u8a18\u3011\u672c\u8a18\u4e8b\u521d\u51fa\u6642\u306b\u306f2012\u5e741\u6708\u672b\u6642\u70b9\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3067\u306e\u30d3\u30eb\u30c9\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3057\u305f\u304c\u30012012\u5e743\u67087\u65e5\u306b\u518d\u5ea6\u624b\u9806\u3092\u691c\u8a3c\u3057\u3066\u8a18\u4e8b\u3092\u66f8\u304d\u63db\u3048\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u306e\u30ef\u30fc\u30af\u30b7\u30e7\u30c3\u30d7\u3067iOS\u7528\u306eSuperCollider\u3092\u7d39\u4ecb\u3057\u305f\u3053\u3068\u3067\u3001\u305d\u306e\u5165\u624b\u65b9\u6cd5\u306e\u554f\u3044\u5408\u308f\u305b\u304c\u4f55\u5ea6\u304b\u3042\u3063\u305f\u306e\u3067\u3001\u30d3\u30eb\u30c9\u65b9\u6cd5\u306e\u30e1\u30e2\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u306f2012\u5e743\u67087\u65e5\u6642\u70b9\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3067\u306e\u4f5c\u696d\u65b9\u6cd5\u3067\u3059\u3002 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,49,44,37],"tags":[],"_links":{"self":[{"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/posts\/6209"}],"collection":[{"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/comments?post=6209"}],"version-history":[{"count":14,"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/posts\/6209\/revisions"}],"predecessor-version":[{"id":6224,"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/posts\/6209\/revisions\/6224"}],"wp:attachment":[{"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/media?parent=6209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/categories?post=6209"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/akamatsu.org\/aka\/wp-json\/wp\/v2\/tags?post=6209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}