Dear all

I started to compile QT 4.5.0 for Win CE6 (I have an own SDK) with the VS 2008 compiler.

There was no mkspec folder for WinCE6 and VS2008, so I created one and copied the files from the wince500-vs2005 folder to the new one.
In qmake.conf I changed to my SDK and set the compiler version to
Qt Code:
  1. _MSC_VER=1500
To copy to clipboard, switch view to plain text mode 

Configuration (
Qt Code:
  1. -no-qt3support -no-opengl
To copy to clipboard, switch view to plain text mode 
) did well.

On qtemporaryfile.cpp I got the following error

Qt Code:
  1. qtemporaryfile.cpp
  2. io\qtemporaryfile.cpp(179) : error C2661: 'stat::stat' : no overloaded function
  3. takes 2 arguments
  4. io\qtemporaryfile.cpp(209) : error C2039: 'open' : is not a member of '`global n
  5. amespace''
  6. io\qtemporaryfile.cpp(209) : error C3861: 'open': identifier not found
  7. io\qtemporaryfile.cpp(230) : error C2039: '_mkdir' : is not a member of '`global
  8. namespace''
  9. io\qtemporaryfile.cpp(230) : error C3861: '_mkdir': identifier not found
  10. qfsfileengine.cpp
  11. io\qfsfileengine.cpp(220) : error C2039: '_close' : is not a member of '`global
  12. namespace''
  13. io\qfsfileengine.cpp(220) : error C3861: '_close': identifier not found
  14. io\qfsfileengine.cpp(364) : error C2039: 'lseek' : is not a member of '`global n
  15. amespace''
  16. io\qfsfileengine.cpp(364) : error C3861: 'lseek': identifier not found
  17. io\qfsfileengine.cpp(410) : error C2039: '_close' : is not a member of '`global
  18. namespace''
  19. io\qfsfileengine.cpp(410) : error C3861: '_close': identifier not found
  20. io\qfsfileengine.cpp(494) : error C2039: '_fstat' : is not a member of '`global
  21. namespace''
  22. io\qfsfileengine.cpp(494) : error C2039: '__fileno' : is not a member of '`globa
  23. l namespace''
  24. io\qfsfileengine.cpp(494) : error C3861: '_fstat': identifier not found
  25. io\qfsfileengine.cpp(494) : error C3861: '__fileno': identifier not found
  26. io\qfsfileengine.cpp(497) : error C2661: 'stat::stat' : no overloaded function t
  27. akes 2 arguments
  28. io\qfsfileengine.cpp(500) : error C2039: '_fstat' : is not a member of '`global
  29. namespace''
  30. io\qfsfileengine.cpp(500) : error C3861: '_fstat': identifier not found
  31. io\qfsfileengine.cpp(523) : error C2039: 'lseek' : is not a member of '`global n
  32. amespace''
  33. io\qfsfileengine.cpp(523) : error C3861: 'lseek': identifier not found
  34. io\qfsfileengine.cpp(561) : error C2039: 'lseek' : is not a member of '`global n
  35. amespace''
  36. io\qfsfileengine.cpp(561) : error C3861: 'lseek': identifier not found
  37. io\qfsfileengine.cpp(653) : error C2039: '_read' : is not a member of '`global n
  38. amespace''
  39. io\qfsfileengine.cpp(653) : error C3861: '_read': identifier not found
  40. io\qfsfileengine.cpp(765) : error C2039: '_write' : is not a member of '`global
  41. namespace''
  42. io\qfsfileengine.cpp(765) : error C3861: '_write': identifier not found
  43. qfsfileengine_win.cpp
  44. io\qfsfileengine_win.cpp(896) : error C2039: '__fileno' : is not a member of '`g
  45. lobal namespace''
  46. io\qfsfileengine_win.cpp(896) : error C3861: '__fileno': identifier not found
  47. Generating Code...
  48. NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 9.0\VC\ce\bin\
  49. x86_arm\cl.EXE"' : return code '0x2'
  50. Stop.
  51. NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 9.0\VC\BIN\nma
  52. ke.exe"' : return code '0x2'
  53. Stop.
  54. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  55. Stop.
To copy to clipboard, switch view to plain text mode 

As far as I figured out, there is a problem with the runtime library. But I wasn't able to fiind the reason to that error. Does anybody have an idea?

thanks a lot
Matthias