[vtkusers] Error on using mingw32-make

ExarKun2101 ap-barth at web.de
Wed May 29 11:28:46 EDT 2013


Hi,

i am new in VTK and tried to setup Eclipse IDE. I have a spezification for
the Setup because i continue a work from another student. The setup i as
follows: use of MinGW with gcc 4.4. and CMake 2.8.11. The ggc 4.4 is used
because Qt dosnt work with another Version at the moment. Also the VTK
Version 5.0.3 is in use because it cannot be ensured that the Programm works
whit the new Versions.

The Makefiles are createt with CMake with the option BUILD SHARED LIBS, VTK
DEBUG LEAKS, VTK USE GUISUPPORT and VTK USE QVTK turned on. Also i have to
set the QT QMAKE EXECUTABLE because it isnt set automatically but that
shouldnt be a problem. Then i use the mingw32-make command in the build
folder and it crashes with errors on 1%.

First there are Warnings:

D:\Develop\vtk\src\Common\/vtkSystemIncludes.h:120:1: warning:
"VTK_MAX_THREADS" redefined
D:\Develop\vtk\src\Common\/vtkSystemIncludes.h:116:1: warning: this is the
location of the previous definition
D:\Develop\vtk\src\Common\/vtkSystemIncludes.h:141:1: warning:
"VTK_THREAD_RETURN_VALUE" redefined
D:\Develop\vtk\src\Common\/vtkSystemIncludes.h:136:1: warning: this is the
location of the previous definition
D:\Develop\vtk\src\Common\/vtkSystemIncludes.h:142:1: warning:
"VTK_THREAD_RETURN_TYPE" redefined
D:\Develop\vtk\src\Common\/vtkSystemIncludes.h:137:1: warning: this is the
location of the previous definition

after that the errors beginn to occure:

D:\Develop\vtk\src\Common\/vtkOStreamWrapper.h:77: error:
'vtkOStreamWrapper& vt
kOStreamWrapper::operator<<(long long int)' cannot be overloaded
D:\Develop\vtk\src\Common\/vtkOStreamWrapper.h:73: error: with
'vtkOStreamWrappe
r& vtkOStreamWrapper::operator<<(long long int)'
D:\Develop\vtk\src\Common\/vtkOStreamWrapper.h:78: error:
'vtkOStreamWrapper& vt
kOStreamWrapper::operator<<(long long unsigned int)' cannot be overloaded
D:\Develop\vtk\src\Common\/vtkOStreamWrapper.h:74: error: with
'vtkOStreamWrappe
r& vtkOStreamWrapper::operator<<(long long unsigned int)'
mingw32-make[2]: *** [Common/CMakeFiles/vtkCommon.dir/vtkAbstractArray.obj]
Erro
r 1
mingw32-make[1]: *** [Common/CMakeFiles/vtkCommon.dir/all] Error 2
mingw32-make: *** [all] Error 2

Do any of you happen to have a solution for this problem or a pointer in the
right direktion. Or do i just have tu use other versions for the
installation.

I use a Windows XP (i know its old ;)).

I would appreciate any help. 

Thanks in advance

Alex



--
View this message in context: http://vtk.1045678.n5.nabble.com/Error-on-using-mingw32-make-tp5721054.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list