building kde3support on win32 cannot link
Hello, I am compiling kde3support on win32 in MSVC 8 2005. When linking skde3support linker shows the following errors: k3shortcutmenu.obj : error LNK2019: unresolved external symbol __declspec(dllimport) private: class QMenu __thiscall QMenu::operator=(class QMenu const ) (__imp_??4QMenu@@[EMAIL PROTECTED]@@Z) referenced in function public: class K3ShortcutMenu __thiscall K3ShortcutMenu::operator=(class K3ShortcutMenu const ) (??4K3ShortcutMenu@@[EMAIL PROTECTED]@@Z) k3dockwidget.obj : error LNK2001: unresolved external symbol __declspec(dllimport) private: class QMenu __thiscall QMenu::operator=(class QMenu const ) (__imp_??4QMenu@@[EMAIL PROTECTED]@@Z) k3popupmenu.obj : error LNK2001: unresolved external symbol __declspec(dllimport) private: class QMenu __thiscall QMenu::operator=(class QMenu const ) (__imp_??4QMenu@@[EMAIL PROTECTED]@@Z) k3shortcutmenu.obj : error LNK2019: unresolved external symbol __declspec(dllimport) private: __thiscall QMenu::QMenu(class QMenu const ) (__imp_??0QMenu@@[EMAIL PROTECTED]@@Z) referenced in function public: __thiscall K3ShortcutMenu::K3ShortcutMenu(class K3ShortcutMenu const ) (??0K3ShortcutMenu@@[EMAIL PROTECTED]@@Z) k3dockwidget.obj : error LNK2001: unresolved external symbol __declspec(dllimport) private: __thiscall QMenu::QMenu(class QMenu const ) (__imp_??0QMenu@@[EMAIL PROTECTED]@@Z) k3popupmenu.obj : error LNK2001: unresolved external symbol __declspec(dllimport) private: __thiscall QMenu::QMenu(class QMenu const ) (__imp_??0QMenu@@[EMAIL PROTECTED]@@Z) C:\kdelibs4\kdelibs\bin\Release\kde3support.dll : fatal error LNK1120: 2 unresolved externals What is wrong? What must I do to correct the error? Regards, Rikardo Tinauer -- ___ Rikardo Tinauer EBA, Agencija za elektronsko poslovanje d.o.o. Teslova ulica 30 SI-1000 Ljubljana e-mail: [EMAIL PROTECTED] internet: www.eba.si GSM: +386 031 382 379 TEL: +386 (0)1 477 66 01 __ ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Re: building kde3support on win32 cannot link
Hello, I am compiling kde3support on win32 in MSVC 8 2005. When linking skde3support linker shows the following errors: snip What is wrong? What must I do to correct the error? Imho it works fine for me (don't know excatly since I don't recompile this lib very often). - do you use Qt4.1.1? - is your svn up to date? - did you try to recompile the two files the error come from? - did you try to resolve the problem (since you want to compile kdelibs4 I assume that you want to help us with kde4) It looks like your builddir == srcdir: C:\kdelibs4\kdelibs\bin\Release\kde3support.dll This isn't a good idea (and I don't know excatly if cmake supports this). Christian btw: what has this problem todo with the buildsystem? -- Feel free mit GMX FreeMail! Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Re: building kde3support on win32 cannot link
Von: Rikardo Tinauer [EMAIL PROTECTED] Hello, * I am using the commercial version of Qt for win32, version 4.1.1. * I believe my svn is up to date, I downloaded files 2 days ago. * Yes I tried to recompile the files I tried reslovnig the problem. I found out that my Qt is built so it doesn't include the symbols for the operator and copy constructor. Even if I tried compiling Qt that way it would not change anything, since there is no implementation for these two methods, so symbols wouldn't be exported anyways. But the main problem is that I don't know why the kde3support classes seek these symbols, I couldn't find any reference in the code for these symbols? I certantly want to help, since I believe you guys do the good job, making such an excellent desktop. I'we been using KDE for many years now. I also believe enabling the kde4libs on win32 can gain momentum to opensource and linux development. Thx for the informations. I'll try to recompile kde3support in the next few days and take a look what's going wrong there. Christian btw: You'll need some patches for your Qt to compile kdelibs4 - see http://websvn.kde.org/trunk/qt-copy/patches/ - at least 0112 is needed afaik. -- Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer! Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem