FW: KDELib Qt4 Question

Peter Kümmel syntheticpp at gmx.net
Wed Nov 1 21:22:39 CET 2006


Dickerson Andrew-NBR876 wrote:
> 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.


You will become problems when compiling kdelibs not using msvc 2005.


> 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.  
>  


The files of source snapshot (October 13.) are already patched.


> 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'
>  

I've no problems when using Visual C++ 2005

>  
> Any ideas or help would be very appreciated.  Thanks.
>  
> --Andrew Dickerson
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem


-- 
Peter Kümmel



More information about the Kde-buildsystem mailing list