[Paraview] ParaView 3 and PARAVIEW_EXTRA_EXTERNAL_MODULE

Kent Eschenberg eschenbe at psc.edu
Mon Dec 10 17:23:01 EST 2007


Thanks, John, that fixed things. And by looking at the server xml for supplied 
modules I've modified the automatic GUI enough to get by.

Kent

John Biddiscombe wrote:
> 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


More information about the ParaView mailing list