<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Casey,</div><div><br></div><div>Thanks for the quick reply. I wasn’t able to build with arm64. I checked out a new copy of VES. Modified to add arm64 (see git diff)</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">diff --git a/CMake/toolchains/toolchain-ios-device.cmake b/CMake/toolchains/toolchain-ios-device</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">index af6aedf..05c6dd5 100644</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">--- a/CMake/toolchains/toolchain-ios-device.cmake</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+++ b/CMake/toolchains/toolchain-ios-device.cmake</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">@@ -16,7 +16,7 @@ find_program(CMAKE_CXX_COMPILER NAME g++</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> NO_DEFAULT_PATH)</div><p style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-set(CMAKE_OSX_ARCHITECTURES "armv7;armv7s")</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+set(CMAKE_OSX_ARCHITECTURES "armv7;armv7s;arm64")</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -miphoneos-version-min=5.0 -fvisibility=hidden -fvisibi</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -miphoneos-version-min=5.0 -fvisibility=hidden -fvisibility</div></div><div><br></div><div>The build failed but I didn’t see any useful error messages. Maybe an issue with libarchive...</div><div><br></div><div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);"><span style="color: #4c2f2d">[ 40%] </span>Building C object libarchive/CMakeFiles/archive_static.dir/archive_read_disk_entry_from_file.c.o</div><div style="margin: 0px; font-family: Courier; color: rgb(148, 58, 32); background-color: rgb(223, 219, 196);"><b>/Users/jonc/Developer/VES/Apps/iOS/build/CMakeExternals/Source/libarchive/libarchive/archive_read_disk_entry_from_file.c:325:13: </b><span style="color: #c02ec0"><b>warning: </b></span></div><div style="margin: 0px; font-family: Courier; color: rgb(148, 58, 32); background-color: rgb(223, 219, 196);"><b> 'tempnam' is deprecated: This function is provided for compatibility reasons only. Due to</b></div><div style="margin: 0px; font-family: Courier; color: rgb(148, 58, 32); background-color: rgb(223, 219, 196);"><b> security concerns inherent in the design of tempnam(3), it is highly recommended that you use</b></div><div style="margin: 0px; font-family: Courier; color: rgb(148, 58, 32); background-color: rgb(223, 219, 196);"><b> mkstemp(3) instead. [-Wdeprecated-declarations]</b></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);"> tempfile = tempnam(tempdir, "tar.md.");</div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);"><b> ^</b></div><div style="margin: 0px; font-family: Courier; color: rgb(148, 58, 32); background-color: rgb(223, 219, 196);"><b>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/include/stdio.h:389:7: </b><span style="color: #000000"><b>note: </b></span></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);"> 'tempnam' declared here</div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);">char *tempnam(const char *, const char *) __DARWIN_ALIAS(tempnam);</div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);"><b> ^</b></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);">[ 57%] 1 warning generated.</div></div><div><br></div><div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);">-- Installing: /Users/jonc/Developer/VES/Apps/iOS/build/CMakeExternals/Install/libarchive-ios-simulator/lib/LibArchive/cmake/LibArchiveTargets-release.cmake</div><div style="margin: 0px; font-family: Courier; color: rgb(67, 41, 212); background-color: rgb(223, 219, 196);"><span style="color: #4c2f2d">[ 52%] </span><b>Completed 'libarchive-ios-simulator'</b></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);">[ 52%] Built target libarchive-ios-simulator</div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);">make: *** [all] Error 2</div></div><div><br></div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Jon Chmura</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="mailto:jon.chmura@me.com">jon.chmura@me.com</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br><div><div>On Oct 30, 2013, at 11:17 AM, Casey Goodlett <<a href="mailto:casey.goodlett@kitware.com">casey.goodlett@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Jon,<div><br></div><div>You should be able to edit the toolchain file and add arm64 to the arch list (currently should be armv7;armv7s). I have not tried to build for arm64 so there may be unexpected problems. I typically modify my xcode project to build only armv7 and armv7s.</div>
<div><br></div><div>Can you let us know if you are able to get the project to build with arm64 support?</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 11:07 AM, Jon Chmura <span dir="ltr"><<a href="mailto:jon.chmura@me.com" target="_blank">jon.chmura@me.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="word-wrap:break-word"><div>Is there any way to build the iOS frameworks so that they support armv7 and arm64. I realize that if the project settings are set up as follows it will build even for devices that are armv7s and arm64.</div>
<div><br></div><div>{ 'ARCHS' => 'ARCHS_STANDARD’,</div><div> 'VALID_ARCHS' => 'armv7’, </div><div>'ONLY_ACTIVE_ARCH' => 'NO’,</div><div> 'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++98’, </div>
<div>'CLANG_CXX_LIBRARY' => 'libstdc++' }</div><div><br></div><div>This requirement causes build issues when using an Xcode workspace (i.e.. multiple Xcode projects used to build an app). I’m looking for a workaround but it be preferable if I could use the standard Xcode settings</div>
<div><br></div><div><div>'ARCHS' => 'ARCHS_STANDARD_INCLUDING_64_BIT’,</div><div> 'VALID_ARCHS' => armv7 armv7s arm64, </div><div>'ONLY_ACTIVE_ARCH' => ‘YES’,</div></div><br><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;white-space:normal;font-family:Helvetica;word-wrap:break-word;word-spacing:0px">
Jon Chmura</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;white-space:normal;font-family:Helvetica;word-wrap:break-word;word-spacing:0px">
<div><a href="mailto:jon.chmura@me.com" target="_blank">jon.chmura@me.com</a></div><div><br></div></div><br><br>
</div>
<br></div><br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</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>
</blockquote></div><br></body></html>