Search code examples
c++cvisual-studio-2008buildlibevent

How to build libevent version 2.0.10 with Visual Studio 2008


Does anyone have clear instructions on building libevent-2.0.10 with Visual Studio 2008?


Solution

  • Use the Visual Studio Command Prompt, then

    cd \where\you\put\it
    nmake -f makefile.nmake
    

    Or if you prefer the IDE, then File + New + Project, Visual C++, General node, pick the Makefile Project template. Name = libevent-2.0.10-stable, Location = parent directory (\where\you\put). OK. Next. Build command = nmake -f makefile.nmake, rest blank.