[Kmymoney-devel] kdewin kmymoney V4.6.1 Vs 4.6.4
Chris
DeveloperChris at rebel.com.au
Mon Mar 3 14:00:28 UTC 2014
So far I have been unable to build 4.6.4
After struggling to get kdelibs rebuilt because the upstream repo changed :(
I now get errors in 4.6.4 Perhaps I should switch back to 4.6.1?
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:308: warning:
'MyMoneyMoney::MyMoneyMoney(const MyMoneyMoney&)' redeclared without
dllimport attribute after being referenced with dll linkage
Again at...
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:313:
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:318:
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:347:
These warnings appear to be a bug in mingw as the other inline methods
before line #308 don't have the same warnings and I see no substantive
difference from the lines that do cause the warnings.
The real issues are multitudes of the following "undefined reference" errors
each for a different method....
r:\mingw\bin\g++.exe -D_WIN32_WINNT=0x0501 -DWINVER=0x0501
-D_WIN32_IE=0x0501 -DUNICODE -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
-fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common
-Woverloaded-virtual -fno-threadsafe-statics -fexceptions -UQT_NO_EXCEPTIONS
-fexceptions -UQT_NO_EXCEPTIONS -fno-common -O2 -g -DNDEBUG -DQT_NO_DEBUG
-mwindows -Wl,--whole-archive CMakeFiles\pivottabletest.dir/objects.a
-Wl,--no-whole-archive -o ..\..\bin\pivottabletest.exe
-Wl,--out-implib,..\..\bin\libpivottabletest.dll.a
-Wl,--major-image-version,0,--minor-image-version,0 -Lr:\lib -LR:\lib
-LR:\build\extragear\kmymoney-4.6.1-20110918\work\mingw4-RelWithDebInfo-gitHEAD\bin
R:\lib\libqtmain.a ..\..\bin\libreports.a ..\..\bin\libsettings.a
..\..\bin\libkmymoney_base.a ..\..\bin\libkmymoney_common.a
..\..\bin\libdialogs.a ..\..\bin\libwidgets.a ..\..\bin\libkmm_kdchart.dll.a
..\..\bin\libkmm_storage.a ..\..\bin\libkmm_config.a r:\\lib\libkdeui.dll.a
r:\\lib\libkdecore.dll.a R:\lib\libQtGui4.a R:\lib\libQtXml4.a
R:\lib\libQtCore4.a R:\lib\libQtTest4.a r:\\lib\libkholidays.dll.a
R:\lib\libgmp.dll.a R:\lib\libalkimia.dll.a ..\..\bin\libkmm_widgets.dll.a
..\..\bin\libkmm_mymoney.dll.a R:\lib\libQtXml4.a r:\\lib\libkdeui.dll.a
R:\lib\libQtGui4.a R:\lib\libQtSvg4.a r:\\lib\libkdecore.dll.a
R:\lib\libQtCore4.a R:\lib\libQtDBus4.a R:\lib\libkdewin.dll.a -luser32
-lshell32 -lws2_32 -lnetapi32 -luserenv ..\..\bin\libkmymoney_base.a
-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid
-lcomdlg32 -ladvapi32
..\..\bin\libkmymoney_base.a(kmymoneyedit.cpp.obj): In function
`_static_initialization_and_destruction_0':
R:/build/extragear/kmymoney-4.6.1-20110918/work/mingw4-RelWithDebInfo-gitHEAD/kmymoney/widgets/kmymoneyedit.moc:55:
undefined reference to `_imp___ZN16QDoubleValidator16staticMetaObjectE'
R:/build/extragear/kmymoney-4.6.1-20110918/work/mingw4-RelWithDebInfo-gitHEAD/kmymoney/widgets/kmymoneyedit.moc:165:
undefined reference to `_imp___ZN5KHBox16staticMetaObjectE'
..\..\bin\libkmymoney_base.a(kmymoneyedit.cpp.obj): In function
`ZN12kMyMoneyEdit11qt_metacastEPKc':
It seems to be linking against the correct libraries so I can't work out why
the references are undefined.
DC
On 1/03/2014 10:10 PM, Chris wrote:
>
> On 1/03/2014 9:02 PM, Cristian Oneț wrote:
>> În ziua de Sîm 01 Mar 2014, la 12:30:29, Chris a scris:
>>> I would like to switch to the current 4.6.4 which is in the git repo (I
>>> prefer git) and am wondering why the KDEWin version is so far behind. Am I
>>> better sticking to this branch or can I use the 4.6.4 branch?
>> KDE Win version is not behind at all. The build script does contain 4.6.1 in
>> it's name (btw I don't know why - kde-win guys should be asked) but it is able
>> to build multiple targets (open it and take a look, also see the --target
>> emerge option).
>
> I have updated the python script to build 4.6.4 from the sourceforge
> archive by changing the target. Am building it now. Wish me luck :)
>
> Oh well first snag. 4.6.4 is not at sourceforge
>
>> As Thomas said stick with head (gitHEAD target in the win build script).
>
> I'll need to give this a try...
>
>>
>>
>> _______________________________________________
>> KMyMoney-devel mailing list
>> KMyMoney-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140304/cf342729/attachment.html>
More information about the KMyMoney-devel
mailing list