Thanks Eric, I&#39;ll fix this now.<br><br><div class="gmail_quote">On Tue, May 4, 2010 at 12:51 PM, Eric Nodwell <span dir="ltr">&lt;<a href="mailto:enodwell@ucalgary.ca">enodwell@ucalgary.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When building ParaView 3.8.0 RC2 on OS-X, I run into the following:<br>
<br>
/Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx: In member function ‘void PluginMain::Startup()’:<br>
/Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:170: error: redeclaration of ‘const char* path’<br>
/Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:143: error: ‘const char* path’ previously declared here<br>
/Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:171: error: redeclaration of ‘vtksys::String appDir’<br>
/Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:144: error: ‘vtksys::String appDir’ previously declared here<br>
<br>
Note that this is a somewhat non-standard build of ParaView, as I am trying to build as both 32 bit and 64 bit against Qt 4.6.2 using Cocoa.<br>
<br>
The solution appears to be fairly simple, as the redeclarations are in fact redundant and can be commented out.  Here&#39;s the diff:<br>
<br>
170,171c170,171<br>
&lt;         const char* path = vtkProcessModule::GetProcessModule()-&gt;GetOptions()-&gt;GetApplicationPath();<br>
&lt;         vtksys::String appDir = vtksys::SystemTools::GetProgramPath(path);<br>
---<br>
&gt;         // const char* path = vtkProcessModule::GetProcessModule()-&gt;GetOptions()-&gt;GetApplicationPath();<br>
&gt;         // vtksys::String appDir = vtksys::SystemTools::GetProgramPath(path);<br>
<br>
Eric<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>