After upgrading to 5.2 my plugin is not compiling. When I configure the plugin I see a few pages of the following:

   CMake Warning (dev) at io/CMakeLists.txt:54 (add_library):
      Policy CMP0028 is not set: Double colon in target name means ALIAS or
      IMPORTED target.  Run "cmake --help-policy CMP0028" for policy
   details.
      Use the cmake_policy command to set the policy and suppress this
   warning.

      Target "teca_io" links to target "Qt4::QtCore" but the target was not
      found.  Perhaps a find_package() call is missing for an IMPORTED
   target, or
      an ALIAS target is missing?
   This warning is for project developers.  Use -Wno-dev to suppress it.

then linker errors

   [ 32%] Linking CXX shared library ../lib/libteca_io.so
   /bin/ld: cannot find -lQt4::QtCore
   /bin/ld: cannot find -lQt4::QtGui
   collect2: error: ld returned 1 exit status
   io/CMakeFiles/teca_io.dir/build.make:402: recipe for target
   'lib/libteca_io.so' failed
   make[2]: *** [lib/libteca_io.so] Error 1
   CMakeFiles/Makefile2:196: recipe for target
   'io/CMakeFiles/teca_io.dir/all' failed
   make[1]: *** [io/CMakeFiles/teca_io.dir/all] Error 2
   Makefile:127: recipe for target 'all' failed
   make: *** [all] Error 2

It's not a library so I set the policy to new, and the cmake configure errors out. Any idea what's missing?

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to