GTK
Get the following binary + dev packages from GTK:
Also get the following binary packages:
Download:
Please note that sometimes the links are outdated or simply wrong (dev link pointing to bin package, etc.), so you might have to check them one by one.
OpenSSL
Go to Shining Light Productions, and download the latest OpenSSL installer (the 7 MB file, not the redistributable or light version). Install it into a temporary folder on your desktop, for example. Choose to install binaries into that folder, too. You will need the bin, exp, include and lib subfolders in the next step. After 3), you can safely uninstall OpenSSL.
Extract all GTK files and copy the OpenSSL files to a suitable place, such as a folder in your Documents:
After all, you should only have the bin, etc, include, lib, manifest, share and src folders in deps. The file hierarchy of the archives is proper except one: in 32 bit zlib123-dll.zip copy zlib1.dll into bin instead of the root where it resides originally.
ActivePerl
Download and install ActivePerl 5.10.
ActivePython
Download and install ActivePython 2.6.
ActiveTcl
Download and install ActiveTcl 8.5 (only x86 is available).
I won't provide information about how to set up an environmental variable. Use absolute paths for all of them (such as C:\Users\<user>\Documents\deps\bin).
Install VS (VS Trial)
Download and install the SDK. Make sure to install the SDK before installing VS Express, otherwise you may face problems with IntelliSense.
Download and install VS Express (SQL Server is not needed to build freakschat). Please note that you won't be able to build 64 bit executables with Express.
Open freakschat.sln with VS.
Select the desired solution configuration and platform (release/debug, 32/64 bit respectively).
F6 (Build).
You shouldn't need this, this is rather just a note if I want to recreate the solution for some reason.
VS Project
Create a new console application. Name it freakschat. Uncheck precompiled headers. In the solution's source folder (freakschat-$version\src) create three folders: common, fe-gtk, pixmaps. Copy the .c and .h files from the freakschat source into these, and then add them to your project. Also add vs-config.h, vs-dirent.h and vs-quirks.h to src.
Includes
In VS, in the project properties page (right click on src), under Configuration Properties / C/C++ / General / Additional Include Directories, enter:
Under C/C++ / Preprocessor / Preprocessor Definitions, enter 'WIN32'.
Under C/C++ / Advanced / Compile As, set to 'Compile As C Code (/TC)'.
In Linker / General / Additional Library Directories enter '$DEPS\lib'.
Libraries
In Linker / Input / Additional Dependencies, enter:
In Linker / System / SubSystem, set to 'Windows (/SUBSYSTEM:WINDOWS)'.
Download the GetText Win32 binaries and its dependencies, more precisely:
Extract
to freakschat/po.
Run share/misc/compile-po.bat.
The resulting files will be placed in po/locale.