I've spent the last month and a half working on a QT project using the windows SDK, it's all working fine on my windows desktop, but now I want to cross-compile it onto Windows CE 5 (arm compiling on VS2008) I'm hitting some issues.

Following the instructions from http://doc.qt.nokia.com/4.5/qtce.html and http://www.qtcentre.org/wiki/index.p..._on_Windows_CE, I created a shadow build. After setting the "setcepaths" and running "qmake" and "nmake", I've hit the error;

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\ce\bin\x86_arm\cl.EXE"' : return code '0x2'

From a google search, the most obvious problem is the makefile not pointing to everything correctly, but it looks ok to me. Is there anything else this could be?

If anyone else needs any more detail, let me know.

Thanks in advance! This project has made me want to pull my hair out in a hundred different ways, but I cannot stand the fact that it has stopped working this fucking close to being finished, so any help is deeply appreciated!