In an effort to gain more ‘nerd points’ (discussion we had at Gran Canaria Airport) and because I was bored, I decided to test something to see how far I would get.
The following was the experiment:
See if I could compile KDE with Visual Studio 2010 beta 1 on Windows 7 RC x86-64.
I can say now: ‘you won’t get far’
.
After installing Win7 I decided to install VS2010, installation worked out fine (except for the warning during the install: SQL Server 2008 is not compatible with Windows 7, install SP1 after this installation) But then the startup went horrible: the screen did not get rendered, everything stayed black…
This caused me to file a bug with Microsoft and work with NMake & cmd.exe.
The emerge scripts worked like a charm and installed the binary dependencies, but then there was compilation:
CMake x86 does not work with x64 compiler tools, the ‘test compiler’ application causes all kind of undefined reference errors.
I switched to x86 compilation because of this, and there came a curious error when compiling dbus: Microsoft is finally conforming to standards with the new Visual Studio, so this hack from dbus:
/* Make use of the fact that the WSAE* error codes don't
* overlap with errno E* codes. Wrapper functions store
* the return value from WSAGetLastError() in errno.
*/
#if defined(EPROTONOSUPPORT) || \
defined(EAFNOSUPPORT) || \
defined(EWOULDBLOCK)
#error This does not look like Win32 and the Microsoft C library
#endif
does not work anymore (the Microsoft C library is suddenly not the Microsoft C library anymore…).
I decided to give up for now and just installed VS2008 with the Win 7 Platform SDK, it is now compiling Qt and then I can put my marble desktop background back in a few hours