[vtk-developers] TestMathTextFreeTypeTextRenderer depends on matplotlib?
Kathleen S. Biagas
biagas2 at llnl.gov
Thu Apr 25 14:15:06 EDT 2013
Looks like my error. I forgot to add VTK_DATA_ROOT to the build, so I
guess I was getting erroneous 'pass'.
And no, matplotlib is not installed.
I guess I will only worry about the NoMath version for now,
Thanks, and sorry for the unnecessary email.
Kathleen
On Thu, 2013-04-25 at 13:44 -0400, David Lonie wrote:
> Hi Kathleen,
>
> On Thu, Apr 25, 2013 at 1:01 PM, Kathleen S. Biagas <biagas2 at llnl.gov> wrote:
> > I wanted to run the freetype cxx tests (Rendering/FreeType/Testing/Cxx),
> > but during configure, I get this message:
> >
> > Matplotlib not found! MathText rendering will not be available until it
> > is installed. Disabling tests.
>
> Is matplotlib installed? This message is printed when
>
> ${PYTHON_EXECUTABLE} -c "import matplotlib"
>
> fails (as in exits with non-zero return code). If you run this on the
> command-line using the same python interpreter as VTK, what is the
> exit code?
>
> > After the build, I ran
> > ctest -R TestMathText
> >
> > TestMathTextFreeTypeTextRendererNoMath was the only test that ran.
> >
> > If I comment out the Matplotlib references in the CMakeLists.txt file,
> > and rebuild, then both TestMathTextFreeTypeTextRenderer and
> > TestMathTextFreeTypeTextRendererNoMath run and pass.
> >
> > Is there something I'm missing in the requirement of Matplotlib for this
> > test? Or can this be removed?
>
> If matplotlib isn't installed, the test should definitely fail --
> several elements of that test's output depend on matplotlib's presence
> to get correctly renderered.
>
> Dave
More information about the vtk-developers
mailing list