[vtkusers] Building VTK+QT with Visual Studio 2010 C++ in Win7
Rodrigo Lovera
lobo.theslayer at gmail.com
Wed Mar 26 01:49:42 EDT 2014
Hello everyone,
I'm trying to get back on my thesis work using VTK and QT on C++ visual
studio environment, on my old pc didn't have issues while building vtk
library with qt use but now im getting the following error msg at cmake.
Hope someone can help me get rid of it. Thanks in advance.
I was building VTK 5.10.1 with QT 4.8.2 and using Cmake 2.8.12
The error in cmake goes as follows:
CMake Warning (dev) in Common/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkCommon" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtksys;wsock32;vtksys
Link implementation:
vtksys;wsock32
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Filtering/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkFiltering" has an INTERFACE_LINK_LIBRARIES property. This
should be preferred as the source of the link interface for this library
but because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkCommon;vtkCommon
Link implementation:
vtkCommon
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Graphics/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkGraphics" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkFiltering;vtkverdict;vtkFiltering
Link implementation:
vtkFiltering;vtkverdict
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Imaging/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkImaging" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkFiltering;vtkFiltering
Link implementation:
vtkFiltering
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in IO/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkIO" has an INTERFACE_LINK_LIBRARIES property. This should be
preferred as the source of the link interface for this library but because
CMP0022 is not set CMake is ignoring the property and using the link
implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkFiltering;vtkDICOMParser;vtkNetCDF;vtkNetCDF_cxx;LSDyna;vtkmetaio;vtksqlite;vtkpng;vtkzlib;vtkjpeg;vtktiff;vtkexpat;vtksys;vfw32;vtkFiltering
Link implementation:
vtkFiltering;vtkDICOMParser;vtkNetCDF;vtkNetCDF_cxx;LSDyna;vtkmetaio;vtksqlite;vtkpng;vtkzlib;vtkjpeg;vtktiff;vtkexpat;vtksys;vfw32
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Rendering/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkRendering" has an INTERFACE_LINK_LIBRARIES property. This
should be preferred as the source of the link interface for this library
but because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkGraphics;vtkImaging;vtkIO;vtkftgl;vtkfreetype;opengl32;vtkGraphics;vtkImaging
Link implementation:
vtkGraphics;vtkImaging;vtkIO;vtkftgl;vtkfreetype;opengl32
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Hybrid/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkHybrid" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkRendering;vtkIO;vtkexoIIc;vfw32;vtkftgl;vtkRendering;vtkIO
Link implementation:
vtkRendering;vtkIO;vtkexoIIc;vfw32;vtkftgl
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in VolumeRendering/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkVolumeRendering" has an INTERFACE_LINK_LIBRARIES property. This
should be preferred as the source of the link interface for this library
but because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkRendering;vtkIO;opengl32;vtkRendering;vtkIO
Link implementation:
vtkRendering;vtkIO;opengl32
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Widgets/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkWidgets" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkRendering;vtkHybrid;vtkVolumeRendering;opengl32;vtkRendering;vtkHybrid;vtkVolumeRendering
Link implementation:
vtkRendering;vtkHybrid;vtkVolumeRendering;opengl32
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Views/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkViews" has an INTERFACE_LINK_LIBRARIES property. This should be
preferred as the source of the link interface for this library but because
CMP0022 is not set CMake is ignoring the property and using the link
implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkInfovis;vtkInfovis
Link implementation:
vtkInfovis
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Infovis/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkInfovis" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkWidgets;vtklibxml2;vtkalglib;vtkWidgets
Link implementation:
vtkWidgets;vtklibxml2;vtkalglib
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in GenericFiltering/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkGenericFiltering" has an INTERFACE_LINK_LIBRARIES property.
This should be preferred as the source of the link interface for this
library but because CMP0022 is not set CMake is ignoring the property and
using the link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkFiltering;vtkGraphics;vtkFiltering;vtkGraphics
Link implementation:
vtkFiltering;vtkGraphics
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Geovis/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkGeovis" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkWidgets;vtkViews;vtkproj4;vtkWidgets;vtkViews
Link implementation:
vtkWidgets;vtkViews;vtkproj4
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in Charts/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "vtkCharts" has an INTERFACE_LINK_LIBRARIES property. This should
be preferred as the source of the link interface for this library but
because CMP0022 is not set CMake is ignoring the property and using the
link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
vtkViews;vtkftgl;vtkViews
Link implementation:
vtkViews;vtkftgl
This warning is for project developers. Use -Wno-dev to suppress it.
--
*Rodrigo aka WarHearT*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140326/4d074b7b/attachment.html>
More information about the vtkusers
mailing list