Hi, I am going through the environment setup for building KDELibs with Visual Studio .NET 2003 here http://www.kdelibs.com/wiki/index.php/Building_KDElibs_4_using_MS_Visual _Studio. I have been able to successfully build and run Qt4. Unfortunately I am stuck on the patching stage of building QtDBus. For some reason when I run the patch patch -p0 < windows-patch.diff I get an error about a file missing. So I decided to see what happened if I skip the QtDbus stage. When I try building the kdewin32 library I get the following error..... [ 79%] Building C object CMakeFiles/kdewin32.dir/src/time.obj time.c [ 83%] Building C object CMakeFiles/kdewin32.dir/src/uname.obj uname.c [ 87%] Building C object CMakeFiles/kdewin32.dir/src/unistd.obj unistd.c C:\KDEWin32\src\unistd.c(88) : warning C4133: 'function' : incompatible types - from '_stat64 *' to '__stat64 *' [ 91%] Building C object CMakeFiles/kdewin32.dir/src/win32_utils.obj win32_utils.c [ 95%] Building CXX object CMakeFiles/kdewin32.dir/src/win32_utils2.obj win32_utils2.cpp Linking CXX shared library kdewin32d.dll Creating library kdewin32d.lib and object kdewin32d.exp [ 95%] Built target kdewin32 Scanning dependencies of target test_time [100%] Building C object tests/CMakeFiles/test_time.dir/time.obj time.c C:\KDEWin32\tests\time.c(2) : fatal error C1083: Cannot open include file: 'sys/ time.h': No such file or directory NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2.NET\Vc7\bin\cl.exe' : return co de '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Any ideas or help would be very appreciated. Thanks. --Andrew Dickerson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20061101/c3dd5480/attachment.html