[Paraview] Compile error on windows msys

Paul Edwards paul.m.edwards at gmail.com
Thu Jun 19 07:58:24 EDT 2008


I've found a solution (ref
http://code.hkpeterpeter.googlepages.com/vtk_build_mingw.pdf).  Here
is the diff:

8<----------------------------------------
Index: VTK/CMake/vtkTestTypes.cmake
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/CMake/vtkTestTypes.cmake,v
retrieving revision 1.1
diff -r1.1 vtkTestTypes.cmake
112a113
> SET(VTK_TYPE_USE___INT64 0)
---------------------------------------->8

Regards,
Paul

2008/6/19 Paul Edwards <paul.m.edwards at gmail.com>:
> I'm using gcc 3.4.5 with msys on windows.  When I build I get the
> following error:
>
> 8<----------------------------------------------------
> [  2%] Built target vtkDICOMParser
> Scanning dependencies of target ProcessShader
> [  2%] Building CXX object
> VTK/Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/ProcessShader.obj
> In file included from
> c:/msys/1.0/home/paul/pkgs/src/ParaView3/VTK/Common/vtkSystemIncludes.h:50,
>                 from
> c:/msys/1.0/home/paul/pkgs/src/ParaView3/VTK/Common/vtkIndent.h:24,
>                 from
> c:/msys/1.0/home/paul/pkgs/src/ParaView3/VTK/Common/vtkObjectBase.h:43,
>                 from
> c:/msys/1.0/home/paul/pkgs/src/ParaView3/VTK/Common/vtkObject.h:41,
>                 from
> c:/msys/1.0/home/paul/pkgs/src/ParaView3/VTK/Utilities/MaterialLibrary/ProcessShader.cxx:16:
> c:/msys/1.0/home/paul/pkgs/src/ParaView3/VTK/Common/vtkOStreamWrapper.h:77:
> error: `vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long long
> int)' and `vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long long
> int)' cannot be overloaded
> c:/msys/1.0/home/paul/pkgs/src/ParaView3/VTK/Common/vtkOStreamWrapper.h:78:
> error: `vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long long
> unsigned int)' and `vtkOStreamWrapper&
> vtkOStreamWrapper::operator<<(long long unsigned int)' cannot be
> overloaded
> make[2]: *** [VTK/Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/ProcessShader.obj]
> Error 1
> make[1]: *** [VTK/Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/all]
> Error 2
> make: *** [all] Error 2
> ---------------------------------------------------->8
>
> I using the CVS version of the source.  Does anyone know what the
> problem is?  Am I missing a configure option or something?
>
> Thanks in advance,
> Paul
>


More information about the ParaView mailing list