[vtkusers] Problems compiling CVS QT-VTK source code
Clinton Stimpson
clinton at elemtech.com
Tue Mar 15 22:20:43 EST 2005
I can help. That's an interesting error as the two types are definitely
related contrary to what the compiler thinks. What version of the Visual
Studio compiler are you using.
Clint
> Message: 6
> Date: Tue, 15 Mar 2005 15:43:32 -0500
> From: "Michel-Alexandre Cardin" <ma.cardin at swri.ca>
> Subject: [vtkusers] Problems compiling CVS QT-VTK source code
> To: <vtkusers at vtk.org>
> Message-ID: <000801c5299f$a7181780$1e194c8e at wang>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I am having problems compiling the code provided by the author "clinton" in
> the "[VTK] / GUISupport / Qt / vtkEventQtSlotConnect.cxx" file of the CVS
> repository. Here is the message that I get:
>
> --------------------Configuration: QVTK - Win32 Debug--------------------
> Compiling...
> vtkEventQtSlotConnect.cxx
> C:\VTK\GUISupport\qt\vtkEventQtSlotConnect.cxx(43) : error C2440:
> 'static_cast' : cannot convert from 'class vtkObject *' to 'class
> vtkQtConnection *'
> Types pointed to are unrelated; conversion requires
> reinterpret_cast, C-style cast or function-style cast
> C:\VTK\GUISupport\qt\vtkEventQtSlotConnect.cxx(43) : error C2440: 'return' :
> cannot convert from 'class vtkQtConnection *' to 'class vtkObject *'
> Types pointed to are unrelated; conversion requires
> reinterpret_cast, C-style cast or function-style cast
> Error executing cl.exe.
>
> ALL_BUILD - 2 error(s), 0 warning(s)
>
> Can someone help me with this or provide me the author's email address so I
> can communicate directly with him?
>
> Thanks,
>
> MA
>
> ============================================
>
> Michel-Alexandre Cardin, BSc, MASc
> Research Engineer/Physicist
> Medical Imaging Department S605
> Sunnybrook & Women's
> College Health Science Centre
> 2075 Bayview Ave., Toronto
> M4N 3M5
> +1(416)480-6100 ext: 7482
>
>
More information about the vtkusers
mailing list