[Smtk-developers] SMTK

David Thompson david.thompson at kitware.com
Thu Oct 26 11:23:59 EDT 2017


>>> I am seeing the same problem moho is having here:
>>>   https://open.cdash.org/viewBuildError.php?buildid=5116245
>>> on my macos machine. Perhaps it is related to a recent PV change? I hope it is not something I did, but I don't see how. The first error (in vtkModuleAPI.cmake:131):
>>> ...
> 
> My guess:
>    https://gitlab.kitware.com/vtk/vtk/merge_requests/3451

Yes, that appears to be the source of the problem. However, VTK MR 3493 (the suggested fix in 3451's discussion) does not fix the problem for me. Even adding Brad's comment to fix things, I get the log below when running CMake on CMB+SMTK. Also, since 3493 hasn't even been merged to VTK yet, much less ParaView, should we revert the PV sha in the superbuild?

	David

/Stage/Build/cmb/5 % cmake . -Wno-dev
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   system
-- Found PythonLibs: /usr/local/Frameworks/Python.framework/Python (found version "2.7.13") 
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   thread
--   filesystem
--   system
--   chrono
--   date_time
--   atomic
-- Found PythonLibs: /usr/local/Frameworks/Python.framework/Python  
-- Performing Test VTK_UNDEFINED_SYMBOLS_ALLOWED - Failed
CMake Error at ThirdParty/SMTK/CMake/smtkVTKModules.cmake:59 (add_subdirectory):
  The binary directory

    /Stage/Build/cmb/5/ThirdParty/SMTK/smtk/extension/opencv/vtk

  is already used to build a source directory.  It cannot be used to build
  source directory

    /Stage/Source/cmb/5/ThirdParty/SMTK/smtk/extension/opencv/vtk

  Specify a unique binary directory name.
Call Stack (most recent call first):
  ThirdParty/SMTK/smtk/extension/opencv/CMakeLists.txt:25 (vtk_smtk_process_modules)


-- Performing Test VTK_UNDEFINED_SYMBOLS_ALLOWED - Failed
-- CMAKE_CXX_COMPILER_ID='AppleClang'
-- CMAKE_CXX_FLAGS='-Wall -Wextra -Wno-deprecated -Wno-inconsistent-missing-override'
-- CMAKE_C_FLAGS=''
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   thread
--   filesystem
--   system
--   date_time
--   chrono
--   atomic
-- Found PythonInterp: /usr/local/bin/python2.7 (found version "2.7.13") 
-- Found PythonLibs: /usr/local/Frameworks/Python.framework/Python  
-- Configuring incomplete, errors occurred!
See also "/Stage/Build/cmb/5/CMakeFiles/CMakeOutput.log".
See also "/Stage/Build/cmb/5/CMakeFiles/CMakeError.log".



More information about the Smtk-developers mailing list