Daniel Lacey wrote: > I tried to compile net-snmp as in section "Win32\build.bat script" and > using the Visual C++ application. > The BAT method gives me an error caused by: > > if (! (-d $ENV{MSVCDir})) { > print "\nPlease run VCVARS32.BAT first to set up the Visual Studio > build\n" . > "environment.\n\n"; > system("pause"); > exit; > }
Just remove that section of code, or change MSVCDir to VCINSTALLDIR. It's just a simple check to make sure the user ran vcvars32 or opened a proper MSVC command prompt. I will fix this for the next release. > When trying from Visual C++, I get errors about not being able to find > winsock.h... > It is in the PSDK under Server 2003 R2... > Is there something obvious I missed in setting up the PSDK for XP? > (I did read the docs, and setup VC++ paths to put the SDK before the > VC++ for exe, includes, etc.) It's strange that the PSDK is not included by default. I think I had the same problem with the full MSVC 2005. With MSVC and the downloaded PSDK, there are build command prompts under Start - Programs - Microsoft Platform SDK February 2003 that include the PSDK folder. Is there something similar in C++ Express? Alex ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders