OpenChemistry / avogadrolibs

Avogadro libraries provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas.
https://two.avogadro.cc/
BSD 3-Clause "New" or "Revised" License
461 stars 172 forks source link

Build failure with VTK-8.1.0 #261

Closed a17r closed 6 years ago

a17r commented 6 years ago
/var/tmp/portage/sci-libs/avogadrolibs-1.91.0_pre20180406/work/avogadrolibs-f414794a168712f72884cdcfba818def5f42e721/avogadro/qtplugins/plotxrd/xrdvtkplot.cpp:20:10: fatal error: vtkContextView.h: No such file or directory
 #include <vtkContextView.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [avogadro/qtplugins/plotxrd/CMakeFiles/PlotXrd.dir/build.make:93: avogadro/qtplugins/plotxrd/CMakeFiles/PlotXrd.dir/xrdvtkplot.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

This header seems to be gone from the latest version of VTK.

cryos commented 6 years ago

It is still there, in vtkViewsContext2D, is this from a VTK you built/installed? The superbuild attempts to make a minimal VTK build, I see that module specified there.

a17r commented 6 years ago

yes, I'll try with more features for VTK enabled, will report back.

a17r commented 6 years ago

Sorry for the noise, this built fine indeed after I enabled vtk[views].