[Paraview] paraview git build with pgi 12.4 errors
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Fri Aug 17 13:52:55 EDT 2012
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 <mvanmoer at illinois.edu> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-compiler-errors-on-pgi.patch
Type: application/octet-stream
Size: 1612 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120817/90113a50/attachment-0001.obj>
More information about the ParaView
mailing list