[vtkusers] vtkOStreamWrapper::operator<<(long long int)' cannot be overloaded
Carl Trapani
carl at skytopsoftware.com
Sun Jul 20 16:24:27 EDT 2008
Hi All,
I'm trying to build VTK 5.0.4 source on Windows Vista using Eclipse CDT
4.0 and MinGW 5.1.4. I ran CMakeSetup.exe 2.6 (by clicking on the icon)
with the following source and build values:
C:\projects\vtk\vtk-5.0.4-src
C:\projects\vtk\vtk-5.0.4-build
I selected the Eclipse CDT4 - MinGW Makefiles generator. I accepted the
configuration (which didn't find the sibling data directory,
C:\projects\vtk\vtkdata-5.0.4, but that's ok for now). After
configuring, CMake crashed at around 74%. Here are some details from
Windows:
Problem signature:
Problem Event Name: APPCRASH
Application Name: cmTryCompileExec.exe
Application Version: 0.0.0.0
Application Timestamp: 488388cd
Fault Module Name: mingwm10.dll
Fault Module Version: 6.0.6000.16386
Fault Module Timestamp: 4549bdc9
Exception Code: c0000135
Exception Offset: 00008fc7
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 9d13
Additional Information 2: 1abee00edb3fc1158f9ad6f44f0f6be8
Additional Information 3: 9d13
Additional Information 4: 1abee00edb3fc1158f9ad6f44f0f6be8
I selected Close program, but CMake continued and seemed to complete
(??), it just quit after a while with no Success message. Anyway, I
looked in the build directory and files were there, so I tried importing
the build project into Eclipse and got the following error:
C:\projects\vtk\vtk-5.0.4-src\Common\vtkOStreamWrapper.h:77: error:
`vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long long int)' and
`vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long long int)' cannot
be overloaded
C:\projects\vtk\vtk-5.0.4-src\Common\vtkOStreamWrapper.h:78: error:
`vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long long unsigned
int)' and `vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long long
unsigned int)' cannot be overloaded
mingw32-make[2]: ***
[Common/CMakeFiles/vtkCommon.dir/vtkAbstractArray.obj] Error 1
mingw32-make[2]: Leaving directory `C:/projects/vtk/vtk-5.0.4-build'
mingw32-make[1]: *** [Common/CMakeFiles/vtkCommon.dir/all] Error 2
mingw32-make[1]: Leaving directory `C:/projects/vtk/vtk-5.0.4-build'
mingw32-make: *** [all] Error 2
The whole make output is attached.
1) Has anyone else tried to build VTK 5.0.4 on Vista using CMake 2.6 and
the Eclipse CDT4 - MinGW Makefiles generator? If so, what version of
MinGW did you use?
2) Should I try and fix the CMake crash which seems to be caused (fault
module) by mingwm10.dll or does it matter that CMake crashed?
3) Has anyone successfully built VTK 5.0.4 on Vista using CMake 2.6 and
the Visual Studio 9 2008 generator?
Over the last week, I've gone from Cygwin to MinGW + MSYS, then
reverting to just MinGW and now I'm looking at Visual Studio 2008 JUST
to get the toolkit with examples compiled!!!! Why is this SOOOOO HARD?
Thanks for any help or suggestions.
Carl Trapani
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vtk_mingw32-make_errs.txt
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080720/f48ba15a/attachment.txt>
More information about the vtkusers
mailing list