On 23 April 2010 20:03, Bart Van Assche <[email protected]> wrote: > Regarding the interactive build: HAVE_WIN32_PLATFORM_SDK has to be > disabled manually before starting to build with MSVC 6 on a system where > the platform SDK has not been installed (see also README.win32).
I'm really not convinced about this statement. Firstly, the file README.win32 states that the token HAVE_WIN32_PLATFORM_SDK needs to be explicitly *enabled* when using the platform SDK (rather than disabled when not) Secondly, the netsnmpmibssdk.dsp project file actually includes the compilation flag \D HAVE_WIN32_PLATFORM_SDK (while the netsnmpmibs.dsp project file does not) So I would expect that this definition would be set automatically, depending on the choice of the win32 or win32sdk workspace. (Unless I've completely misunderstood the contents of these project files? Which is not impossible!) But that implies to me that the README.win32 instructions are wrong, and it shouldn't be necessary to touch the config header file. Thirdly, both the README.win32 file and all the build environment files talk about/work with the token HAVE_WIN32_PLATFORM_SDK. But the patch you posted used the token HAVE_PLATFORM_SDK (*without* the _WIN32_ element) I wasn't sure whether this was a typo in your patch, whether there is some subtle interaction between these two definitions, or whether these are two completely distinct tokens (indicating something completely different)? > Regarding the batch build: you should already have noticed that Platform SDK > support can be enabled and disabled via menu option 2 of win32/build.bat. Yes. And (one of) the effects of this is to add or remove the compilation flag /D HAVE_WIN32_PLATFORM_SDK from the build environment. That's why I was asking about your use of HAVE_PLATFORM_SDK I won't be able to work on this from home this weekend, but I should be able to get things sorted out on Monday. I just need to make sure that I'm not making some major invalid assumptions about the Windows build setup. Dave ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
