Mark, Can you try the attached patch? It should resolve the lvalue errors.
Thanks Utkarsh On Fri, Aug 17, 2012 at 12:40 PM, Vanmoer, Mark W <[email protected]> wrote: > Hello, I’m attempting to build ParaView from the git repo with PGI 12.4 and > I get the following errors for vtkSMTestDriver.cxx that I don’t know how to > fix: > > > > "/usr/apps/vis/ParaView/repo/ParaView/Utilities/TestDriver/vtkSMTestDriver.cxx", > line 434: error: > > expression must be a modifiable lvalue > > commandLine.insert(++commandLine.begin(), "--multi-servers"); > > ^ > > > > "/usr/apps/vis/ParaView/repo/ParaView/Utilities/TestDriver/vtkSMTestDriver.cxx", > line 1296: error: > > expression must be a modifiable lvalue > > clientCommand.insert(++clientCommand.begin(), > this->ServerURL.c_str()); > > ^ > > > > Also these, which I got around by adding #include <locale.h> > > "/usr/apps/vis/ParaView/repo/ParaView/ParaViewCore/ClientServerCore/Core/vtkProcessModule.cxx", > line 57: error: > > identifier "LC_NUMERIC" is undefined > > setlocale(LC_NUMERIC,"C"); > > ^ > > > > "/usr/apps/vis/ParaView/repo/ParaView/ParaViewCore/ClientServerCore/Core/vtkProcessModule.cxx", > line 57: error: > > identifier "setlocale" is undefined > > setlocale(LC_NUMERIC,"C"); > > ^ > > > > And this, which I got around by adding #include <string> > > > > "/usr/apps/vis/ParaView/repo/ParaView/VTK/Filters/AMR/vtkAMREnzoReader.h", > line 70: error: > > namespace "std" has no member "string" > > int GetIndexFromArrayName( std::string arrayName ); > > > > > > Can someone suggest a fix for the lvalue error? > > Thanks, > > Mark > > > > > _______________________________________________ > 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 >
0001-Fix-compiler-errors-on-pgi.patch
Description: Binary data
_______________________________________________ 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
