[Ves] KiwiViewer app not building on iOS

Asad Ullah Naweed asad at cs.unc.edu
Sat Sep 7 14:37:41 EDT 2013


So, I was able to successfully build and run the KiwiSample app on my iPad.
However, the KiwiViewer app presents multiple build errors when I try to
build it in Xcode. There's some issues with linking with vesMidasClient.
Symbols are either undefined altogether or just not built for the right
architecture, which in this case is armv7.

Anyone else having this issue? I'm copying the build errors below for
reference. If someone could help me out, that would be great.

Thanks in advance,

Asad


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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130907/376a1879/attachment.html>


More information about the Ves mailing list