<div dir="ltr">Hello!<div><br></div><div><div>I´m use an older version of CMAKE 2.8.9 and worked normally but the version of cmake-2.8.12.2-win32-x86 has shown the same error.</div><div><br></div><div>thanks</div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr"><div><br></div>Leandro Gazoni</div></div>
<br><br><div class="gmail_quote">2014-04-02 11:57 GMT-03:00 Kevin Funk <span dir="ltr"><<a href="mailto:kevin.funk@kdab.com" target="_blank">kevin.funk@kdab.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wednesday 26 March 2014, 00:49, Rodrigo Lovera wrote:<br>
> Hello everyone,<br>
><br>
><br>
> I'm trying to get back on my thesis work using VTK and QT on C++ visual<br>
> studio environment, on my old pc didn't have issues while building vtk<br>
> library with qt use but now im getting the following error msg at cmake.<br>
> Hope someone can help me get rid of it. Thanks in advance.<br>
><br>
> I was building VTK 5.10.1 with QT 4.8.2 and using Cmake 2.8.12<br>
><br>
> The error in cmake goes as follows:<br>
><br>
> CMake Warning (dev) in Common/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkCommon" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtksys;wsock32;vtksys<br>
><br>
> Link implementation:<br>
><br>
> vtksys;wsock32<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Filtering/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkFiltering" has an INTERFACE_LINK_LIBRARIES property. This<br>
> should be preferred as the source of the link interface for this library<br>
> but because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkCommon;vtkCommon<br>
><br>
> Link implementation:<br>
><br>
> vtkCommon<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Graphics/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkGraphics" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkFiltering;vtkverdict;vtkFiltering<br>
><br>
> Link implementation:<br>
><br>
> vtkFiltering;vtkverdict<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Imaging/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkImaging" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkFiltering;vtkFiltering<br>
><br>
> Link implementation:<br>
><br>
> vtkFiltering<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in IO/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkIO" has an INTERFACE_LINK_LIBRARIES property. This should be<br>
> preferred as the source of the link interface for this library but because<br>
> CMP0022 is not set CMake is ignoring the property and using the link<br>
> implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkFiltering;vtkDICOMParser;vtkNetCDF;vtkNetCDF_cxx;LSDyna;vtkmetaio;vtksqli<br>
> te;vtkpng;vtkzlib;vtkjpeg;vtktiff;vtkexpat;vtksys;vfw32;vtkFiltering<br>
><br>
> Link implementation:<br>
><br>
> vtkFiltering;vtkDICOMParser;vtkNetCDF;vtkNetCDF_cxx;LSDyna;vtkmetaio;vtksqli<br>
> te;vtkpng;vtkzlib;vtkjpeg;vtktiff;vtkexpat;vtksys;vfw32<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Rendering/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkRendering" has an INTERFACE_LINK_LIBRARIES property. This<br>
> should be preferred as the source of the link interface for this library<br>
> but because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkGraphics;vtkImaging;vtkIO;vtkftgl;vtkfreetype;opengl32;vtkGraphics;vtkIma<br>
> ging<br>
><br>
> Link implementation:<br>
><br>
> vtkGraphics;vtkImaging;vtkIO;vtkftgl;vtkfreetype;opengl32<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Hybrid/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkHybrid" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkRendering;vtkIO;vtkexoIIc;vfw32;vtkftgl;vtkRendering;vtkIO<br>
><br>
> Link implementation:<br>
><br>
> vtkRendering;vtkIO;vtkexoIIc;vfw32;vtkftgl<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in VolumeRendering/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkVolumeRendering" has an INTERFACE_LINK_LIBRARIES property. This<br>
> should be preferred as the source of the link interface for this library<br>
> but because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkRendering;vtkIO;opengl32;vtkRendering;vtkIO<br>
><br>
> Link implementation:<br>
><br>
> vtkRendering;vtkIO;opengl32<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Widgets/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkWidgets" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkRendering;vtkHybrid;vtkVolumeRendering;opengl32;vtkRendering;vtkHybrid;vt<br>
> kVolumeRendering<br>
><br>
> Link implementation:<br>
><br>
> vtkRendering;vtkHybrid;vtkVolumeRendering;opengl32<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Views/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkViews" has an INTERFACE_LINK_LIBRARIES property. This should be<br>
> preferred as the source of the link interface for this library but because<br>
> CMP0022 is not set CMake is ignoring the property and using the link<br>
> implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkInfovis;vtkInfovis<br>
><br>
> Link implementation:<br>
><br>
> vtkInfovis<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Infovis/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkInfovis" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkWidgets;vtklibxml2;vtkalglib;vtkWidgets<br>
><br>
> Link implementation:<br>
><br>
> vtkWidgets;vtklibxml2;vtkalglib<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in GenericFiltering/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkGenericFiltering" has an INTERFACE_LINK_LIBRARIES property.<br>
> This should be preferred as the source of the link interface for this<br>
> library but because CMP0022 is not set CMake is ignoring the property and<br>
> using the link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkFiltering;vtkGraphics;vtkFiltering;vtkGraphics<br>
><br>
> Link implementation:<br>
><br>
> vtkFiltering;vtkGraphics<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Geovis/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkGeovis" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkWidgets;vtkViews;vtkproj4;vtkWidgets;vtkViews<br>
><br>
> Link implementation:<br>
><br>
> vtkWidgets;vtkViews;vtkproj4<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> CMake Warning (dev) in Charts/CMakeLists.txt:<br>
> Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link<br>
> interface. Run "cmake --help-policy CMP0022" for policy details. Use the<br>
> cmake_policy command to set the policy and suppress this warning.<br>
><br>
> Target "vtkCharts" has an INTERFACE_LINK_LIBRARIES property. This should<br>
> be preferred as the source of the link interface for this library but<br>
> because CMP0022 is not set CMake is ignoring the property and using the<br>
> link implementation as the link interface instead.<br>
><br>
> INTERFACE_LINK_LIBRARIES:<br>
><br>
> vtkViews;vtkftgl;vtkViews<br>
><br>
> Link implementation:<br>
><br>
> vtkViews;vtkftgl<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
<br>
</div></div>This is a *warning* after all, not an error.<br>
<br>
What is the real error you get?<br>
<br>
Greets<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Join us at Qt Developer Days 2014 in Berlin! - <a href="https://devdays.kdab.com" target="_blank">https://devdays.kdab.com</a><br>
<br>
Kevin Funk | <a href="mailto:kevin.funk@kdab.com">kevin.funk@kdab.com</a> | Software Engineer<br>
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company<br>
Tel. Germany <a href="tel:%2B49-30-521325470" value="+4930521325470">+49-30-521325470</a>, Sweden (HQ) <a href="tel:%2B46-563-540090" value="+46563540090">+46-563-540090</a><br>
KDAB - Qt Experts - Platform-independent software solutions<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div></div>