[mingw] errors

William A. Hoffman billlist at nycap.rr.com
Thu Mar 2 19:28:56 CET 2006


At 01:08 PM 3/2/2006, Peter Kümmel wrote:
>> Looked at sys/stat.h and S_IFSOCK is indeed not declared (S_IFDIR, etc,
>> are).
>> 
>
>Is you kdewin32 installation up to date?
>S_IFSOCK is defined in win/include/wingw/sys/stat.h:

This means that you have to remove the CMakeCache.txt file and re-run cmake,
so that the try-compile stuff is re-run, and you have to make sure that CMAke
finds kdwwin32 the first time around.  CMake caches the results of try-compiles,
so that it does not have to run them every time, so once a bad answer is in the
cache, you have to remove the cache, or that cache entry.

There has been some talk of trying to re-work this so that kdewin32 is built
as part of kdelibs, and creating a way for cmake to tell what things are provided
by this package without doing a try-compile.   Perhaps a standard header that
has all the stuff provided, that can be parsed by cmake...


-Bill



More information about the Kde-buildsystem mailing list