krita on win32/msvc

Jaroslaw Staniek js at iidea.pl
Fri Mar 21 00:29:41 CET 2008


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)


More information about the kimageshop mailing list