[vtkusers] [vtk-developers] VTK updated to CMake 3.3 and C++11
bill.lorensen at gmail.com
Wed Jan 18 14:37:17 EST 2017
Thanks, I can test it for you.
On Jan 18, 2017 2:32 PM, "Robert Maynard" <robert.maynard at kitware.com>
> I agree that the current error messages are not sufficient. I will
> work on a MR that provides better error reporting.
> On Wed, Jan 18, 2017 at 1:21 PM, Bill Lorensen <bill.lorensen at gmail.com>
> > I have a computer with a non-c++11 compiler. I would expect a better
> > error message.
> > Something like: VTK requires a c++11 compiler.
> > After update vtk I get these cmake errors
> > "Clang"
> > version 3.0.0.
> > Call Stack (most recent call first):
> > CMake/vtkModuleMacros.cmake:646 (vtk_add_library)
> > Common/Core/CMakeLists.txt:724 (vtk_module_library)
> > CMake Error at CMake/vtkModuleAPI.cmake:53 (message):
> > No such module: "vtkCommonCore"
> > Call Stack (most recent call first):
> > CMake/vtkModuleAPI.cmake:15 (vtk_module_load)
> > CMake/vtkModuleAPI.cmake:132 (_vtk_module_config_recurse)
> > CMake/vtkModuleMacros.cmake:180 (vtk_module_config)
> > CMake/vtkModuleMacros.cmake:582 (vtk_module_impl)
> > Common/Math/CMakeLists.txt:40 (vtk_module_library)
> > On Wed, Jan 18, 2017 at 12:11 PM, Robert Maynard
> > <robert.maynard at kitware.com> wrote:
> >> I am happy to announce that over the last two weeks we have rolled out a
> >> series of updates to VTK that mean the minimum required CMake version
> >> is now 3.3 (see below), and now builds with C+11 enabled.
> >> Yes VTK now requires a C++11 capable compiler. Initial we are only
> asking for a
> >> minimal set of C++11 features (nullptr), but as continue forward
> through the
> >> year we are going require a larger set of C++11 features. The final
> >> versions for each compiler have not been set in stone, but a rough
> >> would be:
> >> - GCC 4.8+
> >> - Clang 3.3+
> >> - XCode 5.0+
> >> - MSVC 2013+
> >> I wanted to send this announcement out to bring up a couple of points:
> >> 1. Thanks to everyone that has helped get VTK ready for C++11! The
> final CMake
> >> switch over to C++11 was very easy, only because of all the hard work
> that other
> >> developers did in anticipation of this. So thank you very much.
> >> 2. The major reason for this slow roll out of C++11 is so that we
> minimize the
> >> impact on current VTK merge requests, while also minimizing dashboard
> >> instability. Contributors please be aware of these changes if you have
> >> running branches.
> >> 3. We currently have dashboard machines running GCC 4.6 & 4.7. We are
> >> working up a plan on how best to transition these machines to at least
> GCC 4.8
> >> as the roll out continues.
> >> 4. The current MinGW dashboard machine doesn't support C++11 and will be
> >> removed, with no plan of a replacement at Kitware. If the community is
> >> interested in maintaining a newer MinGW machine I can provide assistance
> >> on how to setup a machine.
> >> ============
> >> Why CMake 3.3:
> >> We have chosen CMake 3.3 as the minimum required version for numerous
> >> the most important of those reasons being:
> >> - It is the first CMake release that offers C++11 support for all four
> >> compilers ( GCC / MSVC / Clang / XCode ).
> >> - The CMake version is sufficiently new enough that it allows for a
> >> of the existing CMake infrastructure. The current CMake minimum
> >> requires VTK to maintain forks of numerous FindPackages and Modules
> that are
> >> part of newer CMake versions.
> >> - Supports HTTPS downloads, with all the official binaries come with
> >> Allowing for migration of external data to a HTTPS only server.
> Something we
> >> are going to require in the near future.
> >> _______________________________________________
> >> Powered by www.kitware.com
> >> Visit other Kitware open-source projects at http://www.kitware.com/
> >> Search the list archives at: http://markmail.org/search/?q=
> >> Follow this link to subscribe/unsubscribe:
> >> http://public.kitware.com/mailman/listinfo/vtk-developers
> > --
> > Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers