<div dir="ltr">To build KiwiViewer you need to configure VES_USE_LIBARCHIVE and VES_USE_LIBCURL to ON. You may be better off using ccmake to configure rather than cmake so you can see the configuration options.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Sep 30, 2013 at 10:12 PM, 高宇 <span dir="ltr"><<a href="mailto:fightrain@126.com" target="_blank">fightrain@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial"><div style="line-height:1.7;font-size:14px;font-family:arial">Dear Aashish:<br> What's MIDAS support? I just have tried modify the two variables VES_USE_CURL and VES_USE_LIBARCHIVE in the ves-superbuild.cmake file ON. But I can't compile the VES successfully.<br>
Some days ago I use the command 'git clone <a href="http://XXXXXXX" target="_blank">http://XXXXXXX</a>(download url)' download the ves. It uses the OpenGL ES 2.0. And Its LICENSE version is also 2.0 too. I think it may be the most latest version.<br>
My Xcode version is 4.6.2. The MacOS version is 10.8.5.<br> <br> Before I build the example named Kiwiviewer in the dir named iOS I just use these commands to compile the frameworks.commands like this: <br>
mkdir <build dir><br> cd <build dir><br> cmake -DVES_IOS_SUPERBUILD=1 <ves src dir> <br> make -j4<br> Then I config the build phases in the project target. Of course I download the DropboxSDK.framework and pcl.framework from the internet. And all files in the dir frameworks are not red. It means I successfully import the frameworks.But I meet these link Errors like last E-mail. <br>
I am really bored by it. So please help me~ THANK YOU VERY VERY MUCH!<div><div class="h5"><br><br><br><br><div></div><div></div><br>At 2013-10-01 00:49:27,"Aashish Chaudhary" <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>> wrote:<br>
<blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr">Are you trying to build VES with MIDAS support intentionally? Also can you tell us the VERSION of VES you are tying to use? <div>
<br></div><div>Thanks</div><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Sep 30, 2013 at 1:38 AM, 高宇 <span dir="ltr"><<a href="mailto:fightrain@126.com" target="_blank">fightrain@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial"><div style="line-height:1.7;font-size:14px;font-family:arial"><br><div>From: "高宇" <<a href="mailto:fightrain@126.com" target="_blank">fightrain@126.com</a>><br>
Date: 2013-09-30 10:08:19<br>To: <a href="mailto:Kiwiviewer@public.kitware.com" target="_blank">Kiwiviewer@public.kitware.com</a><br>Subject: Link error about iOS app Kiwiviewer.<br><div style="line-height:1.7;font-size:14px;font-family:arial">
<div style="line-height:1.7;font-size:14px;font-family:arial">I meet a problem which bored me for three days.<br><br>When I build the iOS app kiwiviewer in VES. I meet some link errors. I list the error info like this including 2 pngs:<br>
<br>Ld /Users/gaoyu/Library/Developer/Xcode/DerivedData/KiwiViewer-finjlpjhxfsqvseynhfdbjqhqrta/Build/Products/Debug-iphoneos/kiwiviewer.app/kiwiviewer normal armv7<br> cd /Users/gaoyu/Desktop/Workspace/Kiwi/KiwiViewer<br>
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0<br> setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"<br>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/gaoyu/Library/Developer/Xcode/DerivedData/KiwiViewer-finjlpjhxfsqvseynhfdbjqhqrta/Build/Products/Debug-iphoneos -F/Users/gaoyu/Library/Developer/Xcode/DerivedData/KiwiViewer-finjlpjhxfsqvseynhfdbjqhqrta/Build/Products/Debug-iphoneos -F../frameworks -filelist /Users/gaoyu/Library/Developer/Xcode/DerivedData/KiwiViewer-finjlpjhxfsqvseynhfdbjqhqrta/Build/Intermediates/KiwiViewer.build/Debug-iphoneos/KiwiViewer.build/Objects-normal/armv7/kiwiviewer.LinkFileList -dead_strip -stdlib=libstdc++ -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework kiwi -lxml2 -framework Security -framework QuartzCore -lbz2 -lz -framework vtk -framework OpenGLES -framework GLKit -framework UIKit -framework Foundation -framework CoreGraphics -framework DropboxSDK -o /Users/gaoyu/Library/Developer/Xcode/DerivedData/KiwiViewer-finjlpjhxfsqvseynhfdbjqhqrta/Build/Products/Debug-iphoneos/kiwiviewer.app/kiwiviewer<br>
<br>Undefined symbols for architecture armv7:<br> "vesMidasClient::~vesMidasClient()", referenced from:<br> std::tr1::_Sp_deleter<vesMidasClient>::operator()(vesMidasClient*) const in DocumentsTableViewController.o<br>
"vesKiwiCurlDownloader::downloadUrlToDirectory(std::string const&, std::string const&)", referenced from:<br> ___61-[DocumentsTableViewController handleItemSelected:indexPath:]_block_invoke in DocumentsTableViewController.o<br>
___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in DownloadURLViewController.o<br> "vesMidasClient::renewToken()", referenced from:<br> -[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o<br>
"vesMidasClient::itemDownloadUrl(std::string const&)", referenced from:<br> -[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o<br> "vesMidasClient::reset()", referenced from:<br>
-[DocumentsTableViewController onMidasLogout] in DocumentsTableViewController.o<br> -[MidasLoginViewController onLoginTouched:] in MidasLoginViewController.o<br> "vesMidasClient::vesMidasClient()", referenced from:<br>
-[DocumentsTableViewController viewDidLoad] in DocumentsTableViewController.o<br> "vesMidasClient::listCommunities()", referenced from:<br> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br>
"vesMidasClient::login(std::string const&, std::string const&)", referenced from:<br> ___43-[MidasLoginViewController onLoginTouched:]_block_invoke in MidasLoginViewController.o<br> "vesKiwiCurlDownloader::vesKiwiCurlDownloader()", referenced from:<br>
-[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o<br> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in DownloadURLViewController.o<br> "vesMidasClient::token() const", referenced from:<br>
-[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br> -[DocumentsTableViewController maybeAddLogoutButton] in DocumentsTableViewController.o<br> -[DocumentsTableViewController tableView:numberOfRowsInSection:] in DocumentsTableViewController.o<br>
-[DocumentsTableViewController tableView:cellForRowAtIndexPath:] in DocumentsTableViewController.o<br> -[DocumentsTableViewController onSegueReturned:] in DocumentsTableViewController.o<br> -[DocumentsTableViewController handleItemSelected:indexPath:] in DocumentsTableViewController.o<br>
-[DocumentsTableViewController tableView:didSelectRowAtIndexPath:] in DocumentsTableViewController.o<br> ...<br> "vesMidasClient::listFolderChildren(std::string const&)", referenced from:<br> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br>
"vesMidasClient::setHost(std::string const&)", referenced from:<br> -[DocumentsTableViewController viewDidLoad] in DocumentsTableViewController.o<br> -[DocumentsTableViewController onMidasLogout] in DocumentsTableViewController.o<br>
-[MidasLoginViewController onLoginTouched:] in MidasLoginViewController.o<br> "vesMidasClient::listCommunityChildren(std::string const&)", referenced from:<br> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br>
"vesMidasClient::listUserFolders()", referenced from:<br> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br> "vesMidasClient::folderNames()", referenced from:<br>
-[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br> "vesMidasClient::itemNames()", referenced from:<br> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br>
"vesMidasClient::itemIds()", referenced from:<br> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br> "vesKiwiCurlDownloader::~vesKiwiCurlDownloader()", referenced from:<br>
std::tr1::_Sp_deleter<vesKiwiCurlDownloader>::operator()(vesKiwiCurlDownloader*) const in DocumentsTableViewController.o<br> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in DownloadURLViewController.o<br>
"vesKiwiPVRemoteRepresentation::requestScene()", referenced from:<br> kiwiCloudApp::onAction(std::string const&) in MyGLKViewController.o<br> "vesMidasClient::itemBytes()", referenced from:<br>
-[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br> "vesMidasClient::folderIds()", referenced from:<br> -[DocumentsTableViewController populateViewThread] in DocumentsTableViewController.o<br>
ld: symbol(s) not found for architecture armv7<br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br><br><br><br><br><br>I need help! Thank you all~<br></div></div></div></div></div><br><br>
<span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
Kiwiviewer mailing list<br>
<a href="mailto:Kiwiviewer@public.kitware.com" target="_blank">Kiwiviewer@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/kiwiviewer" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/kiwiviewer</a><br>
<br></blockquote></div><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>
</div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><span></span></span></div><br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
Kiwiviewer mailing list<br>
<a href="mailto:Kiwiviewer@public.kitware.com">Kiwiviewer@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/kiwiviewer" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/kiwiviewer</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Casey B. Goodlett, Ph.D.<br>R&D Engineer<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com">http://www.kitware.com</a><br>(919) 969-6990 x310
</div>