Building Tor on Windows
What you will need:
1. Install the OpenSSL binaries to some directory on your hard drive.
(Example: C:\OpenSSL)
2. Extract the Libevent source.
(Example: C:\Libevent)
3. Extract the Tor source.
(Example: C:\tor-0.1.1.1-alpha)
4. Extract the ZLib source to the \contrib directory under wherever you extracted your Tor source.
(Example: C:\tor-0.1.1.1-alpha\contrib\zlib)
5. Put the Makefile wherever you extracted your Tor source
(Example: C:\tor-0.1.1.1-alpha)
6. Edit the Makefile to point to the appropriate OpenSSL and Libevent directories. The two lines you need
to edit have been marked with "#### EDIT ME ####"
7. Open a command prompt and CD to wherever you extracted Tor.
(Example: cd \tor-0.1.1.1-alpha)
8. Type "nmake" and hit Enter.
9. The compiled tor.exe and tor_resolve.exe will be placed in the current directory.
(Example: C:\tor-0.1.1.1-alpha)
Notes:
Example done on a Windows XP Pro machine with Visual Studio 7.0 and Tor 0.1.1.1-alpha. Also tested with the Windows Platform SDK.
Send problems or suggestions to Matt Edman
Updated: 7/9/2005