mingw status

Paulo Moura Guedes moura at kdewebdev.org
Sat Feb 18 17:07:35 CET 2006


On Friday 17 February 2006 18:24, Peter Kümmel wrote:
> Paulo Jorge Guedes wrote:
> > Hi,
> >
> > So far everything until kjs compiled, provided WINVER is set to 0x0501
> > in windef.h:
> >
> > dcop
> > libltdl
> > kdefx
> > kdecore
> > kdeui
> >
> > The build stops at kjs with the following error:
> >
> > In file included from C:/MinGW/include/windows.h:48,
> >                  from C:/MinGW/include/winsock2.h:22,
> >                  from D:/KDE4/include/mingw/unistd.h:26,
> >                  from d:/kde/trunk/kdelibs/config.h:336,
> >                  from grammar.y:23:
> > C:/MinGW/include/windef.h:242: error: expected unqualified-id before
> > numeric constant
>
> Investigating this bug I've found that we had the same with msvc.
> The problem is the including of unistd.h in config.h.
> I've commited the solution. Hope this helps.

Thanks, I will try on monday.

> I've tried to use mingw, but not even finding pcre was successful.

I had the same problem but installing qt 4.1 and using my own mingw solved the 
problem, don't know why though.

Paulo


More information about the Kde-buildsystem mailing list