Hi Pat,<div><br></div><div> 1) As your instruction, I import the datasets. And I put the folder Sample Data which was download from <a href="https://midas3.kitware.com/midas/folder/9479" target="_blank">https://midas3.kitware.com/midas/folder/9479</a> in the folder project of kiwiviewer. Also I drag the sample data folder into the navigator of xcode kiwiviewer. Then I clean the project and rerun, it crashed again. Does the location of sample data folder have something to do with the running of the kiwiviewer? My adding data way is wrong? It confuse me so much, please tell me the right way.</div><div><br></div><div> 2) Also as your the 2nd instruction I add a return at the very top of the function unpackSampleData, and the simulator soon crashed again. It can not work.</div><div><br></div><div> And with the two methods there are also more than 70 warnnings which I had mentioned in last mail, the crash has some relations with the warnings?</div><div><br></div><div><br></div><div> The building of kiwiviewer has confused me so much, Please help me! THANK YOU VERY MUCH!</div><div><br></div><div>Deng Zhuofu<br><br><br><blockquote name="replyContent" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0">-----原始邮件-----<br>
<b>发件人:</b> "Pat Marion" <pat.marion@kitware.com><br>
<b>发送时间:</b> 2013年3月28日 星期四<br>
<b>收件人:</b> "邓卓夫" <dengzf@swc.neu.edu.cn><br>
<b>抄送:</b> ves@public.kitware.com<br>
<b>主题:</b> Re: Re: [Ves] subject: about build kiwiviewer 2.0 on iOS<br><br>Hi,<br><br>It might be crashing when it tries to copy the bundled sample datasets. In the branch I pushed, I did not include the sample datasets because I don't want to add them to the git repository. You could either download the sample datasets ( <a href="https://midas3.kitware.com/midas/folder/9479" target="_blank">https://midas3.kitware.com/midas/folder/9479</a> ) and add them to your xcode project, or comment out the code in DocumentsTableViewController.m where it unpacks the sample data. Just add a return statement at the very top of the unpackSampleData() function.<br>
<br>Pat<br><br><br><div class="gmail_quote">On Wed, Mar 27, 2013 at 3:06 AM, 邓卓夫 <span dir="ltr"><<a href="mailto:dengzf@swc.neu.edu.cn" target="_blank">dengzf@swc.neu.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">Hi,<div><br></div><div> I will describe the errors in detail.</div><div><br></div><div> 1) as your instructions, I create a new folder named frameworks and put the kiwi, dropbox and pcl frameworks in it.</div>
<div> </div><div> 2) when I rerun the project,it errors that Eigen/Dense not found. So also as your instruction I check the Header Search Paths, and find there are .../kiwi.frameworks/Headers, so WHY? Then I check the kiwi.framework and find that the Eigen as folder exists in the /kiwi.frameworks/Headers. So I guess whether xcode cannot search subfolder in the /kiwi.frameworks/Headers. So I add a new path $(frameworks_dir)/kiwi.framework/Headers/eigen in it and no errors.</div>
<div><br></div><div> 3) Although it works and when I want to run on the simulator but it produce 70 more warnings and Suddenly exit showing FINISHED RUNNING KIWIVIEWER ON IPAD SIMULATOR . For example, the warning is that </div>
<div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px"><span style="font-family:Menlo;font-size:11px;line-height:normal"> UITextAlignmentCenter is deprecated. first deprecated in </span><font face="Menlo"><span style="font-size:11px;line-height:normal">iOS 6.0</span></font></p>
<p style="margin:0px"><font face="Menlo"><span style="font-size:11px;line-height:normal">...............</span></font></p></div><div><br></div><div> <span style="font-family:Menlo;font-size:11px;line-height:normal">ld: warning: ignoring file ../frameworks/pcl.framework/pcl, missing required architecture i386 in file ../frameworks/pcl.framework/pcl (1 slices)</span><p style="margin:0px 0px 0px 12px;font-size:11px;line-height:normal;font-family:Menlo">
ld: warning: direct access in std::tr1::_Sp_counted_base_impl<vesTextureCoordinateVertexAttribute*, std::tr1::_Sp_deleter<vesTextureCoordinateVertexAttribute>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl() to global weak symbol vtable for std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;line-height:normal;font-family:Menlo">ld: warning: direct access in std::tr1::_Sp_counted_base_impl<vesColorVertexAttribute*, std::tr1::_Sp_deleter<vesColorVertexAttribute>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl() to global weak symbol vtable for std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;line-height:normal;font-family:Menlo">ld: warning: direct access in std::tr1::_Sp_counted_base_impl<vesNormalVertexAttribute*, std::tr1::_Sp_deleter<vesNormalVertexAttribute>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl() to global weak symbol vtable for std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;line-height:normal;font-family:Menlo">ld: warning: direct access in std::tr1::_Sp_counted_base_impl<vesNormalVertexAttribute*, std::tr1::_Sp_deleter<vesNormalVertexAttribute>, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl() to global weak symbol vtable for std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;line-height:normal;font-family:Menlo">...............</p> ..........<br> Finally it suspended. But I do not know why?</div><div><br></div><div>4) Finally I guess maybe the simulator is just a process in the os and it may not support the test very well. SO I intend to test on the iPad. When the app start it suddenly suspend also. And in the xcode an exception is thrown out in the DocumentsTableViewController.m and the located line is :</div>
<div><br></div><div> <span style="font-family:Menlo;font-size:11px;line-height:normal"> </span><span style="font-family:Menlo;font-size:11px;line-height:normal;color:rgb(187,44,162)">if</span><span style="font-family:Menlo;font-size:11px;line-height:normal"> ([[</span><span style="font-family:Menlo;font-size:11px;line-height:normal;color:rgb(112,61,170)">NSFileManager</span><span style="font-family:Menlo;font-size:11px;line-height:normal"> </span><span style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">defaultManager</span><span style="font-family:Menlo;font-size:11px;line-height:normal">] </span><span style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">copyItemAtPath</span><span style="font-family:Menlo;font-size:11px;line-height:normal">:srcFile </span><span style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">toPath</span><span style="font-family:Menlo;font-size:11px;line-height:normal">:destFile </span><span style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">error</span><span style="font-family:Menlo;font-size:11px;line-height:normal">:</span><span style="font-family:Menlo;font-size:11px;line-height:normal;color:rgb(187,44,162)">nil</span><span style="font-family:Menlo;font-size:11px;line-height:normal">]) {</span></div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> <span style="color:rgb(187,44,162)">return</span> destFile;</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> }</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px">Above all, Please help me resolve these problems. Whether my configuration for the kiwiviewer has some mistakes leads to the problems. What is the right way? </p>
<p style="margin:0px"><br></p><p style="margin:0px">Thank you very much!</p><p style="margin:0px"><br></p><p style="margin:0px">Deng Zhuofu</p><p style="margin:0px"> kiwi fan</p><div></div><br><br></div></div><blockquote name="replyContent" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0">
<div><div class="h5">-----原始邮件-----<br>
<b>发件人:</b> "Pat Marion" <<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>><br>
<b>发送时间:</b> 2013年3月26日 星期二<br>
<b>收件人:</b> "邓卓夫" <<a href="mailto:dengzf@swc.neu.edu.cn" target="_blank">dengzf@swc.neu.edu.cn</a>><br>
<b>抄送:</b> <a href="mailto:ves@public.kitware.com" target="_blank">ves@public.kitware.com</a><br>
<b>主题:</b> Re: [Ves] subject: about build kiwiviewer 2.0 on iOS<br><br></div></div><div><div class="h5">You still need to provide more information before we can help you.<br><br>Where did you put the frameworks? You should create a directory in Apps/iOS called frameworks and put them in there.<br>
<br>Please check that the headers are actually found in the kiwi.framework/Headers directory (they should be).<br>
<br>In Xcode, go to build settings and look at the settings for Header Search Paths. You should see: "../frameworks/kiwi.framework/Headers". Verify the headers are there.<br><br><br>Pat<br><br><div class="gmail_quote">
On Tue, Mar 26, 2013 at 1:25 AM, 邓卓夫 <span dir="ltr"><<a href="mailto:dengzf@swc.neu.edu.cn" target="_blank">dengzf@swc.neu.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello developers,<div><br></div><div> There is a problem which puzzles me a week, Please help me!</div><div><br></div><div> A week ago, I posted my question that How to build the kiwiviewer 2.0 on iOS. Experts has replied me but I did not succeed. As the instruction, I download the dropbox.framework and import them into the project. I also download pcl.framework and kiwi.framework from the <a href="http://packages.kitware.com" target="_blank">packages.kitware.com</a> and also import them.</div>
<div> So next step, through the adding files the project I import these 3 frameworks. But There are always errors that for examples the vesMidasClient.h and some others .h file can not found. So I want to know why it produce so many errors? Is the way I add framework wrong? Please tell me the right way how to build kiwiviewer 2.0 on ios in details.</div>
<div><br></div><div> Thank you very much really!</div><div><br></div><div>Deng </div><div><br></div><div>a fan for k
iwiviewer </div><br><br><br><br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br>
</div></div></blockquote><br><br><br></blockquote></div><br>
</blockquote></div><br><br><br>