From: Brendan M. <bre...@gm...> - 2007-05-19 03:17:04
|
Hi Cem, It could be this problem: Christoph John Says: > And a realy last note to qt4 and Visual Studio 2005 compiler, which is > not directly related to the port. Qt4 cannot be compiled with Visual > Studio SP1, be aware of it when testing. SP1 has a new feature called > compiler bug which leads to errors in template interpretation. Hotfix > "VS80sp1-KB930859-X86-ENU.exe" is needed to resolve this issue. On 18/05/07, Cem DEMiRKIR <cde...@gm...> wrote: > > 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 > > Sincerely > Cem DEMiRKIR > > 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_dialog_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 SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users > -- Cheers, Brendan |