Lovely, thanks. I tried almost the same but did not work, maybe just
made a silly mistake. I will do a clean build.

Do you think this should be added as well?

-arch ${CMAKE_OSX_ARCHITECTURES} -mmacosx-version-min
${CMAKE_OSX_DEPLOYMENT_TARGET}

Cheers,
Miklos

On 6 October 2016 at 17:26, Sascha Zelzer <sascha.zel...@gmail.com> wrote:
> Hi Miklos,
>
> this was fixed recently [1] in the CppMicroServices development branch
> but not back-ported to MITK's version. As usual, you could apply the fix
> to your MITK fork, provide a MITK pull request containing a back-port,
> or wait until MITK switches to a new CppMicroServices version containing
> the fix.
>
> Cheers,
>
> Sascha
>
> P.S.: I think it is safe to use the application, but I am not an expert
> on eventual ABI changes in the Mach-O format between e.g. 10.10 and 10.11.
>
>
> [1]
> https://github.com/CppMicroServices/CppMicroServices/commit/80c885fd5ce91fea0ba6f99a82673bbe1b1f0790#diff-6424bce3f9dea568e30741b0789c5b58
>
>
> On 10/06/2016 08:02 AM, Miklos Espak wrote:
>> Hi,
>>
>> I see these warnings when I am compiling MITK on El Capitan (11.11)
>> using the Yosemite system environment (10.10).
>>
>> ld: warning: object file (us_MitkCoreTestDriver/us_resources.o) was
>> built for newer OSX version (10.11) than being linked (10.10)
>>
>> The applications look working fine in spite of the warnings, although
>> I have not checked which resources should be loaded and if they are
>> available.
>>
>> These variables are set for the build:
>>
>>   CMAKE_OSX_ARCHITECTURES          x86_64
>>
>> CMAKE_OSX_DEPLOYMENT_TARGET      10.10
>>                                             CMAKE_OSX_SYSROOT
>>       /Applications/Xcode
>> 6.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
>>
>> Clang provides the '-arch', '-mmacosx-version-min' and '-isysroot'
>> option to pass these values.
>>
>> Same with the current master and 2015.05.2
>>
>> Any idea how to fix this? Or can I safely ignore the warnings?
>>
>> Cheers,
>> Miklos
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to