[Ves] Crosscompile for iOS 7 including arm64

Benedikt Huss benedikt.huss at gmail.com
Tue Feb 11 03:08:54 EST 2014


I can successfully build the xcode_5 branch. As soon as I add arm64 as
architecture, the build fails:

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)

  CMake/vtkTestTypes.cmake:13 (CHECK_TYPE_SIZE)

  CMakeLists.txt:235 (include)

The only changes I have applied are from Cases arm64.patch, curl and
libarchive were disabled).


2014-02-10 15:15 GMT+01:00 Aashish Chaudhary <aashish.chaudhary at kitware.com>
:

> Why you had to change the toolchain? I think that might have caused this.
>
> Can you try this branch: fix_xcode_5_clang_5_issues. We still to fix one
> warning but I think it would be good if you can test this branch. I have
> pushed this to stage
> and github.com fork.
>
> stage: git://vtk.org/stage/VES.git
>
> Thanks,
>
>
>
> 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
>>>
>>
>>
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>
>>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140211/3ebea8d9/attachment-0003.html>


More information about the Ves mailing list