<div dir="ltr">Hey Aashish,<div><br></div><div style>I turned on the VES_USE_CURL and VES_USE_LIBARCHIVE options and now everything works fine. Thanks a ton.</div><div style><br></div><div style>Regards,</div><div style>Deepak</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 11:37 AM, Deepak Surti <span dir="ltr"><<a href="mailto:dmsurti@gmail.com" target="_blank">dmsurti@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the pointers. My CMakeCache.txt is attached. I think you mean to say VES_USE_CURL. Grep for LIBCURL does not return anything. Well, the two options you mention as per the cache are OFF. I will try turning them on and see.<div>
<br></div><div>Is cmake <path> -Doption=<ON/OFF> the right way to override or should I go ahead and change it in ves-superbuild.cmake. The latter doesn't seem right as it is like hardcoding stuff. Asking this I am not much conversant with cmake?</div>
<div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>Deepak</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Oct 7, 2013 at 8:58 AM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can you send us your CMakeCache.txt. Also, make sure that <span style="font-family:arial,sans-serif;font-size:13px">VES_USE_LIBARCHIVE and </span><span style="font-family:arial,sans-serif;font-size:13px">VES_USE_LIBCURL is set to ON. </span><div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sat, Oct 5, 2013 at 12:28 PM, Deepak Surti <span dir="ltr"><<a href="mailto:dmsurti@gmail.com" target="_blank">dmsurti@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>I cloned VES.git and built the vtk and kiwi frameworks as per the steps listed in VES/Apps/iOS/Readme.txt for iOS.</div>
<div><br></div><div><div>I am on iOS SDK 7 but I also have iOS SDK 6.1 installed by following the steps listed here (<a href="http://stackoverflow.com/questions/6783308/adding-older-ios-sdks-to-xcode-4-1-in-lion" target="_blank">http://stackoverflow.com/questions/6783308/adding-older-ios-sdks-to-xcode-4-1-in-lion</a>) on Mountain Lion 10.8.5. </div>
<div><br></div><div>I cannot build the frameworks for iOS 7 as the toolchain make files do not have iOS SDK 7 entries but even then I was not able to build. Hence I installed iOS SDK 6 in addition the 7.</div></div><div>
<br>
</div><div>KiwiSimple project works fine. But for KiwiViewer project I get the following error trace. In KiwiViewer project I have set the base sdk to 6.1, but even that did not help. Also I have ensured that the frameworks_dir build setting points to the right location. The error trace is:</div>
<div><br></div><div><p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo">ld: warning: ignoring file /Users/deepaksurti/ves-build/CMakeExternals/Install/frameworks/pcl.framework/pcl, missing required architecture i386 in file /Users/deepaksurti/ves-build/CMakeExternals/Install/frameworks/pcl.framework/pcl (1 slices)</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo">Undefined symbols for architecture i386:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::renewToken()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::folderNames()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::itemDownloadUrl(std::string const&)", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::listCommunities()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::listUserFolders()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::listFolderChildren(std::string const&)", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::listCommunityChildren(std::string const&)", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::login(std::string const&, std::string const&)", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> ___43-[MidasLoginViewController onLoginTouched:]_block_invoke in MidasLoginViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::reset()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController onMidasLogout] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[MidasLoginViewController onLoginTouched:] in MidasLoginViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::itemIds()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::setHost(std::string const&)", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController viewDidLoad] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController onMidasLogout] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[MidasLoginViewController onLoginTouched:] in MidasLoginViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::folderIds()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::itemBytes()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::itemNames()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::vesMidasClient()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController viewDidLoad] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::~vesMidasClient()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> std::tr1::_Sp_deleter<vesMidasClient>::operator()(vesMidasClient*) const in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesKiwiCurlDownloader::downloadUrlToDirectory(std::string const&, std::string const&)", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> ___61-[DocumentsTableViewController handleItemSelected:indexPath:]_block_invoke in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in DownloadURLViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesKiwiCurlDownloader::vesKiwiCurlDownloader()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in DownloadURLViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesKiwiCurlDownloader::~vesKiwiCurlDownloader()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> std::tr1::_Sp_deleter<vesKiwiCurlDownloader>::operator()(vesKiwiCurlDownloader*) const in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in DownloadURLViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesKiwiPVRemoteRepresentation::requestScene()", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> kiwiCloudApp::onAction(std::string const&) in MyGLKViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> "vesMidasClient::token() const", referenced from:</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController maybeAddLogoutButton] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController tableView:numberOfRowsInSection:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController tableView:cellForRowAtIndexPath:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController onSegueReturned:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> -[DocumentsTableViewController tableView:didSelectRowAtIndexPath:] in DocumentsTableViewController.o</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo"> ...</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo">ld: symbol(s) not found for architecture i386</p>
<p style="margin:0px 0px 0px 12px;font-size:11px;font-family:Menlo">clang: error: linker command failed with exit code 1 (use -v to see invocation)</p><div><br></div><div>Any pointers in helping me fix this so that I can run KiwiViewer on simulator and iPad will be of great help.<br>
</div><div><br></div><div>Let me know for any info needed.</div><div><br></div><div>Regards,</div><div>Deepak</div><span><font color="#888888"><div><br></div>-- <br><a href="http://deepaksurti.com" target="_blank">http://deepaksurti.com</a><br>
To see a miracle, be the miracle.
</font></span></div></div>
<br></div></div>_______________________________________________<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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://deepaksurti.com" target="_blank">http://deepaksurti.com</a><br>To see a miracle, be the miracle.
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://deepaksurti.com" target="_blank">http://deepaksurti.com</a><br>To see a miracle, be the miracle.
</div>