Folks-

I have a general question with specific problem location(s).  I am
sttempting to build the *additions only* on Windows 7, 32 bit. I have
gotten farily far into the build, but inside the build I have run into
modestly significant problems.  I am attempting to build using the
latest DDK, and SDK for Windows.  I am using VisualStudio 2010.  I
have installed the other software tools needed.  When I perfomr a
runconfig.bat all utilities are found, and the env.bat is created.  I
run the env.bat, and type kmk.  Then things have gotten modestly out
of hand.  Some examples are;

1. Early on in the build I encountered a conflict with the intrin.h in
visual studio and wdm.h in the DDK with a multiple definition of the
intrinsic function _InterlockedCompareExchange64.  In order to
overcome this I separated the funciton into its own header, and I
removed the references to wdm.h, and include the other header instead.
 This certainly seems like overkill, and yet necessary.
2. In the kmk of the folder
<vboxroot>/src/VBox/Additions/common/VBoxServices there is a built in
kmake definition setting the value of _WIN32_WINNT to 0x0400 (and
inside the code to 0x0501).  These values are 16 bit values, and the
code sets the variable NTDDI_VERSION to _WIN32_WINNT under certain
conditions, and then it compares this variable to the likes of
_NTTDI_NVIDIA, etc., and the later is a 32 bit integer, and when
NTDDI_VERSION needs to be greater than the 32 bit number and the 32
bit number has a higher bit set, then the comparison throws an error.

These examples are very indicative of this problem.  I am currently at
a step of having conflicts between the intrinsic.h and wdm.h again,
albeit they are different definitions in the intrinsc.h as well as in
wdm.h.

My modestly general question is;  Is there a command line setting or
something simple I am overlooking to avoid these conflicts?

Thanks-

-Steve Farris

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to