[Ves] Crosscompile for iOS 7 including arm64

Benedikt Huss benedikt.huss at gmail.com
Thu Feb 13 10:18:23 EST 2014


Aashish, did you try do build the branch for arm64? I am able to compile
for armv7, armv7s, i386 and x86_64, only arm64 is not working.

If you are able to build successful, please share the details for your
build environment.



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

> I see that someone has added arm64 for KiwiViewer project file. Said that,
> we have some other issues related to compiler and linker on xcode 5.0.2 and
> iOS 7 SDK. I can see if I can build for arm64 with our new branch.
>
> - Aashish
>
>
>
> On Mon, Feb 10, 2014 at 9:35 AM, Casey Goodlett <
> casey.goodlett at kitware.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> 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/20140213/ade267df/attachment-0003.html>


More information about the Ves mailing list