[Paraview] /usr/bin/paraview not packaged with CPack in Paraview 4.3.1 Superbuild

Anthony Crognale Anthony.Crognale at spacex.com
Sun Sep 13 22:00:22 EDT 2015


Ben,

After enabling qt and recompiling after a clean, I receive the following error:

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

Thanks,
Anthony
________________________________________
From: Ben Boeckel <ben.boeckel at kitware.com>
Sent: Sunday, September 13, 2015 9:35 PM
To: Anthony Crognale
Cc: paraview at paraview.org
Subject: Re: [Paraview] /usr/bin/paraview not packaged with CPack in Paraview 4.3.1 Superbuild

On Mon, Sep 14, 2015 at 00:55:42 +0000, Anthony Crognale wrote:
> /usr/bin/paraview is not in this list, nor the other binaries that I
> would expect when it is built.

Usually means Qt wasn't enabled.

> I've attached my CMakeCache.txt to this email as it would be rather
> large to paste.
>
> Any thoughts?

<snip>

> //Request to build project qt
> ENABLE_qt:BOOL=OFF
>
> //No help, variable specified on the command line.
> ENABLE_qt4:UNINITIALIZED=ON

It looks like you're not enabling Qt. I think qt was renamed to qt4
after 4.3.1 was released (when we tried using qt5, but we will have to
wait until at least 5.5.1 for some bugs). I'll check tomorrow when we
did the rename, but setting ENABLE_qt should work (check the list of
enabled projects during configure).

--Ben



More information about the ParaView mailing list