Template:FAQ:Compiling 02b

From Net-SNMP Wiki
Jump to: navigation, search

If you are compiling the project within the MinGW or Cygwin environments, then these use the same configure mechanism as Unix-based systems. See the previous entry for more information.

If you are compiling the project from within Visual Studio, then this does not use the standard configure mechanism. Instead, there is a separate Configure script within the win32 directory. This can be used enable or disable various aspects of the build environment, such as support for encryption or IPv6.
Run Configure --help for more information

Note that this script does not include an equivalent of --with-mib-modules for extending the MIB information supported by the agent. Instead, this needs to be done by tweaking the build environment manually. See the file README.win32 for more details of this, and various other aspects of building the project on Windows systems.