Hi Andreas,

Yes, I do use mac ports.
I wasn't sure what you meant by "removing entries in the vigra cmake 
cache", but I tried what you suggested and it works.
Thank you  very much for the test and the fast response.

What I did, described here for other users with the same problem:
1) Get the error described in previous messages
2) Open cmake at ........\your_build_dir\ep\src\Vigra-build
3) Blank (don't delete) the lines of jpeg, png and tiff (include and 
library)
4) Configure, generate
5) Try to compile mitk again

Nil

Le 2015-07-15 10:34, Fetzer, Andreas a écrit :
> Hi Nil,
>
> yes this should work, no need to upgrade ;)
>
> We were able to reproduce your error in the meantime, using the computer
> of one of my colleagues.
>
> Are you using mac ports?
>
> In our case the libraries jpeg, png were automatically installed via
> macports (located somewhere /opt/local)
> and these libraries were automatically found by the vigra cmake setup.
> A quick workaround would be to manually remove these entries in the the
> Vigra-build cmake cache.
>
> We will work on a better fix. The according bug is:
> http://bugs.mitk.org/show_bug.cgi?id=19181
>
> Hope this helps!
>
> Andreas
>
> Am 15/07/15 16:16 schrieb "Nil Goyette" unter <nil.goye...@imeka.ca>:
>
>> Hi Andreas,
>>
>> I take the CMAKE_CXX_COMPILER value and add -v
>> Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
>> Target: x86_64-apple-darwin13.4.0
>> Thread model: posix
>>
>> So I don't have the Tier 1 specs, nor the Tier 2, I have something
>> inbetween: OS X 10.9 + clang 6.0.
>> Should this work? If not, damn, I guess I'll need to upgrade to 10.10
>>
>> Nil
>>
>> Le 2015-07-15 02:35, Fetzer, Andreas a écrit :
>>> Hi Nil,
>>>
>>> what clang version are you working with?
>>>
>>> Our Tier 1 supported Mac OS X platform for the 2015.05 release is OS X
>>> 10.10 using apple-clang 6.0, as you can see here:
>>>
>>> http://docs.mitk.org/2015.05/SupportedPlatformsPage.html
>>>
>>> OS X < 10.9 with older clang versions are not fully supported anymore.
>>>
>>> However I still have 10.9 on my laptop, using apple clang 6.0. I tried
>>> to
>>> reproduce the build errors but the HDF5/vigra build completed without
>>> errors.
>>>
>>> My office computer as well as our continuos mac os x dartclient are both
>>> 10.10 systems using the latest apple clang 6.1. On both the build works.
>>>
>>> So I guess this must be related to your compiler version.
>>>
>>> Best,
>>> Andreas
>>>
>>> Am 14/07/15 19:23 schrieb "Nil Goyette" unter <nil.goye...@imeka.ca>:
>>>
>>>> Hi all,
>>>>
>>>> I'm trying to compile MITK 2015.05 on
>>>> OS X 10.9, cmake 2.3, Boost + Vigra + All Apps + All Plugins enabled,
>>>> -std=C++11
>>>> and I get this error
>>>>
>>>> Linking CXX shared library libvigraimpex.dylib
>>>> Undefined symbols for architecture x86_64:
>>>>     "_H5P_CLS_DATASET_CREATE_ID_g", referenced from:
>>>>         void vigra::HDF5File::write_<1u, double,
>>>> vigra::StridedArrayTag>(std::__1::basic_string<char,
>>>> std::__1::char_traits<char>, std::__1::allocator<char> >&,
>>>> vigra::MultiArrayView<1u, double, vigra::StridedArrayTag> const&, int,
>>>> int, vigra::MultiArrayShape<1u>::type&, int) in hdf5_rf_impex.cxx.o
>>>>         void vigra::HDF5File::write_<1u, int,
>>>> vigra::StridedArrayTag>(std::__1::basic_string<char,
>>>> std::__1::char_traits<char>, std::__1::allocator<char> >&,
>>>> vigra::MultiArrayView<1u, int, vigra::StridedArrayTag> const&, int,
>>>> int,
>>>> vigra::MultiArrayShape<1u>::type&, int) in hdf5_rf_impex.cxx.o
>>>> ld: symbol(s) not found for architecture x86_64
>>>> clang: error: linker command failed with exit code 1 (use -v to see
>>>> invocation)
>>>> make[5]: *** [src/impex/libvigraimpex.5.1.10.0.dylib] Error 1
>>>> make[4]: *** [src/impex/CMakeFiles/vigraimpex.dir/all] Error 2
>>>> make[3]: *** [all] Error 2
>>>> make[2]: *** [ep/src/Vigra-stamp/Vigra-build] Error 2
>>>> make[1]: *** [CMakeFiles/Vigra.dir/all] Error 2
>>>> make: *** [all] Error 2
>>>>
>>>> I haven't found anything related to this problem on bugzilla or on the
>>>> ML.
>>>> Anyone knows how to fix this?
>>>>
>>>> Nil

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to