

It is the install step that requires the VisStudio DOS prompt being in admin mode.ġ4. Click Windows Start, rightclick on "Visual Studio 2008 圆4 Win64 Command Prompt" and choose "Run as Administrator"Ĭd to C:\Users\Me\httpd-2.4.9\srclib\pcre\build This will generate the makefiles that work with the nmake command from a DOS prompt.ġ3. Press Configure again, then press Generate Optionally, as seemed useful to me, tick both _UTF and _UNICODE_PROPERTIES near the endġ2. In the list of configure option flags it has generated, to get apache-httpd to compile with pcre" (If you wanted Vis Studio project files instead, you would have hit Configure and scrolled down to choose "Visual StuWin64")ġ1.

Hit Configure and scroll down to choose "NMake Makefiles",Īnd leave Use default native compilers selected Paste into the first 2 fields of the CMake dialog:Ĭ:/Users/Me/httpd-2.4.9/srclib/pcre/buildġ0. The DOS prompt that appears is now set with Vis Studio 9.0 (VS 2008)ĩ. Run the Visual Studio 2008 圆4 Win64 Command Prompt from the Windows Start Menu. In our case, the cmake-gui needs to be run from a DOS prompt that is set up for Visual Studio. Create a build subfolder in pcre C:\Users\Me\httpd-2.4.9\srclib\pcre\buildħ. They advise that there should preferrably be no spaces in the file path to pcre:Ħ.

Unzip pcre-8.35 into httpd\srclib and make sure to rename it to as "pcre", since that's what apache-httpd's makefile expects. After installing CMake, put cmake\bin on path:ĥ. Section "BUILDING PCRE ON WINDOWS WITH CMAKE"Ĥ.
