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