<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <font face="Verdana">Well I have to agree, but this still does not
      remedy my current situation as the compile fails if VBox does not
      see the SDK.  So back to square one and still wondering what the
      actual work around is.<br>
      <br>
      <br>
    </font><br>
    On 08/01/2011 10:39 AM, Mark Roddy wrote:
    <blockquote
cite="mid:9EBF13DE68AA914088DA1EFCE4CA43F702DAD4CC@BE23.exg4.exghost.com"
      type="cite">
      <pre wrap="">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
related support.

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:vbox-dev-bounces@virtualbox.org">vbox-dev-bounces@virtualbox.org</a>
[<a class="moz-txt-link-freetext" href="mailto:vbox-dev-bounces@virtualbox.org">mailto:vbox-dev-bounces@virtualbox.org</a>] On Behalf Of Perry Halbert
Sent: Monday, August 01, 2011 11:24 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
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
(recent)...
  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
LocalConfig.kmk)

Execute env.bat once before you start to build VBox:

   env.bat
   kmk


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
of '_interlockedbittestandset'
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
of '_interlockedbittestandreset'
kmk: ***
[E:/trunk/out/win.x86/release/obj/RuntimeBldProg/r3/alloc-ef.obj] Error
2

_______________________________________________
vbox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a class="moz-txt-link-freetext" href="http://vbox.innotek.de/mailman/listinfo/vbox-dev">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a>

</pre>
    </blockquote>
  </body>
</html>