[Paraview-developers] [EXTERNAL] Build error - Windows

Scott, W Alan wascott at sandia.gov
Fri Nov 9 21:53:36 EST 2012


Changing file ParaViewDetermineVersion.cmake as follows works, but obviously it is a hack.

  #if (${result} EQUAL 0)
  #  string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)[-]*(.*)"
  #    version_matches ${output})
    if (CMAKE_MATCH_0)
      message(STATUS "Determined Source Version : ${CMAKE_MATCH_0}")
      set (full ${CMAKE_MATCH_0})
      set (major ${CMAKE_MATCH_1})
      set (minor ${CMAKE_MATCH_2})
      set (patch ${CMAKE_MATCH_3})
      set (patch_extra ${CMAKE_MATCH_4})
    endif()
  #endif()


Alan



From: paraview-developers-bounces at paraview.org [mailto:paraview-developers-bounces at paraview.org] On Behalf Of Scott, W Alan
Sent: Friday, November 09, 2012 7:06 PM
To: paraview-developers at paraview.org
Subject: [EXTERNAL] [Paraview-developers] Build error - Windows

Utkarsh,
I am seeing the following cmake error when trying to build ParaView.  This is a master pull from a few minutes ago.  Clean pull.  As always, this is from behind a firewall, thus Kitware git cannot be found.

Could NOT find Git (missing: GIT_EXECUTABLE)
CMake Error at CMake/ParaViewDetermineVersion.cmake:54 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:90 (determine_version)

Thanks,

Alan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20121110/48822721/attachment.htm>


More information about the Paraview-developers mailing list