dcopidl.bat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I think I found a little error in dcopidl.bat. It takes a parameter 'srcdir' which is copied into %LIBDIR% in line 9 by the statement set LIBDIR=%2 This does not work well, currently, because often (and by default) the 'srcdir'-parameter contains spaces, and this statement only copies until the first space. So I'dd suggest to change line 9 to: set LIBDIR="%2" in order to copy the complete path. By the way, when trying to build kdebase with MSVC 2005 and dcopidl.bat fixed as suggested above, dcopidl2cpp.exe crashes with the following message: Debug Error! Program: C:\Program Files\kdelibs\bin\dcopidl2cpp.exe Module: 4.1.2 File: d:\source\qt\src\corelib\global\qglobal.cpp Line: 2082 ASSERT: "de.tagName() == "DCOP-IDL"" in file D:\source'\kde-svn\kdelibs4_snapshot\dcop\dcopidl2cpp\main.cpp, line 106 (Press Retry to debug the application) I really have no idea how to even investigate this problem... But if someone needs my help in reproducing the error, I'm open to help. Kind regards, Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEfggmrlDGjB4EDkARAhxYAJ98QFSr/+WK1kkGPacCFI0qVOd0igCdEp8C hUelH5Q8cN23b2tUi0Kx/iU= =G3px -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
linking kjsembed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, it seems to me that kjsembed should also be linked to QtUiTools.lib. Can someone change this, if I'm correct? Regards, Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEPRxGrlDGjB4EDkARAmrdAKCa/Y91wVqvn4WHu/4mtUmNYEw/OwCbBCBB jtnkXbp6ranN5IVhWtF0Uxs= =zX8d -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Unresolved symbol: QTreeWidgetItem::itemFromIndex(QModelIndex const&) const
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, when linking kdeui with MSVC 2005 the following linker error occurs: ktreewidgetsearchline.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QTreeWidgetItem * __thiscall QTreeWidget::itemFromIndex(class QModelIndex const &)const " ([EMAIL PROTECTED]@@QBEPAVQTreeWidgetItem@@ABVQModelIndex@@@Z) referenced in function "private: void __thiscall KTreeWidgetSearchLine::rowsInserted(class QModelIndex const&,int,int)const " ([EMAIL PROTECTED]@@ABEXABVQModelIndex@@[EMAIL PROTECTED]) I can't find any Qt patches related to QTreeWidgetItem or whatsoever. Again: ideas, anyone? Regards, Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEPCryrlDGjB4EDkARAgClAJ9hl6cu2IaJGa7q6lnkx/1rrJWEoACePmdt Li0A7KQ2bfydPjR0IZxgopQ= =tZBE -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Re: QString::i18n
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How to fix it, then? I'm not too familiar with C++, nor with the MSVC. Regards, Maarten Th. Mulders Thiago Macieira wrote: > Maarten Th. Mulders wrote: >> I searched in Qt sources but the headers do not have any "i18n". Ideas, >> anyone? > > It's in klocale.cpp. > > I suspect this is brokenness of the Microsoft compiler. It doesn't > understand templates very well... > - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEO6fyrlDGjB4EDkARArG5AJ44oiEXDstal6wJp0JIGWqX/iieAgCeMkr6 ths1Rj1Hnf93jbPKhL3Mkvs= =rJS7 -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
QString::i18n
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, building a fresh CVS-checkout stops at linking kdeui. Problem is an unresolved external symbol "__declspec(dllimport) class QString __cdecl i18n(char const *,int const &,int const &)". See below for full error list: ktoolbar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18n(char const *,int const &,int const &)" ([EMAIL PROTECTED]@@YA?AVQString@@[EMAIL PROTECTED]) referenced in function "private: class KMenu * __thiscall KToolBar::contextMenu(void)" ([EMAIL PROTECTED]@@AAEPAVKMenu@@XZ) kdatepicker.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18n(char const *,int const &)" ([EMAIL PROTECTED]@@YA?AVQString@@[EMAIL PROTECTED]) referenced in function "private: void __thiscall KDatePicker::fillWeeksCombo(class QDate const &)" ([EMAIL PROTECTED]@@AAEXABVQDate@@@Z) kkeydialog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18nc(char const *,char const *,class QString const &)" ([EMAIL PROTECTED]YA?AVQString@@PBD0ABV0@@Z) referenced in function "protected: void __thiscall KKeyChooser::updateButtons(void)" ([EMAIL PROTECTED]@@IAEXXZ) ksconfig.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18nc(char const *,char const *,class QString const &)" ([EMAIL PROTECTED]YA?AVQString@@PBD0ABV0@@Z) kkeydialog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18n(char const *,class QChar const &)" ([EMAIL PROTECTED]YA?AVQString@@PBDABVQChar@@@Z) referenced in function "protected: void __thiscall KKeyChooser::setLocalShortcut(class KShortcut const &)" ([EMAIL PROTECTED]@@IAEXABVKShortcut@@@Z) kcharselect.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18nc(char const *,char const *,class QString const &,class QChar const &,class QString const &,unsigned short const &,class QChar const &)" ([EMAIL PROTECTED]@@VQChar@@[EMAIL PROTECTED]@@@YA?AVQString@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "public: virtual class QVariant __thiscall KCharSelectItemModel::data(class QModelIndex const &,int)const " ([EMAIL PROTECTED]@@UBE?AVQVariant@@ABVQModelIndex@@[EMAIL PROTECTED]) kaboutdialog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18n(char const *,class QChar const &,class QString const &,class QString const &)" ([EMAIL PROTECTED]@@VQString@@V2@@@YA?AVQString@@PBDABVQChar@@[EMAIL PROTECTED]@Z) referenced in function "public: void __thiscall KAboutContainerBase::setProduct(class QString const &,class QString const &,class QString const &,class QString const &)" ([EMAIL PROTECTED]@@QAEXABVQString@@[EMAIL PROTECTED]) kaboutdialog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18n(char const *,class QString const &,class QString const &,class QLatin1String const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]YA?AVQString@@[EMAIL PROTECTED]@@@Z) referenced in function "public: void __thiscall KAboutContainerBase::setProduct(class QString const &,class QString const &,class QString const &,class QString const &)" ([EMAIL PROTECTED]@@QAEXABVQString@@[EMAIL PROTECTED]) k3listviewsearchline.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class QString __cdecl i18nc(char const *,char const *,int const &)" ([EMAIL PROTECTED]@@YA?AVQString@@[EMAIL PROTECTED]) referenced in function "protected: virtual void __thiscall K3ListViewSearchLine::contextMenuEvent(class QContextMenuEvent *)" ([EMAIL PROTECTED]@@MAEXPAVQContextMenuEvent@@@Z) ktreewidgetsearchline.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QTreeWidgetItem * __thiscall QTreeWidget::itemFromIndex(class QModelIndex const &)const " ([EMAIL PROTECTED]@@QBEPAVQTreeWidgetItem@@ABVQModelIndex@@@Z) referenced in function "private: void __thiscall KTreeWidgetSearchLine::rowsInserted(class QModelIndex const&,int,int)const " ([EMAIL PROTECTED]@@ABEXABVQModelIndex@@[EMAIL PROTECTED]) I searched in Qt sources but the headers do not have any "i18n". Ideas, anyone? Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEO54arlDGjB4EDkARApGAAKC4jlH+CxW/zrhJe3lZUaoh5yT+TgCdHDNK Mwew2sdQqMoSdaKQv/CX1jg= =tSU6 -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
kdeui/kglobalaccel_win.h
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, again, during kdeui/kglobalaccel.cpp build it stops because it can't find kaccelbase.h. kdeui/kglobalaccel.cpp includes kdecore/kglobalaccel_emb.h. So does kdeui try to build against QtEmbedded under Windows? That would seem quite strange to me... Kind regards, Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMvcHrlDGjB4EDkARAh6iAJ0doT6lk3huqGkasm9EKa/FAvnipgCguLNs RQRj/GHidEmkVFLl2H0QjgI= =6faS -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
kdeui/kglobalaccel_win.h
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, when building, kglobalaccel.h can't find kdeui/kglobalaccel_win.h. Indeed, this file does not exist. KDE 3.4 has it, but it uses Qt3. How to solve this problem? Kind regards, Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMu0crlDGjB4EDkARAlb4AKCs2QoXNpZdxPJJi3ojuTrIt5YdZgCfRJ8P Oqr8Xp+ah5acXxC/jIgsXpk= =lzaj -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Troubles building Qt 4.1.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, as advised by David Faure, I applied the patches from trunk/qt-copy/patches to my version of Qt (4.1.1). I had applied the MSVC-patches before. Now, Qt doesn't (re)build, it exits with a linker error when linking all files in src/gui/kernel. error LNK2001: unresolved external symbol "public: virtual __thiscall QActionWidgetFactory::~QActionWidgetFactory(void)" (??1QActionWidgetFactory@@[EMAIL PROTECTED]) and error LNK2001: unresolved external symbol "public: virtual void __thiscall QActionWidgetFactory::destroyToolBarWidget(class QWidget *)" ([EMAIL PROTECTED]@@UAEXPAVQWidget@@@Z) Appearently, those two functions can't be found for some reason. Does anybody know how to fix this? Or, if not, where to ask for support? Kind regards, Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMmTOrlDGjB4EDkARAlKrAJ9bFGO0uwqkMCKh50aqs9RnppzNMACfTYHb KSm1vjaRf4q2XWjf+NN24Vg= =Nxdf -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Build errors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, rebuild Qt 4.1.1 with the patches you mentioned. Building dcop.exe now fails with: Linking CXX executable ..\..\bin\dcop.exe dcop.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall QUrl::hasQuery(void)const " ([EMAIL PROTECTED]@@QBE_NXZ) referenced in function "public: class QString __thiscall KUrl::encodedPathAndQuery(int,bool)const " ([EMAIL PROTECTED]@@QBE?AVQString@@[EMAIL PROTECTED]) ..\..\bin\dcop.exe : fatal error LNK1120: 1 unresolved externals What did I do wrong? Regards, Maarten Th. Mulders On Wednesday 29 March 2006, David Faure wrote: > > You need to apply the patches from trunk/qt-copy/patches to your version of > Qt, for now. > > -- > David Faure, faure at kde.org, sponsored by Trolltech to work on KDE, > Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEKysJrlDGjB4EDkARAvLUAJ0apq3dVxdaHqok193Zogquhl3kWgCfR+NG D1xxQ040Rmm2Un4cCvGQOB8= =n39t -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Re: Build errors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, again, more build errors. How come some people report problemless builds? ;) Anyway, while building kdeui: Building CXX object kdecore/CMakeFiles/kdecore.dir/kacceleratormanager.obj kacceleratormanager.cpp D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(224) : error C2504: 'QActionWidgetFactory' : base class undefined D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(560) : error C2061: syntax error : identifier 'QToolBar' D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(879) : error C2061: syntax error : identifier 'QToolBar' D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(946) : error C2504: 'QActionWidgetFactory' : base class undefined D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(1015) : error C2061: syntax error : identifier 'QToolBar' D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(1031) : error C2504: 'QActionWidgetFactory' : base class undefined D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(1128) : error C2061: syntax error : identifier 'QToolBar' D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(1244) : error C2504: 'QActionWidgetFactory' : base class undefined D:\source\kde-svn\kdelibs\kdeui\kactionclasses.h(1263) : error C2061: syntax error : identifier 'QToolBar' D:\source\kde-svn\kdelibs\kdecore\kacceleratormanager.cpp(408) : warning C4018:'<' : signed/unsigned mismatch D:\source\kde-svn\kdelibs\kdecore\kacceleratormanager.cpp(783) : warning C4018:'<' : signed/unsigned mismatch D:\source\kde-svn\kdelibs\kdecore\kacceleratormanager.cpp(810) : warning C4018:'<' : signed/unsigned mismatch Ideas, anyone? Thanks in advance, Maarten Th. Mulders - -- The digital signature in this email can be checked with * Thunderbird: the Enigmail-extension (http://enigmail.mozdev.org/) * Outlook (Express): the GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEKpNvrlDGjB4EDkARAof+AKCX9kXc3FdkGGknzL4maNQR/he31ACdFk4F FMBJ4mnMdR2QyHYznjSKzbg= =Qxm+ -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Different Linkage
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, quite a big chance I am doing something wrong again, but here is my question: when building KDElibs with Visual C++ 2005 Express all goes well until building kdecore, especially kapplication.cpp. There, the following error occurs: D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(362) : error C2375: 'ki18n' : redefinition; different linkage D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(205) : see declaration of 'ki18n' D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(376) : error C2375: 'ki18nc' : redefinition; different linkage D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(206) : see declaration of 'ki18nc' D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(388) : error C2375: 'ki18np' : redefinition; different linkage D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(207) : see declaration of 'ki18np' D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(404) : error C2375: 'ki18ncp' : redefinition; different linkage D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(208) : see declaration of 'ki18ncp' D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(418) : error C2228: left of '.toString' must have class/struct/union D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(418) : error C3861: 'ki18n': identifier not found D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(455) : error C2228: left of '.toString' must have class/struct/union D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(455) : error C3861: 'ki18nc': identifier not found D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(487) : error C2228: left of '.subs' must have class/struct/union D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(487) : error C2228: left of '.toString' must have class/struct/union D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(487) : error C3861: 'ki18np': identifier not found D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(519) : error C2228: left of '.subs' must have class/struct/union D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(519) : error C2228: left of '.toString' must have class/struct/union D:\source\kde-svn\kdelibs\kdecore\klocalizedstring.h(519) : error C3861: 'ki18ncp': identifier not found Ideas, anyone? Thanks in advance, Maarten Th. Mulders - -- De digitale handtekening voor deze mail is te controleren met * Thunderbird: de Enigmail-extensie (http://enigmail.mozdev.org/) * Outlook (Express): de GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEKn0qrlDGjB4EDkARAkf5AJ0UMbKntPTvQLvkglc6v/QoO+fjNACdEcGp dG6yfEsZzFKWOOC9BsbtQtU= =d/+p -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Re: Build errors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 KDELibs\win builds fine for me, too. No problem, the files are installed in C:\Program Files\kdewin32. So far, so good. CMake finds the KDELibs, according to this message: - -- Found KDEWIN32: C:/Program Files/kdewin32/lib/kdewin32.lib AWoot, I suddenly had a bright moment. The include paths for this project contained both the standard-msvc headers and the kde-msvc-headers... in that order. Moving the kde-msvc-headers up solves the problem. Thanks, anyway, Maarten Christian Ehrlicher wrote: > Maarten Th. Mulders schrieb: >> Hi all, >> >> after cmake ran without any problems (thanks, Alex), I try to build the >> project using Visual C++ Express 2005. >> The first error is solved quite easily, MSVC doesn't recognize >> KDEWIN32_EXPORT but with the little patch attached, that problem is solved. >> Unfortunately, dozens of errors last and I don't know how to fix them. >> Maybe my build-configuration is wrong, maybe only one #include-statement >> is forgotten? > kdelibs/win builds fine. Did you forget to build and install kdelibs/win > *before* configuring kdelibs (use Release or RelWithDebInfo!). Or did > you forgot to set KDEWIN32_INCLUDE_DIR/KDEWIN32_LIB_DIR within CMakeSetup? > dcop also compiles fine here - but I don't know if khtml/kjs will (I > currently stopped win32 builds until kdelibs4 doesn't change that much). > > Christian - -- De digitale handtekening voor deze mail is te controleren met * Thunderbird: de Enigmail-extensie (http://enigmail.mozdev.org/) * Outlook (Express): de GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEKik3rlDGjB4EDkARAuSeAJ9aee5FjpVvo8oGGZoc4LYFCL9lzwCbBIlD dOzEvhU+KozdD59QRHJJhTQ= =akmJ -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Build errors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, after cmake ran without any problems (thanks, Alex), I try to build the project using Visual C++ Express 2005. The first error is solved quite easily, MSVC doesn't recognize KDEWIN32_EXPORT but with the little patch attached, that problem is solved. Unfortunately, dozens of errors last and I don't know how to fix them. Maybe my build-configuration is wrong, maybe only one #include-statement is forgotten? I will only take the first header-file as an example. C:\Program Files\kdewin32\include\msvc\sys/wait.h(49) : error C2061: syntax error : identifier 'wait' C:\Program Files\kdewin32\include\msvc\sys/wait.h(49) : error C2059: syntax error : ';' C:\Program Files\kdewin32\include\msvc\sys/wait.h(49) : error C2059: syntax error : 'type' C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2061: syntax error : identifier 'waitpid' C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2059: syntax error : ';' C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2143: syntax error : missing ')' before ',' C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2059: syntax error : 'type' C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2059: syntax error : ')' C:\Program Files\kdewin32\include\msvc\sys/wait.h(51) : error C2061: syntax error : identifier 'wait3' C:\Program Files\kdewin32\include\msvc\sys/wait.h(51) : error C2059: syntax error : ';' C:\Program Files\kdewin32\include\msvc\sys/wait.h(51) : error C2059: syntax error : 'type' C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2061: syntax error : identifier 'wait4' C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2059: syntax error : ';' C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2146: syntax error : missing ')' before identifier '__pid' C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2061: syntax error : identifier '__pid' C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2059: syntax error : ',' C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2059: syntax error : ')' After this, the errors continue with C:\Program Files\kdewin32\include\msvc\sys\unistd.h, Then another serie of errors comes up: d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1021) : warning C4013: 'snprintf' undefined; assuming extern returning int d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1260) : error C2036: 'iovec *' : unknown size d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1261) : error C2037: left of 'iov_len' specifies undefined struct/union 'iovec' d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1262) : error C2037: left of 'iov_base' specifies undefined struct/union 'iovec' d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1292) : error C2036: 'iovec *' : unknown size d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1293) : error C2037: left of 'iov_len' specifies undefined struct/union 'iovec' d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1294) : error C2037: left of 'iov_base' specifies undefined struct/union 'iovec' Well, I can continue for lines and lines but I hope the problem is clear now. Ideas, anyone? Thanks in advance, Maarten Th. Mulders - -- De digitale handtekening voor deze mail is te controleren met * Thunderbird: de Enigmail-extensie (http://enigmail.mozdev.org/) * Outlook (Express): de GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEKblqrlDGjB4EDkARAhesAKCA3iDSjB1kNOU+1usvTduX6CaiDQCbBtJc mUzc1XwxTK3axNnevSw5uJY= =R19c -END PGP SIGNATURE- --- kdelibs/win/include/msvc/sys/time.h 2006-03-28 23:05:06.0 +0200 +++ kdelibs/win/include/msvc/sys/time.h 2006-03-28 23:04:52.0 +0200 @@ -25,6 +25,7 @@ #include #include "fixwinh.h" +#include "winposix_export.h" struct itimerval { struct timeval it_interval; /**< reset value*/ ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
CMake doesn't find libxml2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, maybe my Googling-skills aren't developed good enough yet, but here is my question. I checked out KDElibs from CVS, but when running cmake -G"NMake Makefiles" ..\kdelibs -DGNUWIN32_DIR=D:/source/gnuwin32 I get the following error: CMake Error: Could NOT find LibXml2 - -- Found LibXslt: D:/source/gnuwin32/lib/libxslt.lib Could NOT find GIF CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: LIBXML2_LIBRARIES (ADVANCED) - -- Configuring done I have, of course, installed libxml2 in d:\source\gnuwin32. Headers are in d:\source\gnuwin32\include\libxml and the library files are d:\source\gnuwin32\lib\libxml2.lib and d:\source\gnuwin32\lib\libxml2_a.lib. I guess there might be an error in FindLibXml2.cmake, but I am not sure. I would like to track it down but can't find it. Anybody who can help me? Kind regards, Maarten Th. Mulders Rotterdam, the Netherlands - -- De digitale handtekening voor deze mail is te controleren met * Thunderbird: de Enigmail-extensie (http://enigmail.mozdev.org/) * Outlook (Express): de GnuPG-Plugin (http://www3.gdata.de/gpg/index.html). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEKZRjrlDGjB4EDkARAqmEAJ9SZjbsaUM5cXL6bNJcrvycCmCF5wCfY5+2 q6OoTZ6iFPdMG0UUKZUAeDs= =4BtU -END PGP SIGNATURE- ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem