[Ves] Crosscompile for iOS 7 including arm64
Casey Goodlett
casey.goodlett at kitware.com
Mon Feb 10 09:35:58 EST 2014
Beneditk,
This is caused by setting the architectures in the CMAKE_CXX_FLAGS flags
rather than using CMAKE_OSX_ARCHITECTURES variable.
That said I have not seen a successful build on arm64 yet so there may
still be problems.
On Mon, Feb 10, 2014 at 8:07 AM, Benedikt Huss <benedikt.huss at gmail.com>wrote:
> Hi have disabled curl, but there are still errors:
>
> CMake Error at /Applications/CMake
> 2.8-12.app/Contents/share/cmake-2.8/Modules/CheckTypeSize.cmake:140
> (message):
>
> CHECK_TYPE_SIZE found different results, consider setting
>
> CMAKE_OSX_ARCHITECTURES or CMAKE_TRY_COMPILE_OSX_ARCHITECTURES to one or
> no
>
> architecture !
>
> Call Stack (most recent call first):
>
> /Applications/CMake
> 2.8-12.app/Contents/share/cmake-2.8/Modules/CheckTypeSize.cmake:174
> (__check_type_size_impl)
>
> ThirdParty/tiff/vtktiff/CMakeLists.txt:103 (CHECK_TYPE_SIZE)
>
>
> And yes, I'm on master.
>
>
> 2014-02-07 15:06 GMT+01:00 Casey Goodlett <casey.goodlett at kitware.com>:
>
> I think you can fix that particular problem by updating the curl version
>> in the superbuild to the latest version from
>> https://github.com/bagder/curl. However, I have not had success
>> compiling curl for armv7;armv7s;arm64. More detailed fixes to the curl
>> build are needed.
>>
>> Can you disable curl support and work with the KiwiSimple example? CURL
>> is only needed for some of the features in the full KiwiViewer application
>> and you can develop VES/Kiwi applications without it
>>
>> Otherwise you can skip arm64 support.
>>
>> There are some alternate build scripts for curl on iOS you might try
>> https://github.com/brunodecarvalho/curl-ios-build-scripts
>>
>> Let us know if that works for you.
>>
>> --
>> Casey B. Goodlett, Ph.D.
>> R&D Engineer
>> Kitware, Inc. - North Carolina Office
>> http://www.kitware.com
>> (919) 969-6990 x310
>>
>
>
--
Casey B. Goodlett, Ph.D.
R&D Engineer
Kitware, Inc. - North Carolina Office
http://www.kitware.com
(919) 969-6990 x310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140210/a50b3560/attachment-0003.html>
More information about the Ves
mailing list