[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: krita on win32/msvc
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2008-03-20 23:29:41
Message-ID: 47E2F365.6030405 () iidea ! pl
[Download RAW message or body]
Cyrille Berger said the following, On 2008-03-20 22:12:
> On Thursday 20 March 2008, Jarosław Staniek wrote:
>> Hello
>> I've patched fkis_types.h for msvc 2k5 sp1 (we needed explicit declarations
>> for classes used in the shared pointer templates).
>>
>> Now I have the following problem with KisNodeWSP (any ideas?):
>
> Well yes. I suspect some cyclic dependency of headers. kis_paint_device.h call
> kis_type.h .
> It's not clear to me, form which cpp file comes the error. But for the sake of
> clarity, I will take an example, lets take kis_image.cc, it tries to includes
> kis_types.h, then kis_types.h includes kis_paint_device.h, which tries to
> include kis_types.h to get the smart pointers, but it doesn't parse anything
> in kis_types.h due to the "#ifndef KISTYPES_H_" protection, so it return to
> kis_paint_device.h without the definition of the smart pointers. That would
> be my explanation of the error.
>
Just tried to add:
class KisNodeWSP;
[...]
instead of including kis_types.h in headers.
> Now you said that Krita was the last KDE application that doesn't build on
> windows.
s/the last KDE 4 application on my FIFO list... Kopete isn't there.
But don't worry - there are many brave hackers building the apps.
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
KDE Libraries for MS Windows (http://windows.kde.org)
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic