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

shawn mckenzie shawn.mcknezie at gmail.com
Thu Jul 20 14:38:22 EDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060720/34295e34/attachment.htm


More information about the ParaView mailing list