When building ParaView 3.8.0 RC2 on OS-X, I run into the following: /Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx: In member function ‘void PluginMain::Startup()’: /Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:170: error: redeclaration of ‘const char* path’ /Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:143: error: ‘const char* path’ previously declared here /Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:171: error: redeclaration of ‘vtksys::String appDir’ /Users/eric/source/ParaView-3.8.0-RC2/Plugins/VisTrails/PluginMain.cxx:144: error: ‘vtksys::String appDir’ previously declared here
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. The solution appears to be fairly simple, as the redeclarations are in fact redundant and can be commented out. Here's the diff: 170,171c170,171 < const char* path = vtkProcessModule::GetProcessModule()->GetOptions()->GetApplicationPath(); < vtksys::String appDir = vtksys::SystemTools::GetProgramPath(path); --- > // const char* path = > vtkProcessModule::GetProcessModule()->GetOptions()->GetApplicationPath(); > // vtksys::String appDir = vtksys::SystemTools::GetProgramPath(path); Eric _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
