<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Damien's Mind - Latest Comments in Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damiensmind.disqus.com/</link><description></description><atom:link href="https://damiensmind.disqus.com/setting_up_mgtwitterengine_with_yajl_106_for_iphone_development/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 16 Oct 2011 04:37:35 -0000</lastBuildDate><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-335908733</link><description>&lt;p&gt;In your build target, you need to exclude all the files whose names contain "YAJL".If you're using Xcode 4, this should be accessible in your target's Build Phases, under "Compile Sources".&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Walid</dc:creator><pubDate>Sun, 16 Oct 2011 04:37:35 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-169983319</link><description>&lt;p&gt;Nathan, did you end up solving this issue?  I have exactly the same problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johnny Rambo</dc:creator><pubDate>Wed, 23 Mar 2011 02:54:22 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-140885829</link><description>&lt;p&gt;What you should probably do is ./configure &amp;amp;&amp;amp; sudo make install&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adamgf</dc:creator><pubDate>Fri, 04 Feb 2011 17:59:10 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-127910045</link><description>&lt;p&gt;Pure win. Thank you so much!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Grateful</dc:creator><pubDate>Tue, 11 Jan 2011 20:56:13 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-94241193</link><description>&lt;p&gt;I've read below people are getting errors when running sudo ./configure &amp;amp;&amp;amp; make install&lt;/p&gt;&lt;p&gt;This may cause issues so try this instead: sudo ./configure &amp;amp;&amp;amp; sudo make install&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thinksecret</dc:creator><pubDate>Fri, 05 Nov 2010 14:08:39 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-81891042</link><description>&lt;p&gt;Hey Damien - I've been working through issue after issue with MGTwitter and then stumbled across your blog.  Great post and it got me from 23 errors (which I had already got down from 163) to 5.  However, after implementing the hack in your final step, it throws the final set of errors pasted below - they all seem to reference the same initWithJSON method.&lt;/p&gt;&lt;p&gt;1) _yajl_alloc referenced from...&lt;br&gt;2) _yajl_free_error referenced from...&lt;br&gt;3) _yajl_parse referenced from...&lt;br&gt;4) _yajl_get_error referenced from...&lt;br&gt;5) _yajl_free referenced from...&lt;/p&gt;&lt;p&gt;...initWithJSON:theJSON delegate:theDelegate &lt;br&gt;    connectionIdentifier:theIdentifier requestType:reqType &lt;br&gt;    responseType:theURL&lt;br&gt;    deliveryOptions:theDeliveryOptions&lt;/p&gt;&lt;p&gt;located in MGTwitterYAJLParser.m&lt;/p&gt;&lt;p&gt;Any help would be REALLY appreciated!!&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nathan H Jones</dc:creator><pubDate>Wed, 29 Sep 2010 00:55:44 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-67866548</link><description>&lt;p&gt;Its great ......&lt;br&gt;i like it &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mailtosubrat</dc:creator><pubDate>Wed, 11 Aug 2010 08:06:18 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-45780130</link><description>&lt;p&gt;I had following errors&lt;br&gt;".obj_class_name_MGTwitterMessagesYAJLParser", referenced from literal-point@_OBJC@__cls_refs@MGTwitterMessagesYAJLParse in MGTwitterEngine.o&lt;/p&gt;&lt;p&gt;I add already the libYAJLIPhone.a static lib to Frameworks.&lt;/p&gt;&lt;p&gt;What's wrong??&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">threadpool</dc:creator><pubDate>Wed, 21 Apr 2010 01:49:29 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-45119838</link><description>&lt;p&gt;Thank you so much ! &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gonzo Oin</dc:creator><pubDate>Fri, 16 Apr 2010 05:27:09 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-43474870</link><description>&lt;p&gt;HI Guys&lt;br&gt;      i have set header search path and i see files are there in /usr/local/include/yajl but still it give error yajl/yajl_parser.h no file or directory found.&lt;br&gt;i have changed it to just yajl_parser.h but no success. can any body help what i am still missing. &lt;br&gt;Regards&lt;br&gt;kanyal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kanyal</dc:creator><pubDate>Tue, 06 Apr 2010 08:17:36 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-40563280</link><description>&lt;p&gt;ok. i hated you at first for suggesting I through with all of this but now I love you because it works. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sean808080</dc:creator><pubDate>Fri, 19 Mar 2010 12:55:56 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-35212164</link><description>&lt;p&gt;Thank you so so so so so so so so * 100 You saved my brain! :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JeDongHyun</dc:creator><pubDate>Thu, 18 Feb 2010 22:16:33 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-28778800</link><description>&lt;p&gt;Adding /usr/local/include/yajl to the “Header Search Paths” property didn't work for me. Compiling still gave the error 'yajl/yajl_parse.h: No such file or directory'.&lt;/p&gt;&lt;p&gt;My solution to the failed yajl header include was the following:&lt;/p&gt;&lt;p&gt;Instead of adding /usr/local/include/yajl to Xcode's "Header Search Paths" property, I just added /usr/local/include&lt;br&gt;BINGO.. problem solved.&lt;/p&gt;&lt;p&gt;shawn&lt;/p&gt;&lt;p&gt;p.s. My compile was failing with the message 'yajl/yajl_parse.h: No such file or directory' and yet /usr/local/yajl/yajl_parse.h WAS present (and readable) and the Header Search Path *did* specify /usr/local/include/yajl.&lt;/p&gt;&lt;p&gt;When I ran 'sudo dtrace -s /dev/stdin | grep yajl'&lt;br&gt;and then typed:&lt;/p&gt;&lt;p&gt;syscall::open*:entry&lt;br&gt;{&lt;br&gt;   printf("%s %s", execname, copyinstr(arg0));&lt;br&gt;}&lt;/p&gt;&lt;p&gt;followed by Enter &lt;br&gt;followed by Control-D&lt;br&gt;followed by recompiling in Xcode... (oof!)&lt;/p&gt;&lt;p&gt;I saw that Xcode was trying to open /usr/local/include/yajl/yajl/yajl_parse.h.&lt;br&gt;So I just removed the extra yajl in the "Header Search Path".&lt;/p&gt;&lt;p&gt;BUT SURELY THIS SHOULDN'T BE NECESSARY`?!&lt;br&gt;CAN ANYONE COMMENT?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shawn KOPPENHOEFER - MacAdmin</dc:creator><pubDate>Thu, 07 Jan 2010 10:04:37 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-24865063</link><description>&lt;p&gt;Thanks so much for this article. After going through it and, I'll admit, encountering a whole lot of errors, mostly as a result of my unfamiliarity with Obj-C, JSON, XML and the SDK, it finally works!&lt;/p&gt;&lt;p&gt;In my case, I had to put in "/usr/local/include/" (without the 'yajl' sub-directory) as a Header Search Path to get it to work. Wouldn't see the file otherwise. (This took a while for me to figure out :P)&lt;/p&gt;&lt;p&gt;A tip with adding the libxml2.dylib framework to the project:&lt;br&gt;Instead of using Finder and dragging it in, you can also command-click Resources › Add › Existing Frameworks, and chose libxml2.dylib&lt;/p&gt;&lt;p&gt;I could previously only find "libxml2.2.dylib", and this doesn't seem to work very well.&lt;/p&gt;&lt;p&gt;谢谢给这篇真好的文章！&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Parimal Satyal</dc:creator><pubDate>Sat, 05 Dec 2009 01:21:56 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-24386476</link><description>&lt;p&gt;Thanks for this tip!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dev</dc:creator><pubDate>Mon, 30 Nov 2009 20:57:15 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-17759096</link><description>&lt;p&gt;I've followed your instructions and now when I compile, I get this...&lt;/p&gt;&lt;p&gt;Library not found for -lyajl&lt;/p&gt;&lt;p&gt;Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1&lt;/p&gt;&lt;p&gt;Can't find anything on the Internet to help me out.  I'd really like to use this but it has been an absolute nightmare getting started with it...&lt;/p&gt;&lt;p&gt;Any ideas?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joseph_carney</dc:creator><pubDate>Tue, 29 Sep 2009 01:42:51 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-16073948</link><description>&lt;p&gt;I've followed your suggestions above, but regardless of which search path I add it still won't compile. I still get an error about it can't find "yajl_parse.h" and 28 other dependant errors. Questions: I'm new to Mac so exactly where is /user/local/ on my drive? When I Go To Folder in the finder it says that folder doesn't exist. Do I need to add the yajl files any place physically, or just add the framework via the .a file? Do I need to add the class files in that folder to my classes? Many thanks in advance!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">intomo</dc:creator><pubDate>Sun, 06 Sep 2009 16:55:42 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-15242421</link><description>&lt;p&gt;instead of doing:&lt;/p&gt;&lt;p&gt;sudo ./configure &amp;amp;&amp;amp; make install&lt;/p&gt;&lt;p&gt;break it up into two commands:&lt;/p&gt;&lt;p&gt;sudo ./configure&lt;br&gt;sudo make install&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mowglii</dc:creator><pubDate>Sat, 22 Aug 2009 17:21:36 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-14602594</link><description>&lt;p&gt;I decided to do what gabriel did on yajl-objc, which is by including all of the yajl source code in the project, instead relying on that static library, because I also need this for iPhone OS 2.x.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guest</dc:creator><pubDate>Mon, 10 Aug 2009 19:05:14 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-14435145</link><description>&lt;p&gt;Thanks you so so much. I've tested this and it works perfectly. I just had to change the header search path for the libxml2 to include a final '/'. Fantastic, you have no idea how long this has been doing my nut in for.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Morgan</dc:creator><pubDate>Fri, 07 Aug 2009 11:50:50 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-13956310</link><description>&lt;p&gt;See &lt;a href="http://files.getdropbox.com/u/235508/iPhone/MGTwitterTemp.zip" rel="nofollow noopener" target="_blank" title="http://files.getdropbox.com/u/235508/iPhone/MGTwitterTemp.zip"&gt;http://files.getdropbox.com...&lt;/a&gt; but note that (a) this is from a stripped down copy of my app and (b) it may not be at this location long.  Also you'll still need the include files (usr/local/include) etc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thnk2wn</dc:creator><pubDate>Tue, 04 Aug 2009 22:38:25 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-13836186</link><description>&lt;p&gt;Thnk2wn. Would you be as kind to upload an example of the proj? I've been struggling with this for soo long now and I'm still getting 44 errors&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Morgan</dc:creator><pubDate>Mon, 03 Aug 2009 10:53:41 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-13834357</link><description>&lt;p&gt;In the end that part didn't end up mattering in my case.  I didn't see his update regarding the compiled YAJL static library for iPhone and libYAJLIPhone.a.  I was able to just use that and copy the YAJL header files to the include directories and set the project search paths.  I haven't tested out the code but I have it compiling now.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thnk2wn</dc:creator><pubDate>Mon, 03 Aug 2009 09:55:58 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-13834184</link><description>&lt;p&gt;No :-( I also set the permissions and I still cant sudo the files into them. I'm gonna try and manually copy the files from the YAJL folder into the respective usr folders. Will let you know how I get on.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Morgan</dc:creator><pubDate>Mon, 03 Aug 2009 09:49:28 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-13819452</link><description>&lt;p&gt;Did you get around this problem?  I've tried changing the folder permissions of yajl/build/src/CMakeFiles/yajl.dir but somehow it keeps getting set back to readonly.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thnk2wn</dc:creator><pubDate>Sun, 02 Aug 2009 19:04:48 -0000</pubDate></item></channel></rss>