Hi Matt,

The preferred SDK for Mavericks is actually the 10.9 SDK. Even Boost should 
work with that.
In fact it is a problem to mix both c++ libraries since they are not ABI 
compatible. The fact that boost is explicitly build using the gnu stdc++ is a 
remnant and will be removed for the upcoming release.
Thank you for the hint!

Best regards
Andreas


From: Clarkson, Matt [mailto:[email protected]]
Sent: Sonntag, 6. April 2014 21:23
To: MITK
Subject: [mitk-users] Compiling on Mavericks

Hi there,

so after all the recent fixes (thanks!), what is the preferred SDK on Mavericks?

The reason I ask, is the Boost.cmake specifies gnu stdc++
https://github.com/MITK/MITK/blob/master/CMakeExternals/Boost.cmake#L69

But, I if I download MITK master, and compile out of the box, with default 
options, Mavericks will default to clang. The default superbuild compiles and 
mitkWorkbench runs successfully (from the build folder, and from the install 
folder) using clang. Then, if you turn on the boost build, for example by using 
some of the DiffusionImaging stuff, boost will need compiling in the 
superbuild, which will then start compiling gnu c++, so you will end up with a 
mixture. Is that a problem? I dont actually know. I suspect that one should use 
a consistent set of C++ libraries.

is that right? The basic problem is that boost 1.55 does not compile on clang, 
unless you specify libc++.

Thanks

Matt

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to