<div dir="ltr"><div>Hi,<br><br></div>After AutobahnPython and related ones, it complains about smTestDriver, vtkEyeDomeLighting, vtkPVCatalyst, and many more. Is it possible that the cmake code that computes the list VTK_MODULES_ENABLED isn't correct? Here's the contents of VTK_MODULES_ENABLED:<br>
<br>AutobahnPython<br>Twisted<br>ZopeInterface<br>pqApplicationComponents<br>pqComponents<br>pqCore<br>pqPython<br>pqWidgets<br>smTestDriver<br>vtkChartsCore<br>vtkClientServer<br>vtkCommonColor<br>vtkCommonComputationalGeometry<br>
vtkCommonCore<br>vtkCommonDataModel<br>vtkCommonExecutionModel<br>vtkCommonMath<br>vtkCommonMisc<br>vtkCommonSystem<br>vtkCommonTransforms<br>vtkCosmo<br>vtkDICOMParser<br>vtkDomainsChemistry<br>vtkEyeDomeLighting<br>vtkFiltersAMR<br>
vtkFiltersCore<br>vtkFiltersCosmo<br>vtkFiltersExtraction<br>vtkFiltersFlowPaths<br>vtkFiltersGeneral<br>vtkFiltersGeneric<br>vtkFiltersGeometry<br>vtkFiltersHybrid<br>vtkFiltersHyperTree<br>vtkFiltersModeling<br>vtkFiltersParallel<br>
vtkFiltersParallelStatistics<br>vtkFiltersProgrammable<br>vtkFiltersSources<br>vtkFiltersStatistics<br>vtkFiltersTexture<br>vtkFiltersVerdict<br>vtkGUISupportQt<br>vtkIOAMR<br>vtkIOCore<br>vtkIOEnSight<br>vtkIOExodus<br>
vtkIOExport<br>
vtkIOGeometry<br>vtkIOImage<br>vtkIOImport<br>vtkIOInfovis<br>vtkIOLSDyna<br>vtkIOLegacy<br>vtkIOMovie<br>vtkIONetCDF<br>vtkIOPLY<br>vtkIOParallel<br>vtkIOParallelExodus<br>vtkIOParallelLSDyna<br>vtkIOVPIC<br>vtkIOXML<br>
vtkIOXMLParser<br>vtkIOXdmf2<br>vtkImagingColor<br>vtkImagingCore<br>vtkImagingFourier<br>vtkImagingGeneral<br>vtkImagingHybrid<br>vtkImagingMorphological<br>vtkImagingSources<br>vtkInfovisCore<br>vtkInteractionImage<br>
vtkInteractionStyle<br>
vtkInteractionWidgets<br>vtkMetaIO<br>vtkPVCatalyst<br>vtkPVClientServerCoreCore<br>vtkPVClientServerCoreDefault<br>vtkPVClientServerCoreRendering<br>vtkPVCommon<br>vtkPVPythonCatalyst<br>vtkPVServerImplementationCore<br>
vtkPVServerImplementationDefault<br>vtkPVServerImplementationRendering<br>vtkPVServerManagerApplication<br>vtkPVServerManagerCore<br>vtkPVServerManagerDefault<br>vtkPVServerManagerRendering<br>vtkPVVTKExtensionsCore<br>vtkPVVTKExtensionsDefault<br>
vtkPVVTKExtensionsRendering<br>vtkPVVTKExtensionsWebGLExporter<br>vtkParaViewWeb<br>vtkParaViewWebApplications<br>vtkParaViewWebCore<br>vtkParaViewWebJavaScript<br>vtkParaViewWebPython<br>vtkParaViewWebWidgets<br>vtkParallelCore<br>
vtkParseOGLExt<br>vtkPointSpriteGraphics<br>vtkPointSpriteRendering<br>vtkPython<br>vtkPythonInterpreter<br>vtkQvis<br>vtkRenderingAnnotation<br>vtkRenderingContext2D<br>vtkRenderingCore<br>vtkRenderingFreeType<br>vtkRenderingFreeTypeOpenGL<br>
vtkRenderingGL2PS<br>vtkRenderingHybridOpenGL<br>vtkRenderingLOD<br>vtkRenderingLabel<br>vtkRenderingMatplotlib<br>vtkRenderingOpenGL<br>vtkRenderingParallel<br>vtkRenderingVolume<br>vtkRenderingVolumeAMR<br>vtkRenderingVolumeOpenGL<br>
vtkTestingCore<br>vtkTestingRendering<br>vtkUtilitiesEncodeString<br>vtkUtilitiesHashSource<br>vtkUtilitiesMaterialLibrary<br>vtkUtilitiesProcessXML<br>vtkUtilitiesPythonInitializer<br>vtkUtilitiesWrapClientServer<br>vtkVPIC<br>
vtkViewsContext2D<br>vtkViewsCore<br>vtkWrappingPythonCore<br>vtkWrappingTools<br>vtkalglib<br>vtkexodusII<br>vtkexpat<br>vtkfreetype<br>vtkftgl<br>vtkgl2ps<br>vtkhdf5<br>vtkjpeg<br>vtkjsoncpp<br>vtklibxml2<br>vtknetcdf<br>
vtkoggtheora<br>vtkpng<br>vtkprotobuf<br>vtkqttesting<br>vtksys<br>vtktiff<br>vtkverdict<br>vtkxdmf2<br>vtkzlib<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 10:56 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am thinking the problem is stemming from the non-traditional module<br>
"AutobahnPython". It doesn't generate the module cmake file. That<br>
needs to be fixed. In the mean time, you can try retry the same by<br>
turning off PARAVIEW_ENABLE_WEB cmake flag, and verify.<br>
<br>
Utkarsh<br>
<div><div><br>
<br>
<br>
On Fri, Jul 5, 2013 at 12:34 PM, Pat Marion <<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>> wrote:<br>
> Hi,<br>
><br>
> I wanted to setup a project that built VTK libraries using the modern vtk<br>
> module cmake code, added Python wrapping to the VTK libraries, and then<br>
> built a ParaView plugin that linked against the VTK libraries.<br>
><br>
> Traditionally, a ParaView plugin is created by compiling all the cxx files<br>
> into the plugin library, but I wanted my files compiled into a standard VTK<br>
> module library, and I wanted Python wrappers so that I could import my vtk<br>
> module library in Python.<br>
><br>
> Here's the example project.<br>
><br>
> <a href="https://github.com/patmarion/PythonWrappedPluginExample" target="_blank">https://github.com/patmarion/PythonWrappedPluginExample</a><br>
><br>
><br>
> It works, I tested it on ParaView master, but I had to comment out some<br>
> lines in ParaViewPlugins.cmake to avoid configure errors. If a someone who<br>
> knows the pv_setup_module_environment() macro wants to give this a shot and<br>
> see why it doesn't work, please let me know! It seems that<br>
> pv_setup_module_environment() is broken:<br>
><br>
> CMake Error at ParaView/VTK/CMake/vtkModuleAPI.cmake:44 (message):<br>
> No such module: "AutobahnPython"<br>
> Call Stack (most recent call first):<br>
> ParaView/CMake/ParaViewPlugins.cmake:1300 (vtk_module_load)<br>
> Module/CMakeLists.txt:2 (pv_setup_module_environment)<br>
><br>
><br>
> I had to comment out a foreach loop to make it configure:<br>
><br>
> diff --git a/CMake/ParaViewPlugins.cmake b/CMake/ParaViewPlugins.cmake<br>
> index dcf53f9..12b139e 100644<br>
> --- a/CMake/ParaViewPlugins.cmake<br>
> +++ b/CMake/ParaViewPlugins.cmake<br>
> @@ -1296,7 +1296,8 @@ macro(pv_setup_module_environment _name)<br>
> include(vtkModuleAPI)<br>
> include(vtkClientServerWrapping)<br>
> # load information about existing modules.<br>
> - foreach (mod IN LISTS VTK_MODULES_ENABLED)<br>
> - vtk_module_load("${mod}")<br>
> - endforeach()<br>
> + #foreach (mod IN LISTS VTK_MODULES_ENABLED)<br>
> + # vtk_module_load("${mod}")<br>
> + # endif()<br>
> + #endforeach()<br>
> endmacro()<br>
><br>
><br>
> Pat<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
</blockquote></div><br></div></div>