[Paraview] Build plugin with both local and system vtk

Ellon Paiva ellonpaiva at gmail.com
Fri Apr 22 09:46:42 EDT 2016


Hello all,

I'm wondering if there's a clean way to build paraview from source when 
you also have a VTK version installed in the system.

I'm asking this because I'm using some (ROS <http://www.ros.org/>) 
packages that depends on VTK, thus I already have it installed in my 
system. Then, when trying to build a plugin (for instance PCLPlugin 
<http://www.paraview.org/Wiki/ParaView/PCL_Plugin>) I have the errors 
you can find below. I imagine that's something related with cmake 
finding the system one libraries instead of the ones from my local build.

Does anyone have an idea how to solve this?

Also, any clue of which cmake_policy to define (CMP0023)?

Best,
Ellon


-----------------------------------------------------------------

cmake -DParaView_DIR=/home/emendes/devel/src/paraview-4.0.1/build 
-DPCL_DIR=/home/emendes/devel/src/pcl/build ..
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.6")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- checking for module 'eigen3'
--   found eigen3, version 3.2.0
-- Found eigen: /usr/include/eigen3
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
--   serialization
--   chrono
-- checking for module 'flann'
--   found flann, version 1.8.4
-- Found Flann: /usr/lib/x86_64-linux-gnu/libflann_cpp_s.a
-- checking for module 'openni-dev'
--   package 'openni-dev' not found
-- Found openni: /usr/lib/libOpenNI.so
-- checking for module 'openni2-dev'
--   package 'openni2-dev' not found
-- Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)
** WARNING ** io features related to openni2 will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
-- Some (but not all) targets in this export set were already defined.
Targets Defined: 
vtkWrapTcl;vtkWrapTclInit;vtkWrapPython;vtkWrapPythonInit;vtkParseJava;vtkWrapJava;vtksys;vtkDICOMParser;vtkmetaio;vtkexoIIc;vtkalglib;vtkEncodeString;VPIC;Cosmo;vtkftgl
Targets not yet defined: 
vtkproj4;vtkverdict;vtkCommonTCL;vtkCommonPythonD;vtkCommonJava;vtkCommon;vtkFilteringTCL;vtkFilteringPythonD;vtkFilteringJava;vtkFiltering;vtkImagingTCL;vtkImagingPythonD;vtkImagingJava;vtkImaging;vtkGraphicsTCL;vtkGraphicsPythonD;vtkGraphicsJava;vtkGraphics;vtkGenericFilteringTCL;vtkGenericFilteringPythonD;vtkGenericFilteringJava;vtkGenericFiltering;vtkIOTCL;vtkIOPythonD;vtkIOJava;vtkIO;vtkRenderingTCL;vtkRenderingPythonD;vtkRenderingJava;vtkRendering;vtkRenderingPythonTkWidgets;vtkVolumeRenderingTCL;vtkVolumeRenderingPythonD;vtkVolumeRenderingJava;vtkVolumeRendering;vtkHybridTCL;vtkHybridPythonD;vtkHybridJava;vtkHybrid;vtkWidgetsTCL;vtkWidgetsPythonD;vtkWidgetsJava;vtkWidgets;vtkParallelTCL;vtkParallelPythonD;vtkParallelJava;vtkParallel;vtkInfovisTCL;vtkInfovisPythonD;vtkInfovisJava;vtkInfovis;vtkGeovisTCL;vtkGeovisPythonD;vtkGeovisJava;vtkGeovis;vtkViewsTCL;vtkViewsPythonD;vtkViewsJava;vtkViews;vtkQtChart;QVTK;vtkChartsTCL;vtkChartsPythonD;vtkChartsJava;vtkCharts;vtk;pvtk;vtkPythonCore

CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:47 (add_executable):
   add_executable cannot create imported target "vtkWrapTcl" because another
   target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:50 (add_executable):
   add_executable cannot create imported target "vtkWrapTclInit" because
   another target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:53 (add_executable):
   add_executable cannot create imported target "vtkWrapPython" because
   another target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:56 (add_executable):
   add_executable cannot create imported target "vtkWrapPythonInit" because
   another target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:59 (add_executable):
   add_executable cannot create imported target "vtkParseJava" because 
another
   target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:62 (add_executable):
   add_executable cannot create imported target "vtkWrapJava" because 
another
   target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:65 (add_library):
   add_library cannot create imported target "vtksys" because another target
   with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:68 (add_library):
   add_library cannot create imported target "vtkDICOMParser" because 
another
   target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:77 (add_library):
   add_library cannot create imported target "vtkmetaio" because another
   target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:80 (add_library):
   add_library cannot create imported target "vtkexoIIc" because another
   target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:83 (add_library):
   add_library cannot create imported target "vtkalglib" because another
   target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:86 (add_executable):
   add_executable cannot create imported target "vtkEncodeString" because
   another target with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:89 (add_library):
   add_library cannot create imported target "VPIC" because another target
   with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:92 (add_library):
   add_library cannot create imported target "Cosmo" because another target
   with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:95 (add_library):
   add_library cannot create imported target "vtkftgl" because another 
target
   with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:324 (find_package)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:464 (find_VTK)
   /home/emendes/devel/src/pcl/build/PCLConfig.cmake:646 
(find_external_library)
   CMakeLists.txt:9 (find_package)


-- Found libusb-1.0: /usr/include
-- Found qhull: /usr/lib/x86_64-linux-gnu/libqhull.so
-- checking for module 'openni-dev'
--   package 'openni-dev' not found
-- checking for module 'openni2-dev'
--   package 'openni2-dev' not found
-- Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)
** WARNING ** visualization features related to openni2 will be disabled
-- looking for PCL_COMMON
-- Found PCL_COMMON: /home/emendes/devel/src/pcl/build/lib/libpcl_common.so
-- looking for PCL_OCTREE
-- Found PCL_OCTREE: /home/emendes/devel/src/pcl/build/lib/libpcl_octree.so
-- looking for PCL_KDTREE
-- Found PCL_KDTREE: /home/emendes/devel/src/pcl/build/lib/libpcl_kdtree.so
-- looking for PCL_SEARCH
-- Found PCL_SEARCH: /home/emendes/devel/src/pcl/build/lib/libpcl_search.so
-- looking for PCL_SAMPLE_CONSENSUS
-- Found PCL_SAMPLE_CONSENSUS: 
/home/emendes/devel/src/pcl/build/lib/libpcl_sample_consensus.so
-- looking for PCL_FILTERS
-- Found PCL_FILTERS: 
/home/emendes/devel/src/pcl/build/lib/libpcl_filters.so
-- looking for PCL_FEATURES
-- Found PCL_FEATURES: 
/home/emendes/devel/src/pcl/build/lib/libpcl_features.so
-- looking for PCL_REGISTRATION
-- Found PCL_REGISTRATION: 
/home/emendes/devel/src/pcl/build/lib/libpcl_registration.so
-- looking for PCL_IO
-- Found PCL_IO: /home/emendes/devel/src/pcl/build/lib/libpcl_io.so
-- looking for PCL_GEOMETRY
-- Found PCL_GEOMETRY: /home/emendes/devel/src/pcl/geometry/include
-- looking for PCL_KEYPOINTS
-- Found PCL_KEYPOINTS: 
/home/emendes/devel/src/pcl/build/lib/libpcl_keypoints.so
-- looking for PCL_SURFACE
-- Found PCL_SURFACE: 
/home/emendes/devel/src/pcl/build/lib/libpcl_surface.so
-- looking for PCL_SEGMENTATION
-- Found PCL_SEGMENTATION: 
/home/emendes/devel/src/pcl/build/lib/libpcl_segmentation.so
-- looking for PCL_RECOGNITION
-- Found PCL_RECOGNITION: 
/home/emendes/devel/src/pcl/build/lib/libpcl_recognition.so
-- looking for PCL_VISUALIZATION
-- Found PCL_VISUALIZATION: 
/home/emendes/devel/src/pcl/build/lib/libpcl_visualization.so
-- looking for PCL_PEOPLE
-- Found PCL_PEOPLE: /home/emendes/devel/src/pcl/build/lib/libpcl_people.so
-- looking for PCL_OUTOFCORE
-- Found PCL_OUTOFCORE: 
/home/emendes/devel/src/pcl/build/lib/libpcl_outofcore.so
-- looking for PCL_TRACKING
-- Found PCL_TRACKING: 
/home/emendes/devel/src/pcl/build/lib/libpcl_tracking.so
-- Found PCL: 
/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_iostreams.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libpthread.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_common.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_common.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_octree.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_octree.so;optimized;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;debug;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_kdtree.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_kdtree.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_search.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_search.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_sample_consensus.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_sample_consensus.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_filters.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_filters.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_features.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_features.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_registration.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_registration.so;/usr/lib/libOpenNI.so;vtkCommon;vtkFiltering;vtkImaging;vtkGraphics;vtkGenericFiltering;vtkIO;vtkRendering;vtkVolumeRendering;vtkHybrid;vtkWidgets;vtkParallel;vtkInfovis;vtkGeovis;vtkViews;vtkCharts;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_io.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_io.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_keypoints.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_keypoints.so;optimized;/usr/lib/x86_64-linux-gnu/libqhull.so;debug;/usr/lib/x86_64-linux-gnu/libqhull.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_surface.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_surface.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_segmentation.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_segmentation.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_recognition.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_recognition.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_visualization.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_visualization.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_people.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_people.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_outofcore.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_outofcore.so;optimized;/home/emendes/devel/src/pcl/build/lib/libpcl_tracking.so;debug;/home/emendes/devel/src/pcl/build/lib/libpcl_tracking.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_iostreams.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libpthread.so;optimized;/usr/lib/x86_64-linux-gnu/libqhull.so;debug;/usr/lib/x86_64-linux-gnu/libqhull.so;/usr/lib/libOpenNI.so;optimized;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;debug;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;vtkCommon;vtkFiltering;vtkImaging;vtkGraphics;vtkGenericFiltering;vtkIO;vtkRendering;vtkVolumeRendering;vtkHybrid;vtkWidgets;vtkParallel;vtkInfovis;vtkGeovis;vtkViews;vtkCharts 

-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Warning (dev) at CMakeLists.txt:109 (target_link_libraries):
   Policy CMP0023 is not set: Plain and keyword target_link_libraries
   signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
   details.  Use the cmake_policy command to set the policy and suppress 
this
   warning.

   The plain signature for target_link_libraries has already been used with
   the target "vtkPCLFilters".  All uses of target_link_libraries with a
   target should be either all-keyword or all-plain.

   The uses of the plain signature are here:

    * 
/home/emendes/devel/src/paraview-4.0.1/CMake/ParaViewPlugins.cmake:1086 
(TARGET_LINK_LIBRARIES)
    * 
/home/emendes/devel/src/paraview-4.0.1/CMake/ParaViewPlugins.cmake:1089 
(TARGET_LINK_LIBRARIES)

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also 
"/home/emendes/devel/src/paraview_plugins/PCLPlugin/build/CMakeFiles/CMakeOutput.log".
See also 
"/home/emendes/devel/src/paraview_plugins/PCLPlugin/build/CMakeFiles/CMakeError.log".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160422/204ab1da/attachment.html>


More information about the ParaView mailing list