[Ves] Undefined symbols for arch i386 errors (vesMidasClient, vesKiwiCurl, vesKiwiPVRemote)

Deepak Surti dmsurti at gmail.com
Sat Oct 5 12:28:13 EDT 2013


Hi,

I cloned VES.git and built the vtk and kiwi frameworks as per the steps
listed in VES/Apps/iOS/Readme.txt for iOS.

I am on iOS SDK 7 but I also have iOS SDK 6.1 installed by following the
steps listed here (
http://stackoverflow.com/questions/6783308/adding-older-ios-sdks-to-xcode-4-1-in-lion)
on Mountain Lion 10.8.5.

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.

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:

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)

Undefined symbols for architecture i386:

  "vesMidasClient::renewToken()", referenced from:

      -[DocumentsTableViewController handleItemSelected:indexPath:] in
DocumentsTableViewController.o

  "vesMidasClient::folderNames()", referenced from:

      -[DocumentsTableViewController populateViewThread] in
DocumentsTableViewController.o

  "vesMidasClient::itemDownloadUrl(std::string const&)", referenced from:

      -[DocumentsTableViewController handleItemSelected:indexPath:] in
DocumentsTableViewController.o

  "vesMidasClient::listCommunities()", referenced from:

      -[DocumentsTableViewController populateViewThread] in
DocumentsTableViewController.o

  "vesMidasClient::listUserFolders()", referenced from:

      -[DocumentsTableViewController populateViewThread] in
DocumentsTableViewController.o

  "vesMidasClient::listFolderChildren(std::string const&)", referenced from:

      -[DocumentsTableViewController populateViewThread] in
DocumentsTableViewController.o

  "vesMidasClient::listCommunityChildren(std::string const&)", 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

  "vesMidasClient::reset()", referenced from:

      -[DocumentsTableViewController onMidasLogout] in
DocumentsTableViewController.o

      -[MidasLoginViewController onLoginTouched:] in
MidasLoginViewController.o

  "vesMidasClient::itemIds()", 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::folderIds()", referenced from:

      -[DocumentsTableViewController populateViewThread] in
DocumentsTableViewController.o

  "vesMidasClient::itemBytes()", referenced from:

      -[DocumentsTableViewController populateViewThread] in
DocumentsTableViewController.o

  "vesMidasClient::itemNames()", referenced from:

      -[DocumentsTableViewController populateViewThread] in
DocumentsTableViewController.o

  "vesMidasClient::vesMidasClient()", referenced from:

      -[DocumentsTableViewController viewDidLoad] in
DocumentsTableViewController.o

  "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

  "vesKiwiCurlDownloader::vesKiwiCurlDownloader()", referenced from:

      -[DocumentsTableViewController handleItemSelected:indexPath:] in
DocumentsTableViewController.o

      ___47-[DownloadURLViewController onDownloadTouched:]_block_invoke in
DownloadURLViewController.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::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

      ...

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see
invocation)

Any pointers in helping me fix this so that I can run KiwiViewer on
simulator and iPad will be of great help.

Let me know for any info needed.

Regards,
Deepak

-- 
http://deepaksurti.com
To see a miracle, be the miracle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20131005/115e5dac/attachment-0001.html>


More information about the Ves mailing list