[vtkusers] VGUI library build error

Charl P. Botha cpbotha at cpbotha.net
Wed Aug 8 11:03:52 EDT 2007


On 8/8/07, Wylie, Brian <bnwylie at sandia.gov> wrote:
> There's a thread on the Microsoft support page... It's a bug in the VS
> compiler...
>
> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=987536&SiteID=1
>
> I'm downloading (very slow) the SP1 patch to see if this fixes this
> problem... I'll let you know.

Just a tip: the VS 2005 SP1 update is nasty in that it will silently
ignore (i.e. not upgrade) any VS header files that you might have
touched.  Even if you've only opened them in the VS editor, that's
enough.

It took me a long while to figure out that that was the reason for the
very strange errors I was seeing during my WrapITK compiles.  A
complete uninstall of VS 2005, followed by a re-installation and then
SP1 upgrade fixed all problems.

Good luck,
Charl


>
>
>   Brian Wylie - Org 1424
>   Sandia National Laboratories
>   MS 0822 - Building 880/A1-J
>   (505)844-2238 FAX(505)845-0833
>        _______ __
>       /_  __(_) /_____ _____
>        / / / / __/ __ `/ __ \
>       / / / / /_/ /_/ / / / /
>      /_/ /_/\__/\__,_/_/ /_/
>             VTK Informatics Toolkit
>
> -----Original Message-----
> From: vtkusers-bounces+bnwylie=sandia.gov at vtk.org
> [mailto:vtkusers-bounces+bnwylie=sandia.gov at vtk.org] On Behalf Of Cem
> DEMiRKIR
> Sent: Friday, May 18, 2007 2:56 AM
> To: vtkusers at vtk.org
> Subject: [vtkusers] VGUI library build error
>
> Hi everyone
>     I've got compilation errors when I try to build vgui library using
> Qt4. I'd be grateful to anyone who can help resolve these errors
> produced in the build and compilation of vgui library with Qt4.1.4
>
> My system settings:
> ------------------------------
> XP SP2
> MSVS2005, VC++ 8
> VXL library version : updated with current CVS
>
> My buid output log :
> ------------------------------
> ------ Build started: Project: vgui, Configuration: Debug Win32 ------
> Compiling...
> moc_vgui_qt_menu.cxx
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(845) : error
> C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(830)
> : see declaration of 'QMultiMap<Key,T>::replace'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(849) : error
> C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(831)
> : see declaration of 'QMultiMap<Key,T>::insert'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
> moc_vgui_qt_dialog_impl.cxx
> c:\libraries\vxl\vxl\bin\core\vgui\../../../core/vgui/impl/qt4/vgui_qt_d
> ialog_impl.h(52)
> : fatal error C1083: Cannot open include file: 'q3hgroupbox.h': No such
> file or directory moc_vgui_qt_adaptor.cxx
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(845) : error
> C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(830)
> : see declaration of 'QMultiMap<Key,T>::replace'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(849) : error
> C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(831)
> : see declaration of 'QMultiMap<Key,T>::insert'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
> vgui_qt_menu.cxx
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(845) : error
> C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(830)
> : see declaration of 'QMultiMap<Key,T>::replace'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(849) : error
> C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(831)
> : see declaration of 'QMultiMap<Key,T>::insert'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
> vgui_qt_dialog_impl.cxx
> c:\libraries\vxl\vxl\core\vgui\impl\qt4\vgui_qt_dialog_impl.h(52) :
> fatal error C1083: Cannot open include file: 'q3hgroupbox.h': No such
> file or directory vgui_qt_adaptor.cxx
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(845) : error
> C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(830)
> : see declaration of 'QMultiMap<Key,T>::replace'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(849) : error
> C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(831)
> : see declaration of 'QMultiMap<Key,T>::insert'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
> vgui_qt_window.cxx
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(845) : error
> C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(830)
> : see declaration of 'QMultiMap<Key,T>::replace'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(849) : error
> C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(831)
> : see declaration of 'QMultiMap<Key,T>::insert'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
> ..\..\..\core\vgui\impl\qt4\vgui_qt_window.cxx(11) : fatal error
> C1083: Cannot open include file: 'q3vgroupbox.h': No such file or
> directory vgui_qt.cxx
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(845) : error
> C2244: 'QMultiMap<Key,T>::replace' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(830)
> : see declaration of 'QMultiMap<Key,T>::replace'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::replace(const Key
> &,const T &)'
> c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(849) : error
> C2244: 'QMultiMap<Key,T>::insert' : unable to match function definition
> to an existing declaration
>         c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qmap.h(831)
> : see declaration of 'QMultiMap<Key,T>::insert'
>         definition
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
>         existing declarations
>         'QMap<aKey,aT>::iterator QMultiMap<Key,T>::insert(const Key
> &,const T &)'
> c:\libraries\vxl\vxl\core\vgui\impl\qt4\vgui_qt_dialog_impl.h(52) :
> fatal error C1083: Cannot open include file: 'q3hgroupbox.h': No such
> file or directory Generating Code...
> Build log was saved at
> "file://c:\Libraries\VXL\vxl\bin\core\vgui\vgui.dir\Debug\BuildLog.htm"
> vgui - 16 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped
> ========== _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to
> subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list