Thanks Andy<br><br>My DrillHoleSourceParaviewImport.cmake file:<br><br>SET (DrillHoleSource_SRCS<br> ${DrillHoleSource_SOURCE_DIR}/myVTKClasses/vtkDrillHoleSource.cxx<br> )<br>SET (DrillHoleSource_WRAPPED_SRCS<br> ${DrillHoleSource_SOURCE_DIR}/myVTKClasses/vtkDrillHoleSource.cxx
<br> )<br>INCLUDE_DIRECTORIES(${DrillHoleSource_SOURCE_DIR}/myVTKClasses)<br><br>I added to the file:<br><br>PARAVIEW_INCLUDE_WRAPPED_SOURCES("${DrillHoleSource_WRAPPED_SRCS}")<br><br><br>Rebuilding, I do not get the same error message any longer.
<br>Unfortunately, a new error arises:<br><br>MPI process rank 0 (n0, p6828) caught a SIGSEGV.<br><br>Which is an mpirun/lam error.<br>I have encountered this error in the past, as I beleive it may be independent of my DrillHoleSource code / module integration.
<br><br>Any further suggestions, perhaps as to whether this error can be further tracked?<br><br>My system:<br>2.6.17-1.2139_FC5smp <br>i686 GNU/Linux<br>Dual Processor<br><br>Thank you<br>-Shawn<br><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" title="mailto:andy.cedilnik@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 Shawn,<br><br>Again, could be several things. It would be easy to debug if we could<br>see DrillHoleSourceParaviewImport.cmake.<br><br>In your case it looks like vtkDrillHoleSource was not wrapped into<br>ClientServer.
<br><br> Andy<br><br>shawn mckenzie wrote:<br>> Thanks, I now have everything compiled successfully.<br>><br>> Although, when i choose my Drill Hole object from the menu, Paraview<br>> crashes, outputting the error:
<br>> # Error or warning: There was a VTK Error in file:<br>> /root/ParaView/Servers/Common/vtkProcessModule.cxx (891)<br>> vtkProcessModule (0xc855b60): Cannot create object of type<br>> "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:
<br>> /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
<br>> running pvbatch, which does not affect me (i don't believe).<br>><br>> Is Paraview crashing when executing my vtkDrillHoleSource code<br>> (perhaps logical errors) or at another stage that i am not aware of?
<br>><br>> Thank you<br>> -Shawn<br>><br>><br>><br>> On 7/21/06, *Andy Cedilnik* <<a href="mailto:andy.cedilnik@kitware.com" title="mailto:andy.cedilnik@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
andy.cedilnik@kitware.com</a><br>> <mailto:<a href="mailto:andy.cedilnik@kitware.com" title="mailto:andy.cedilnik@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
andy.cedilnik@kitware.com</a>>> wrote:<br>><br>> 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
<br>> using the<br>> > DrillHoleSourceParaviewImport.cmake file. During the Paraview<br>> 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>> ><br>> Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/vtkDrillHoleSourceClientServer.o
<br>> ><br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:6:32:<br>><br>> > error: vtkDrillHoleSource.h: No such file or directory<br>> ><br>
> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:<br>> > In function 'vtkObjectBase*<br>> vtkDrillHoleSourceClientServerNewCommand()':<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:13:
<br>> > error: 'vtkDrillHoleSource' has not been declared<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:<br>> > In function 'int<br>> > vtkDrillHoleSourceCommand(vtkClientServerInterpreter*,
<br>> vtkObjectBase*,<br>> > const char*, const vtkClientServerStream&, vtkClientServerStream&)':<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:20:
<br>><br>> > error: 'vtkDrillHoleSource' was not declared in this scope<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:20:<br>> > error: 'op' was not declared in this scope
<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:20:<br>><br>> > error: 'vtkDrillHoleSource' is not a class or namespace<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:34:
<br>> > error: 'temp20' was not declared in this scope<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:66:<br>><br>> > error: 'temp20' was not declared in this scope
<br>> ><br>> /root/ParaView-64/Servers/Filters/vtkDrillHoleSourceClientServer.cxx:77:<br>> > error: 'temp20' was not declared in this scope<br>> > make[2]: ***<br>> ><br>> [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/vtkDrillHoleSourceClientServer.o]
<br>><br>> > Error 1<br>> > make[1]: *** [Servers/Filters/CMakeFiles/vtkPVFiltersCS.dir/all]<br>> 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>> ><br>> > _______________________________________________<br>> > ParaView mailing list<br>> > <a href="mailto:ParaView@paraview.org" title="mailto:ParaView@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ParaView@paraview.org</a> <mailto:
<a href="mailto:ParaView@paraview.org" title="mailto:ParaView@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ParaView@paraview.org</a>><br>> > <a href="http://www.paraview.org/mailman/listinfo/paraview" title="http://www.paraview.org/mailman/listinfo/paraview" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.paraview.org/mailman/listinfo/paraview</a><br>> ><br>>
<br>><br>> --<br>> Andy Cedilnik<br>> Kitware Inc.<br>><br>><br><br><br>--<br>Andy Cedilnik<br>Kitware Inc.<br><br></blockquote></div><br>