[Paraview] /usr/bin/paraview not packaged with CPack in Paraview 4.3.1 Superbuild
Ben Boeckel
ben.boeckel at kitware.com
Mon Sep 14 10:12:25 EDT 2015
On Mon, Sep 14, 2015 at 02:00:22 +0000, Anthony Crognale wrote:
> After enabling qt and recompiling after a clean, I receive the following error:
"make clean" isn't really reliable in a superbuild. I usually do "rm -rf
*/"[1] in the build tree to keep the cache but kill any state related to
the build.
> .obj/release-shared/qpnghandler.o: In function `QPngHandlerPrivate::readPngHeader()':
> qpnghandler.cpp:(.text+0xb4f): undefined reference to `png_set_longjmp_fn'
> .obj/release-shared/qpnghandler.o: In function `QPngHandlerPrivate::readPngImage(QImage*)':
> qpnghandler.cpp:(.text+0xdbd): undefined reference to `png_set_longjmp_fn'
> .obj/release-shared/qpnghandler.o: In function `QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int)':
> qpnghandler.cpp:(.text+0x1a0c): undefined reference to `png_set_longjmp_fn'
> collect2: error: ld returned 1 exit status
> make[4]: *** [../../lib/libQtGui.so.4.8.6] Error 1
> Makefile:1073: recipe for target '../../lib/libQtGui.so.4.8.6' failed
> make[3]: *** [sub-gui-make_default-ordered] Error 2
> Makefile:382: recipe for target 'sub-gui-make_default-ordered' failed
> CMake Error at /home/acrognale/paraview/build/pv-qt-build.cmake:26 (message):
>
> Any thoughts?
Are you using a system libpng? What version is it?
--Ben
[1]More surgical is "rm -rf install/ */src/*-stamp/*-install", but this
still has cases where it is insufficient.
More information about the ParaView
mailing list