[vtkusers] Qt4, MinGW and VTK

Dean Inglis dean.inglis at camris.ca
Thu Aug 25 10:00:41 EDT 2005


Hi,

I am trying to get the open source Qt 4.0.1 + MinGW distribution
going with VTK: qt-win-opensource-4.0.1-mingw.exe

Any thoughts on which compiler to use in the mingw distribution?
(mingw32-c++, mingw32-g++, mingw32-gcc) it appears that the
Qt distribution was compiled with QMAKESPEC as win32-g++

Has anyone else tried this?

Dean

here is the CMake error log for mingw32-g++


termining if the C compiler works failed with the following output:
c:/Builder/Releases/cmakeRelease/bin/cmake.exe -Hc:/Builder/Releases/vtkMinG
W/CMakeTmp -Bc:/Builder/Releases/vtkMinGW/CMakeTmp --check-build-system
CMakeFiles/Makefile.cmake 0 mingw32-make.exe -f CMakeFiles/Makefile2
cmTryCompileExec mingw32-make.exe[1]: Entering directory
`c:/Builder/Releases/vtkMinGW/CMakeTmp'
c:/Builder/Releases/cmakeRelease/bin/cmake.exe -Hc:/Builder/Releases/vtkMinG
W/CMakeTmp -Bc:/Builder/Releases/vtkMinGW/CMakeTmp --check-build-system
CMakeFiles/Makefile.cmake 0 mingw32-make.exe -f CMakeFiles/Makefile2
CMakeFiles/cmTryCompileExec.dir/all mingw32-make.exe[2]: Entering directory
`c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe -f
CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/depend mingw32-make.exe[3]: Entering
directory `c:/Builder/Releases/vtkMinGW/CMakeTmp' Scanning dependencies of
target cmTryCompileExec
c:/Builder/Releases/cmakeRelease/bin/cmake.exe -E cmake_depends  "Unix
Makefiles" c:/Builder/Releases/vtkMinGW/CMakeTmp
c:/Builder/Releases/vtkMinGW/CMakeTmp
c:/Builder/Releases/vtkMinGW/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/Depend
Info.cmake mingw32-make.exe[3]: ***
[CMakeFiles/cmTryCompileExec.dir/depend.make.mark] Error 5
mingw32-make.exe[3]: Leaving directory
`c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe[2]: ***
[CMakeFiles/cmTryCompileExec.dir/all] Error 2 mingw32-make.exe[2]: Leaving
directory `c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec.dir/rule] Error 2 mingw32-make.exe[1]: Leaving
directory `c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe: ***
[cmTryCompileExec] Error 2

Determining if the C compiler works failed with the following output:
c:/Builder/Releases/cmakeRelease/bin/cmake.exe -Hc:/Builder/Releases/vtkMinG
W/CMakeTmp -Bc:/Builder/Releases/vtkMinGW/CMakeTmp --check-build-system
CMakeFiles/Makefile.cmake 0 mingw32-make.exe -f CMakeFiles/Makefile2
cmTryCompileExec mingw32-make.exe[1]: Entering directory
`c:/Builder/Releases/vtkMinGW/CMakeTmp'
c:/Builder/Releases/cmakeRelease/bin/cmake.exe -Hc:/Builder/Releases/vtkMinG
W/CMakeTmp -Bc:/Builder/Releases/vtkMinGW/CMakeTmp --check-build-system
CMakeFiles/Makefile.cmake 0 mingw32-make.exe -f CMakeFiles/Makefile2
CMakeFiles/cmTryCompileExec.dir/all mingw32-make.exe[2]: Entering directory
`c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe -f
CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/depend mingw32-make.exe[3]: Entering
directory `c:/Builder/Releases/vtkMinGW/CMakeTmp' Scanning dependencies of
target cmTryCompileExec
c:/Builder/Releases/cmakeRelease/bin/cmake.exe -E cmake_depends  "Unix
Makefiles" c:/Builder/Releases/vtkMinGW/CMakeTmp
c:/Builder/Releases/vtkMinGW/CMakeTmp
c:/Builder/Releases/vtkMinGW/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/Depend
Info.cmake mingw32-make.exe[3]: ***
[CMakeFiles/cmTryCompileExec.dir/depend.make.mark] Error 5
mingw32-make.exe[3]: Leaving directory
`c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe[2]: ***
[CMakeFiles/cmTryCompileExec.dir/all] Error 2 mingw32-make.exe[2]: Leaving
directory `c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec.dir/rule] Error 2 mingw32-make.exe[1]: Leaving
directory `c:/Builder/Releases/vtkMinGW/CMakeTmp' mingw32-make.exe: ***
[cmTryCompileExec] Error 2





More information about the vtkusers mailing list