Nick - 2008-08-13

What seemed a straight forward installation is becoming quite a headache. I followed the exact torch installation instructions posted on http://torch5.sourceforge.net/manual/Install.html (Native Windows instructions). However, when I invoke the 'nmake' command, I get the following error when linking pixman:

Linking C shared library ..\..\png.dll
   Creating library png.lib and object png.exp
[ 45%] Built target png
Scanning dependencies of target pixman
[ 45%] Building C object 3rdparty/pixman-0.10.0/pixman/CMakeFiles/pixman.dir/pixman-access.c.obj
pixman-access.c
c:\program files\torch5.1\3rdparty\pixman-0.10.0\pixman\pixman.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX f
rmat
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

I couldn't find any help regarding this topic on the net, at least not when installing the torch application. Any help would be greatly appreciated,
Thank you,
Nick