[vbox-dev] Windows OSE compile
mark.roddy at virtualcomputer.com
Mon Aug 1 08:39:27 PDT 2011
There is a conflict in the combining of the SDK/Visual Studio toolchain
with the WDK toolchain that presents itself, for example, with the
errors in intrin.h. These two sets of include files should basically
NEVER be combined, as therein lies madness, or at a minimum the editing
of standard include files. This is at least partially MSFTs fault for
not reconciling their mess of include files into one set that works
across their entire third-party exposed development interface, but one
also has to question the path vbox seems to have gone down as well. My
own suggestion is to abandon the VS/SDK toolchain entirely and stick
with the WDK toolchain for the entire windows build environment, as that
set of libraries and include files works from user mode down through
kernel mode, at the cost of not always current user mode windows UI
From: vbox-dev-bounces at virtualbox.org
[mailto:vbox-dev-bounces at virtualbox.org] On Behalf Of Perry Halbert
Sent: Monday, August 01, 2011 11:24 AM
To: vbox-dev at virtualbox.org
Subject: [vbox-dev] Windows OSE compile
Trying to compile the Windows OSE version seems to fail no matter which
version I try. At least back to 2.2.4 which should still have been in
the time frame of the posted instructions. I have read references that
I should edit intrin.h on Visual Studio 2005, but I find that hard to
believe. Is this true? and if so do you have a working copy of this
file or patch?
Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft
Corporation. All rights reserved.
Shell inheritance test: OK
Source path: OK
Checking for kBuild...
Found kBuild: E:/trunk/kBuild
Found kBuild binaries: E:/trunk/kBuild/bin/win.x86 Checking for
Windows 2003 DDK, build 3790 or later...
Found Windows 2003 DDK: E:/WINDDK/3790.1830 Checking for Visual C++...
Found Visual C++ v8 (or later): C:/PROGRA~1/MICROS~2/VC (C:/Program
Files/Microsoft Visual Studio 8/VC) Checking for Windows Platform SDK
Found Windows Platform SDK: C:/PROGRA~1/MI2578~1/Windows/v6.1
(C:/Program Files/Microsoft SDKs/Windows/v6.1) Checking for Midl.exe...
Found Midl.exe: C:/PROGRA~1/MI2578~1/Windows/v6.1/bin/Midl.exe
(C:/Program Files/Microsoft SDKs/Windows/v6.1/Bin/Midl.exe) Checking for
Direct X SDK...
Found Direct X SDK: C:/PROGRA~1/MI22C6~1 (C:/Program Files/Microsoft
DirectX SDK (October 2006)) Checking for MinGW GCC v3.3.x + Binutils +
Runtime + W32API...
Found MinGW (GCC v3.3.3): E:/MinGW
Found W32API: E:\MinGW
Checking for libSDL...
Found libSDL: E:/SDL-1.2.14-win32
Checking for libxml2...
Found libxml2: E:/libxml2-2.7.8.win32
Checking for libxslt...
Found libxslt: E:/libxslt-1.0.32.win32 Checking for openssl...
Found openssl: E:/OpenSSL-Win32
Checking for libcurl...
Found libcurl: E:/libcurl
Checking for Qt4...
Found Qt4 : E:/QT4
Checking for Python...
Found Python : E:\Python27
(I also have Gsoap-2.7 installed which works fine and reference in
Execute env.bat once before you start to build VBox:
C:\PROGRA~1\MICROS~2\VC\include\intrin.h(944) : error C2733: second C
linkage of overloaded function '_interlockedbittestandset' not allowed
C:\PROGRA~1\MICROS~2\VC\include\intrin.h(944) : see declaration
C:\PROGRA~1\MICROS~2\VC\include\intrin.h(945) : error C2733: second C
linkage of overloaded function '_interlockedbittestandreset' not allowed
C:\PROGRA~1\MICROS~2\VC\include\intrin.h(945) : see declaration
vbox-dev mailing list
vbox-dev at virtualbox.org
More information about the vbox-dev