<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I can't run it on my iPad because I haven't yet enrolled in the Apple iOS Developer program ($99 a year). For now, is it possible I can make it work on the simulator instead?<div><br></div><div>Also, I wanted to mention that if I set "Build Active Architecture Only" to "No" I get 126 errors. All Linker errors. Is that normal?</div><div><br></div><div>Thank you very much for your help.<br><br><div><hr id="stopSpelling">From: cameron.palmer@ntnu.no<br>To: sujayc@hotmail.com<br>CC: ves@public.kitware.com<br>Subject: Re: [Ves] Apple Mach-O Linker Errors when building Kiwiviewer on Xcode 6.1.1<br>Date: Sun, 1 Mar 2015 21:04:58 +0000<br><br>




That is correct, by default Xcode will now insist on compiling for all architectures unless you explicitly prevent it using that variable. Are you trying to run on the device or the simulator? Try running on the iPhone/iPad not in the simulator.
<div><br>
</div>
<div>cameron.</div>
<div><br>
<div>
<blockquote>
<div>On 1. mar. 2015, at 16.34, Michael Christie <<a href="mailto:sujayc@hotmail.com">sujayc@hotmail.com</a>> wrote:</div>
<br class="ecxApple-interchange-newline">
<div>
<div dir="ltr" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">
Cameron,
<div><br>
</div>
<div>Thank you for the response. I didn't have $(ARCHS_STANDARD_32_BIT) as an option under "Architectures" so I typed it in. Now I get only one error when I build:</div>
<div><br>
</div>
<div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
<br>
</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
Mike</div>
<br>
<div>
<hr id="ecxstopSpelling">
From:<span class="ecxApple-converted-space"> </span><a href="mailto:cameron.palmer@ntnu.no">cameron.palmer@ntnu.no</a><br>
To:<span class="ecxApple-converted-space"> </span><a href="mailto:sujayc@hotmail.com">sujayc@hotmail.com</a><br>
CC:<span class="ecxApple-converted-space"> </span><a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br>
Subject: Re: [Ves] Apple Mach-O Linker Errors when building Kiwiviewer on Xcode 6.1.1<br>
Date: Sun, 1 Mar 2015 07:42:02 +0000<br>
<br>
<div>Try it without 64-bit.</div>
<div><br>
</div>
<div>Architectures $(ARCHS_STANDARD_32_BIT)</div>
<div><br>
</div>
<div>Valid architectures armv7 armv7s</div>
<div><br>
<div>
<blockquote>
<div>On 1. mar. 2015, at 04.15, Michael Christie <<a href="mailto:sujayc@hotmail.com">sujayc@hotmail.com</a>> wrote:</div>
<br class="ecxApple-interchange-newline">
<div>
<div dir="ltr" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">
Hello,
<div><br>
</div>
<div>I'm a novice programmer who was hoping to build Kiwiviewer on my mac with Yosemite OS 10.10.</div>
<div><br>
</div>
<div>I followed the directions posted by Harish on this webpage:</div>
<div><a href="http://public.kitware.com/pipermail/ves/2014-November/002976.html" target="_blank">http://public.kitware.com/pipermail/ves/2014-November/002976.html</a></div>
<div><br>
</div>
<div>and from that I was able to do get through the steps described on the /Apps/iOS readme (I was previously having problems doing make -j4).</div>
<div><br>
</div>
<div>The problem is when i open up the Xcodeproject of KiwiSimple and KiwiViewer. This was actually my first time opening Xcode and using it. This is Xcode 6.1.1. Anyways, I try to build it and i get 4 errors and 2 warnings, copied below:</div>
<div><br>
</div>
<div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
ld: warning: ignoring file ../frameworks/vtk.framework/vtk, missing required architecture x86_64 in file ../frameworks/vtk.framework/vtk (3 slices)</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
ld: warning: ignoring file ../frameworks/kiwi.framework/kiwi, missing required architecture x86_64 in file ../frameworks/kiwi.framework/kiwi (3 slices)</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
Undefined symbols for architecture x86_64:</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
  "vesKiwiBaseApp::render()", referenced from:</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
      -[MyGLKViewController glkView:drawInRect:] in MyGLKViewController.o</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
  "vesKiwiViewerApp::loadDataset(std::string const&)", referenced from:</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
      -[MyGLKViewController initializeKiwiApp] in MyGLKViewController.o</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
  "vesKiwiViewerApp::vesKiwiViewerApp()", referenced from:</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
      -[MyGLKViewController initializeKiwiApp] in MyGLKViewController.o</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
ld: symbol(s) not found for architecture x86_64</div>
<div style="padding:0px;text-indent:-12px;font-size:11px;font-family:Menlo;">
clang: error: linker command failed with exit code 1 (use -v to see invocation)</div>
</div>
<div><br>
</div>
<div>Under Build Settings of the KiwiSimple target, I have "Architectures" set to "Standard architectures (armv7, arm64) ...."</div>
<div>The "Base SDK" is iOS 8.1, I enabled "Build Active Architecture Only" and my "Valid Architectures" are "armv7 arm64"</div>
<div><br>
</div>
<div>To the side under the Frameworks folder, I have libbz2.dylib, libxml2.dylib, libz.dylib, vtk.framework and its headers, kiwi.framework and its headers, OpenGLES.framework, GLKit.framework, UIKit.framework, Foundation.framework, and CoreGraphics.framework.
 Nothing in these are colored red.</div>
<div><br>
</div>
<div>The only thing that is red for me is the Product itself, KiwiSimple.app.</div>
<div><br>
</div>
<div>I'll gladly provide any other information. Please tell me what could be going wrong. This is the first time I ever used CMake and Xcode. I could have easily forgotten to do something along the way, especially something that was not in the directions
 I mentioned above.</div>
<div><br>
</div>
<div>Thank you!</div>
<div><br>
</div>
<div>Mike</div>
<div><br>
</div>
<div><br>
</div>
</div>
<span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">_______________________________________________</span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">
<span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">Ves
 mailing list</span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">
<a href="mailto:Ves@public.kitware.com" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">Ves@public.kitware.com</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">
<a href="http://public.kitware.com/mailman/listinfo/ves" target="_blank" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">http://public.kitware.com/mailman/listinfo/ves</a></div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>                                      </div></body>
</html>