Re: [ITK-users] ITK Build Problem
Francois Budin <[email protected]> Mon, 25 Sep 2017 09:36:31 -0400
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CAHwLD2UAMaX8Hg-eny4HtuO5OnfN2BO7Tr=+hutBpXTJGOcKyA@mail.gmail.com> |
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 <[email protected] > 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@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 > _____________________________________ 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