[ITK] [ITK-users] ITK Build Problem
Francois Budin
francois.budin at kitware.com
Mon Sep 25 09:36:31 EDT 2017
Hello,
Thank you for reporting this. It is just a warning message. ITK
configuration and compilation should run correctly despite this message.
You are seeing this message because you are building Module_ITKVtkGlue, and
VTK was built with Qt.It seems that it is actually Qt that is producing
this message.
If you do not need VTK support in ITK, you can disable Module_ITKVtkGlue .
Otherwise it should still work even with the warning message.
Hope this helps,
Francois
On Fri, Sep 22, 2017 at 10:22 PM, arwtyxouymz <arw.tyx-ouy_mz at suou.waseda.jp
> wrote:
> 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 at module@/Qt5 at module@Config.cmake'
>
> 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 at module@/Qt5 at module@Config.cmake'
>
> 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 at module@/Qt5 at module@Config.cmake'
> ```
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170925/2edf6b1a/attachment.html>
-------------- next part --------------
_____________________________________
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
More information about the Community
mailing list