[Paraview] ParaView 3 and PARAVIEW_EXTRA_EXTERNAL_MODULE

John Biddiscombe biddisco at cscs.ch
Sun Dec 9 09:14:15 EST 2007


Go to build directory, find all (cxx) files with 'generated' in the file 
name. delete them. rerun cmake, configure and generate. then try Again. 
Fixed?

JB


Kent Eschenberg wrote:
> Great discussion! But I'm still missing something when I try to add my 
> custom filter "cloud". Using the automatic GUI generation and 
> PARAVIEW_EXTRA_EXTERNAL_MODULE the make process marches along until this:
>
> ======
> [ 75%] Building CXX object 
> Servers/ServerManager/CMakeFiles/vtkPVServerManager.dir/vtkSMApplication.o 
>
> .../Servers/ServerManager/vtkParaViewIncludeModulesToSMApplication.h: 
> In member function ‘void vtkSMApplication::Initialize()’:
> .../Servers/ServerManager/vtkParaViewIncludeModulesToSMApplication.h:39: 
> error: ‘vtkSMDefaultModulescloudSMGetInterfaces’ was not declared in 
> this scope
> ======
>
> In CMakeCache.txt it seems the flags to add my filter "cloud" are 
> appropriate:
>
> ======
> PARAVIEW_EXTRA_EXTERNAL_MODULES:STRING=cloud
> PARAVIEW_USE_cloud:BOOL=ON
> cloud_SOURCE_DIR:PATH=/home/eschenbe/PV/Kits/Cloud
> ======
>
> And in the cloud directory the file cloudParaViewImport.cmake seems 
> correct:
>
> ======
> SET (cloud_SRCS
>   ${cloud_SOURCE_DIR}/vtkCloud.cxx
>   )
>
> INCLUDE_DIRECTORIES(${cloud_SOURCE_DIR})
> INCLUDE_DIRECTORIES(${cloud_SOURCE_DIR}/..)
>
> PARAVIEW_INCLUDE_WRAPPED_SOURCES("${cloud_SRCS}")
>
> PARAVIEW_INCLUDE_SERVERMANAGER_RESOURCES("${cloud_SOURCE_DIR}/cloudSM.xml" 
>
> ======
>
> The file cloudSM.xml is the same as was used with 2.6.1. Any ideas 
> what went wrong?
>
> TIA
> Kent
> Pittsburgh Supercomputing Center
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview


-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the ParaView mailing list