[Kiwiviewer] Link error about iOS app Kiwiviewer.
Aashish Chaudhary
aashish.chaudhary at kitware.com
Mon Sep 30 12:49:27 EDT 2013
Are you trying to build VES with MIDAS support intentionally? Also can you
tell us the VERSION of VES you are tying to use?
Thanks
On Mon, Sep 30, 2013 at 1:38 AM, 高宇 <fightrain at 126.com> wrote:
>
> From: "高宇" <fightrain at 126.com>
> Date: 2013-09-30 10:08:19
> To: Kiwiviewer at public.kitware.com
> Subject: Link error about iOS app Kiwiviewer.
> I meet a problem which bored me for three days.
>
> When I build the iOS app kiwiviewer in VES. I meet some link errors.
> I list the error info like this including 2 pngs:
>
> Ld
> /Users/gaoyu/Library/Developer/Xcode/DerivedData/KiwiViewer-finjlpjhxfsqvseynhfdbjqhqrta/Build/Products/Debug-iphoneos/kiwiviewer.app/kiwiviewer
> normal armv7
> cd /Users/gaoyu/Desktop/Workspace/Kiwi/KiwiViewer
> setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
> 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"
>
> /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
>
> Undefined symbols for architecture armv7:
> "vesMidasClient::~vesMidasClient()", referenced from:
> std::tr1::_Sp_deleter<vesMidasClient>::operator()(vesMidasClient*)
> const in DocumentsTableViewController.o
> "vesKiwiCurlDownloader::downloadUrlToDirectory(std::string const&,
> std::string const&)", referenced from:
> ___61-[DocumentsTableViewController
> handleItemSelected:indexPath:]_block_invoke in
> DocumentsTableViewController.o
> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in
> DownloadURLViewController.o
> "vesMidasClient::renewToken()", referenced from:
> -[DocumentsTableViewController handleItemSelected:indexPath:] in
> DocumentsTableViewController.o
> "vesMidasClient::itemDownloadUrl(std::string const&)", referenced from:
> -[DocumentsTableViewController handleItemSelected:indexPath:] in
> DocumentsTableViewController.o
> "vesMidasClient::reset()", referenced from:
> -[DocumentsTableViewController onMidasLogout] in
> DocumentsTableViewController.o
> -[MidasLoginViewController onLoginTouched:] in
> MidasLoginViewController.o
> "vesMidasClient::vesMidasClient()", referenced from:
> -[DocumentsTableViewController viewDidLoad] in
> DocumentsTableViewController.o
> "vesMidasClient::listCommunities()", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesMidasClient::login(std::string const&, std::string const&)",
> referenced from:
> ___43-[MidasLoginViewController onLoginTouched:]_block_invoke in
> MidasLoginViewController.o
> "vesKiwiCurlDownloader::vesKiwiCurlDownloader()", referenced from:
> -[DocumentsTableViewController handleItemSelected:indexPath:] in
> DocumentsTableViewController.o
> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in
> DownloadURLViewController.o
> "vesMidasClient::token() const", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> -[DocumentsTableViewController maybeAddLogoutButton] in
> DocumentsTableViewController.o
> -[DocumentsTableViewController tableView:numberOfRowsInSection:] in
> DocumentsTableViewController.o
> -[DocumentsTableViewController tableView:cellForRowAtIndexPath:] in
> DocumentsTableViewController.o
> -[DocumentsTableViewController onSegueReturned:] in
> DocumentsTableViewController.o
> -[DocumentsTableViewController handleItemSelected:indexPath:] in
> DocumentsTableViewController.o
> -[DocumentsTableViewController tableView:didSelectRowAtIndexPath:]
> in DocumentsTableViewController.o
> ...
> "vesMidasClient::listFolderChildren(std::string const&)", referenced
> from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesMidasClient::setHost(std::string const&)", referenced from:
> -[DocumentsTableViewController viewDidLoad] in
> DocumentsTableViewController.o
> -[DocumentsTableViewController onMidasLogout] in
> DocumentsTableViewController.o
> -[MidasLoginViewController onLoginTouched:] in
> MidasLoginViewController.o
> "vesMidasClient::listCommunityChildren(std::string const&)", referenced
> from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesMidasClient::listUserFolders()", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesMidasClient::folderNames()", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesMidasClient::itemNames()", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesMidasClient::itemIds()", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesKiwiCurlDownloader::~vesKiwiCurlDownloader()", referenced from:
>
> std::tr1::_Sp_deleter<vesKiwiCurlDownloader>::operator()(vesKiwiCurlDownloader*)
> const in DocumentsTableViewController.o
> ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in
> DownloadURLViewController.o
> "vesKiwiPVRemoteRepresentation::requestScene()", referenced from:
> kiwiCloudApp::onAction(std::string const&) in MyGLKViewController.o
> "vesMidasClient::itemBytes()", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> "vesMidasClient::folderIds()", referenced from:
> -[DocumentsTableViewController populateViewThread] in
> DocumentsTableViewController.o
> ld: symbol(s) not found for architecture armv7
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
>
>
>
>
> I need help! Thank you all~
>
>
>
> _______________________________________________
> Kiwiviewer mailing list
> Kiwiviewer at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/kiwiviewer
>
>
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kiwiviewer/attachments/20130930/17be6b28/attachment.html>
More information about the Kiwiviewer
mailing list