[ITK-users] ITK Build Problem

arwtyxouymz <[email protected]> Fri, 22 Sep 2017 19:22:54 -0700 (MST)
Newsgroups gmane.comp.lib.itk.user
Message-ID <[email protected]>
Hi,

I have a problem building ITK.
I try to configure, this error message occur.

```
CMake Warning (dev) at
/usr/local/Cellar/qt/5.9.1/lib/cmake/Qt5/Qt5ModuleLocation.cmake:4 (set):
   Policy CMP0053 is not set: Simplify variable reference and escape
sequence
   evaluation.  Run "cmake --help-policy CMP0053" for policy details.  Use
the
   cmake_policy command to set the policy and suppress this warning.

   For input:

     '${_qt5_install_prefix}/Qt5@module@/Qt5@module-GASR7CeUB/[email protected]'

   the old evaluation rules produce:

     '/usr/local/Cellar/qt/5.9.1/lib/cmake/Qt5/Qt5Config.cmake'

   but the new evaluation rules produce:


'/usr/local/Cellar/qt/5.9.1/lib/cmake/Qt5@module@/Qt5@module-GASR7CeUB/[email protected]'

   Using the old result for compatibility since the policy is not set.
 Call Stack (most recent call first):
   /usr/local/Cellar/qt/5.9.1/lib/cmake/Qt5/Qt5Config.cmake:25 (include)
   /usr/local/lib/cmake/vtk-8.0/Modules/vtkGUISupportQtOpenGL.cmake:14
(find_package)
   /usr/local/lib/cmake/vtk-8.0/vtkModuleAPI.cmake:45 (include)
   /usr/local/lib/cmake/vtk-8.0/vtkModuleAPI.cmake:15 (vtk_module_load)
   /usr/local/lib/cmake/vtk-8.0/vtkModuleAPI.cmake:132
(_vtk_module_config_recurse)
   /usr/local/lib/cmake/vtk-8.0/VTKConfig.cmake:135 (vtk_module_config)
   Modules/Bridge/VtkGlue/itk-module-init.cmake:9 (find_package)
   CMake/ITKModuleEnablement.cmake:316 (include)
   CMakeLists.txt:337 (include)
 This warning is for project developers.  Use -Wno-dev to suppress it.


 CMake Warning (dev) at
/usr/local/Cellar/qt/5.9.1/lib/cmake/Qt5/Qt5ModuleLocation.cmake:4 (set):
   Policy CMP0053 is not set: Simplify variable reference and escape
sequence
   evaluation.  Run "cmake --help-policy CMP0053" for policy details.  Use
the
   cmake_policy command to set the policy and suppress this warning.

   For input:

     '${_qt5_install_prefix}/Qt5@module@/Qt5@module-GASR7CeUB/[email protected]'
```

My OS is Mac OS X 10.12.6 and QT version is 5.9.1
Why does this problem occur and how should i recover this problem?

Please help me!




--
Sent from: http://itk-users.7.n7.nabble.com/
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users