Bill,<br>Thank you very much. Indeed, the link you provided helped me solve the problem.<br><br>I have to comments/suggestions on this:<br>1. It would be nice to have the documentation for each class specify the library it goes into. This could be achieved with a script that checks each library and updates the documentation for all the files it contains.<br>
Of course this can be achieved by the user using nm and checking the libraries for all undefined symbols - which is what I have done. <br><br>2. For people that don't use cmake (which is my case) it would be nice to specify all the defines required for various runtime libraries:<br>
In my case I had to specify: -DvtkRenderingCore_AUTOINIT="2(vtkInteractionStyle,vtkRenderingOpenGL)".<br>I learned this by looking at the Makefile generated by cmake for an example. The link you provided only mentions -DvtkRenderingCore_AUTOINIT="1(vtkRenderingOpenGL)"<br>
<br>Regards,<br>Dan<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 21, 2012 at 4:07 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See if this link explains what to do:<br>
<a href="http://vtk.org/Wiki/VTK/Build_System_Migration#Implementation_Modules" target="_blank">http://vtk.org/Wiki/VTK/Build_System_Migration#Implementation_Modules</a><br>
<div><div class="h5"><br>
<br>
On Wed, Nov 21, 2012 at 10:25 AM, Dan Lipsa <<a href="mailto:dan.r.lipsa@gmail.com">dan.r.lipsa@gmail.com</a>> wrote:<br>
> Hi all,<br>
> I downloaded the VTK git nightly build today and build it and linked it with<br>
> my program without problems.<br>
><br>
> I am using my own interactor style derived from<br>
> vtkInteractorStyleTrackballCamera.<br>
> The creation of vtkInteractorStyle fails because vtkPolyDataMapper::New();<br>
> returns null.<br>
><br>
> Does anyone have any suggestions about how to fix this?<br>
><br>
> Thank you very much,<br>
> Dan<br>
><br>
> What follows is the call stack when the segmentation fault occured.<br>
><br>
> 0x00007ffff2323b99 in vtkInteractorStyle::vtkInteractorStyle<br>
> (this=0x246ff10) at<br>
> /home/dlipsa/external/VTK/Rendering/Core/vtkInteractorStyle.cxx:64<br>
> (gdb) bt<br>
> #0 0x00007ffff2323b99 in vtkInteractorStyle::vtkInteractorStyle<br>
> (this=0x246ff10) at<br>
> /home/dlipsa/external/VTK/Rendering/Core/vtkInteractorStyle.cxx:64<br>
> #1 0x00007ffff260614a in<br>
> vtkInteractorStyleTrackballCamera::vtkInteractorStyleTrackballCamera<br>
> (this=0x246ff10) at<br>
> /home/dlipsa/external/VTK/Interaction/Style/vtkInteractorStyleTrackballCamera.cxx:28<br>
> #2 0x00000000004ea5c7 in FoamvisInteractorStyle::FoamvisInteractorStyle<br>
> (this=0x246ff10) at FoamvisInteractorStyle.cpp:16<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br></div>