KDEWIN32 library

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Tue Feb 14 17:52:11 CET 2006


Paulo Jorge Guedes schrieb:
>> -----Original Message-----
>> From: Christian Ehrlicher [mailto:Ch.Ehrlicher at gmx.de]
>> Sent: terça-feira, 14 de Fevereiro de 2006 12:26
>> To: kde-buildsystem at kde.org
>> Subject: Re: KDEWIN32 library
>>
>> Paulo Jorge Guedes schrieb:
>>>> -----Original Message-----
>>>> From: Paulo Jorge Guedes [mailto:Paulo.Guedes at artelecom.pt]
>>>> Sent: terça-feira, 14 de Fevereiro de 2006 10:33
>>>> To: neundorf at kde.org; kde-buildsystem at kde.org
>>>> Subject: RE: KDEWIN32 library
>>>>
>>>> Hi Alex,
>>>>
>>>>> -----Original Message-----
>>>>> From: Alexander Neundorf [mailto:neundorf at kde.org]
>>>>> Sent: segunda-feira, 13 de Fevereiro de 2006 18:11
>>>>> To: kde-buildsystem at kde.org
>>>>> Subject: Re: KDEWIN32 library
>>>>>
>>>>>> -- Found Qt-Version 4.0.1
>>>>>> -- Building kdelibs...
>>>>>> CYGWIN
>>>>> Where does this output come from ? Do you run this actually under
>>>> cygwin
>>>>> or
>>>>> msvc ?
>>>>> If you run this under cygwin, it should fail with the error:
>>>>> "Support for Cygwin not yet implemented, please edit FindKDE4.cmake to
>>>>> enable
>>>>> it"
>>>> It comes from my head :)
>>>> I removed that line of code and replaced with that message.
>>>>
>>>> Now I'm trying to solve this error:
>>>>
>>>> Please set the following variables:
>>>> QT_QT3SUPPORT_LIBRARY (ADVANCED)
>>>> QT_QTCORE_LIBRARY (ADVANCED)
>>> I set them with ccmake and now I'm having the following errors:
>>>
>>> Scanning dependencies of target kdewin32
>>> Building CXX object CMakeFiles/kdewin32.dir/src/bootstrap.o
>>> In file included from d:/kde/trunk/kdelibs/win/include/msvc/stdio.h:24,
>>>                  from d:/kde/trunk/kdelibs/win/src/bootstrap.cpp:20:
>> You don't need the kdewin32-layer when compiling with cygwin because
>> cygwin provides all those functions. But why do you use cygwin at all?
> 
> I like to have cygwin to perform Unix commands on Windows.
I meant - why do you use cygwin for compiling :)

> I'm trying to use MinGW now and having this errors:
> 
> "Building C object CMakeFiles/kdewin32.dir/src/resource.obj"
> In file included from D:/kde/trunk/kdelibs/win/src/resource.c:23:
> D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h: In function `gettimeofday':
> D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:45: error: storage class specified for parameter `rlim_t'
> D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:48: error: syntax error before "rlim_t"
> D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:48: warning: no semicolon at end of struct or union
> D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:79: warning: structure defined inside parms
> D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:79: warning: empty declaration
> D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:81: error: syntax error before "__attribute__"
> mingw32-make[2]: *** [CMakeFiles/kdewin32.dir/src/resource.obj] Error 1
> mingw32-make[1]: *** [CMakeFiles/kdewin32.dir/all] Error 2
> mingw32-make: *** [all] Error 2
> 
> I'll try to fix them, thanks for the tips.
Looks like I ignored gcc in kdelibs/win/include/winposix_export.h...
Please try to define WINPOSIX_EXPORT & WINPOSIX_IMPORT to be empty (in
line 31):
#define WINPOSIX_EXPORT
#define WINPOSIX_IMPORT

I'll try to fix it a better way this evening.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060214/1fe3c727/attachment.pgp 


More information about the Kde-buildsystem mailing list