<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 12:02 PM, Greg Hanowski <span dir="ltr">&lt;<a href="mailto:greg@tekknow.net" target="_blank">greg@tekknow.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="">Hello VTKers,<u></u><u></u></p><p class="">
<u></u> <u></u></p><p class="">I&#39;m trying to convert a .vtp file to .obj file.  I googled the topic and found David Doria&#39;s post about using his WriteOBJ.cpp but to first replace vtkExporter.cpp/h with his version which contains WriteAPolyData.  I did that but now how to compile it? <u></u><u></u></p>
<p class=""><u></u> <u></u></p><p class="">I loaded the ALL_BUILD.sln created by cmake into Microsoft Visual Studio Express 2012 for Windows Desktop and ran Build Solution under the Build menu.  It cranked awhile then reported that 7 projects needed rebuilding, would I like to do that?  I clicked yes.  Then it cranked some more and came back with 1089 errors.  The first of which is:<u></u><u></u></p>
<p class=""><u></u> <u></u></p><p class="">Error      1              error C2470: &#39;vtkOBJExporter&#39; : looks like a function definition, but there is no parameter list; skipping apparent body (C:\Users\Greg\Documents\VTK\VTK6.0.0.0\Source\IO\Export\vtkExporter.cxx)                c:\users\greg\documents\vtk\vtk6.0.0.0\source\io\export\vtkExporter.h           35           1              vtkIOExport<u></u><u></u></p>
<p class=""><u></u> <u></u></p><p class="">If I double-click on the error, it jumps to this line in vtkExporter.h:<u></u><u></u></p><p class=""><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:none repeat scroll 0% 0% white">class</span><span style="background:none repeat scroll 0% 0% white;font-size:9.5pt;font-family:Consolas"> VTK_RENDERING_EXPORT vtkOBJExporter : </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:none repeat scroll 0% 0% white">public</span><span style="background:none repeat scroll 0% 0% white;font-size:9.5pt;font-family:Consolas"> vtkExporter</span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class=""><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p><p class=""><span style="font-size:9.5pt;font-family:Consolas">Can anyone shed some light?<u></u><u></u></span></p><p class=""><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank"></a></div></div></blockquote><div><br></div><div>Is <span style="background:none repeat scroll 0% 0% white;font-size:9.5pt;font-family:Consolas">VTK_RENDERING_EXPORT somehow not defined?<br>
<br></span></div><div><span style="background:none repeat scroll 0% 0% white;font-size:9.5pt;font-family:Consolas">John<br></span> </div><br></div></div></div>