You can compile the facetrain code on windows, using MinGW and MSYS: 1) Install MinGW runtime (http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=11598&release_id=84152) 2) Install MSYS 1.0.10 (http://downloads.sourceforge.net/mingw/MSYS-1.0.10.exe?modtime=1079444447&big_mirror=1) 3) Download and untar the facetrain code 4) In the file backprop.c, add this include at the top: #include Then change "random()" to "rand()" and "srandom()" to "srand()" 5) Type make and it should compile!