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. _______________________________________________ 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