[Paraview] Enabling Custom Module (Source
Object): vtkDrillHoleSource.h: No such file or directory
Andy Cedilnik
andy.cedilnik at kitware.com
Fri Jul 21 10:24:52 EDT 2006
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
> http://www.paraview.org/mailman/listinfo/paraview
>
--
Andy Cedilnik
Kitware Inc.
More information about the ParaView
mailing list