[vtkusers] Problem with building VTK

Mathieu Westphal mathieu.westphal at kitware.com
Tue Apr 18 04:15:16 EDT 2017


Hi

Your compiler is too recent for this version of vtk. You should either use
the last version of vtk or install an older GCC ( can't give you the
version right now )

Regards

On 18 Apr 2017 9:43 am, "Francesco Migliorini" <
francescomigliorini93 at gmail.com> wrote:

> Hello!
>
> I have a problem with compiling VTK5.10.1; I compile in a build
> subdirectory with cmake and I get this error:
> CMake Error at CMake/vtkCompilerExtras.cmake:40 (if):
>   if given arguments:
>
>     "cc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
>
>   Copyright (C) 2016 Free Software Foundation, Inc.
>
>   This is free software" " see the source for copying conditions.  There is
>   NO
>
>   warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>   PURPOSE." "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND"
>   "HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW"
>   "AND" "NOT" "CYGWIN"
>
>   Unknown arguments specified
> Call Stack (most recent call first):
>   CMakeLists.txt:73 (INCLUDE)
>
>
> -- Configuring incomplete, errors occurred!
> How can I solve this?
>
> Thanks in advance,
> Francesco
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170418/e22c1845/attachment.html>


More information about the vtkusers mailing list