[Paraview] plugins with 5.2
Burlen Loring
burlen.loring at gmail.com
Wed Dec 21 13:25:33 EST 2016
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161221/99f4fdc3/attachment.html>
More information about the ParaView
mailing list