Quantcast

Problem with building VTK

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with building VTK

Francesco Migliorini
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with building VTK

Mathieu Westphal
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" <[hidden email]> 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


_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with building VTK

Ben Boeckel
On Tue, Apr 18, 2017 at 10:15:16 +0200, Mathieu Westphal wrote:
> 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 )

IIRC, the regex fails for 6 and up. You can fix it locally, but I doubt
this is the end of the problems with VTK5 on newer machines:

    https://gitlab.kitware.com/vtk/vtk/commit/52501fd085a64b55d1b53d40c1d3f86c6ce9addd
    https://gitlab.kitware.com/vtk/vtk/commit/06e2a00bf8accb04db63b3c1c7a454e4afc6fea6
    https://gitlab.kitware.com/vtk/vtk/commit/77bd9900662770d83042f3ca8198d7908bba1d63

--Ben
_______________________________________________
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
Loading...