warvair / peerblock

Automatically exported from code.google.com/p/peerblock
Other
0 stars 1 forks source link

stddef.h and wdm.h missing. #335

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi
What steps will reproduce the problem?
1.compiling sources

What is the expected output? What do you see instead?
Also using compile_all, same error message:
Impossible open file mentioned above. 
The issue here, is that they does not exists, into sources directory.

What version of PeerBlock are you using? On what operating system? 32- or
64-bit?
PeerBlock 1.0

Using Windows XP Professional 32-bit Edition, sp3
Operating system 32 bits
VS Studio 2008 professional edition

I had followed all the steps as you point to, into guide.
I had downloaded sources via TortoiseSVN app., installed MS Windows WDK,
created C:\peerblock_code directory,set PB_DDK_DIR environment variable.

Build>Configuration manager.
Release-Win32-All build options checked.

Starting build process....

error message throw up, as follow:
Error   1   error C2065: 'VER_SUITE_WH_SERVER' : undeclared 
identifier  c:\peerblock_code\src\peerblock\pb.cpp  76  peerblock

--------------------------------------------------------------------
pb.cpp (Code line involved)
else if ( osv.dwMajorVersion == 5 && osv.dwMinorVersion == 2 && osv.wSuiteMask 
== VER_SUITE_WH_SERVER )
        strOsName = _T("Windows Home Server");
--------------------------------------------------------------------

PS. Ignore whether there are any other bug, because the debugging process were 
crashed.

Any clue will be nice, thanks in advance.
Regards
jj

Original issue reported on code.google.com by akas...@gmail.com on 9 Jul 2010 at 1:06

GoogleCodeExporter commented 9 years ago
As I recall, this build error is caused by Visual Studio linking against an 
older version of the SDK - most likely the one that Visual Studio 2008 ships 
with.  You can either download a newer SDK and set Visual Studio to compile 
against that one, or comment-out those lines, or #define VER_SUITE_WH_SERVER as 
0x00008000.

Original comment by peerbloc...@gmail.com on 9 Jul 2010 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by XhmikosR on 8 Nov 2010 at 11:43