[Paraview] Enabling Custom Module (Source Object): vtkDrillHoleSource.h: No such file or directory

Andy Cedilnik andy.cedilnik at kitware.com
Fri Jul 21 14:12:04 EDT 2006


Hi Shawn,

Again, could be several things. It would be easy to debug if we could 
see DrillHoleSourceParaviewImport.cmake.

In your case it looks like vtkDrillHoleSource was not wrapped into 
ClientServer.

       Andy

shawn mckenzie wrote:
> Thanks, I now have everything compiled successfully.
>
> Although, when i choose my Drill Hole object from the menu, Paraview 
> crashes, outputting the error:
> # Error or warning: There was a VTK Error in file: 
> /root/ParaView/Servers/Common/vtkProcessModule.cxx (891)
>  vtkProcessModule (0xc855b60): Cannot create object of type 
> "vtkDrillHoleSource".
> while processing
> Message 0 = New
>   Argument 0 = string_value {vtkDrillHoleSource}
>   Argument 1 = id_value {508}
> ErrorMessage end
> ErrorMessage
> # Error or warning: There was a VTK Error in file: 
> /root/ParaView/Servers/Common/vtkProcessModule.cxx (893)
>  vtkProcessModule (0xc855b60): Aborting execution for debugging purposes.
> ErrorMessage end
> Aborted
>
>
> I found one similar error on the list, but it was in reference to 
> running pvbatch, which does not affect me (i don't believe).
>
> Is Paraview crashing when executing my vtkDrillHoleSource code 
> (perhaps logical errors) or at another stage that i am not aware of?
>
> Thank you
> -Shawn
>
>  
>
> On 7/21/06, *Andy Cedilnik* <andy.cedilnik at kitware.com 
> <mailto:andy.cedilnik at kitware.com>> wrote:
>
>     Hi Shwan,
>
>     Any way you could share the module? There may be a typo somewhere.
>
>            Andy
>
>     shawn mckenzie wrote:
>     > I have created a vtkDrillHoleSource.cxx file (similar to
>     > vtkLineSource.cxx) that will generate a new Source object in
>     > Paraview's menu.
>     >
>     > I can compile the class without error, and link to the class
>     using the
>     > DrillHoleSourceParaviewImport.cmake file. During the Paraview
>     build, i
>     > get the following errors:
>     >
>     > -- Build files have been written to: /root/ParaView-64
>     > -- Found existing Tcl, not rebuilding
>     > -- Found existing Tk, not rebuilding
>     > Building CXX object
>     >
>     Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/vtkDrillHoleSourceClientServer.o
>     >
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:6:32:
>
>     > error: vtkDrillHoleSource.h: No such file or directory
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:
>     > In function 'vtkObjectBase*
>     vtkDrillHoleSourceClientServerNewCommand()':
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:13:
>     > error: 'vtkDrillHoleSource' has not been declared
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:
>     > In function 'int
>     > vtkDrillHoleSourceCommand(vtkClientServerInterpreter*,
>     vtkObjectBase*,
>     > const char*, const vtkClientServerStream&, vtkClientServerStream&)':
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:20:
>
>     > error: 'vtkDrillHoleSource' was not declared in this scope
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:20:
>     > error: 'op' was not declared in this scope
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:20:
>
>     > error: 'vtkDrillHoleSource' is not a class or namespace
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:34:
>     > error: 'temp20' was not declared in this scope
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:66:
>
>     > error: 'temp20' was not declared in this scope
>     >
>     /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:77:
>     > error: 'temp20' was not declared in this scope
>     > make[2]: ***
>     >
>     [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/vtkDrillHoleSourceClientServer.o]
>
>     > Error 1
>     > make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/all]
>     Error 2
>     > make[1]: *** Waiting for unfinished jobs....
>     > make: *** [all] Error 2
>     >
>     > I have both the DrillHoleSource.cxx and .h files in the same
>     > directory, yet  it claims it cannot find my header file
>     >
>     > Has anyone encountered this problem?
>     >
>     > Thank you
>     > -Shawn
>     >
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>
>     >
>     > _______________________________________________
>     > ParaView mailing list
>     > ParaView at paraview.org <mailto:ParaView at paraview.org>
>     > http://www.paraview.org/mailman/listinfo/paraview
>     >
>
>
>     --
>     Andy Cedilnik
>     Kitware Inc.
>
>


-- 
Andy Cedilnik
Kitware Inc.



More information about the ParaView mailing list