[Paraview-developers] Building errors on MinGW

f_magician at mac.com f_magician at mac.com
Mon Feb 13 02:20:31 EST 2012


I'm now building Paraview v3.12.0 and v3.14.0-RC2 by MinGW.
I have some trouble on make process, so I want to have advices.

My software environment is here:
   Windows XP SP2
   QtSDK v4.7.4 (Qt includes MinGW)
   MSYS (from mingw-get-inst-20111118.exe)
   CMake v2.8.7
Each tools are installed in default directories.
And environment variable PATH's value is "C:\QtSDK\mingw\bin".

I tried these actions:
   1. [Windows Explorer] Extract ParaView sources at "C:\ParaView-3.***".
   2. [Windows Explorer] Make working directory at "C:\ParaView".
   3. [CMake-GUI] Startup CMake-GUI and doing Configure process.
        - Generator    : MinGW Makefiles
        - C Compiler   : C:\QtSDK\mingw\bin\mingw32-gcc.exe
        - C++ Compiler : C:\QtSDK\mingw\bin\mingw32-g++.exe
   4. [CMake-GUI] Modify CMake Parameters and doing Configure process.
        - QT_QMAKE_EXECUTABLE                               : C:/QtSDK/Simulator/Qt/mingw/bin/qmake.exe
        - PARAVIEW_ENABLE_PYTHON                            : ON
        - VTK_USE_GL2PS                                     : ON
   5. [CMake-GUI] Modify CMake Parameters and doing Configure process.
        - PYTHON_ENABLE_MODULE_vtkChartsPython              : OFF
        - PYTHON_MODULE_MODULE_vtkChartsPython_BUILD_SHARED : OFF
   6. [CMake-GUI] Doing Generate process.
   7. [MinGW Shell] Startup MinGW Shell and change directory ($cd C:\ParaView).
   8. [MinGW Shell] Doing make process ($mingw32-make).

Finally I got these output messages on MinGW Shell:

> [ 53%] Building CXX object Utilities/protobuf/src/CMakeFiles/protoc.dir/google/p
> rotobuf/compiler/command_line_interface.cc.obj
> In file included from C:\ParaView-3.12.0\Utilities\protobuf\src\google\protobuf\
> compiler\command_line_interface.cc:54:
> C:/ParaView-3.12.0/Utilities/protobuf/src/google/protobuf/compiler/subprocess.h:
> 79: Error: extra qualification 'google::protobuf::compiler::Subprocess::' on
>  member 'Win32ErrorMessage'
> mingw32-make[2]: *** [Utilities/protobuf/src/CMakeFiles/protoc.dir/google/protob
> uf/compiler/command_line_interface.cc.obj] Error 1
> mingw32-make[1]: *** [Utilities/protobuf/src/CMakeFiles/protoc.dir/all] Error 2
> mingw32-make: *** [all] Error 2

Both v3.12.0 and v3.14.0-RC2 return almost same messages.
How can I solve this problem and build completely?


Magician


More information about the Paraview-developers mailing list