stat.h header file for WinCE 5.0 RRS feed

  • Question

  • Hi

    I am trying to port a piece of code to WinCE 5.0 platform. I am using Microsoft EVC++ 4.0 for this. I am getting following compilation error:

    main.c(47) : fatal error C1083: Cannot open include file: 'sys/stat.h': No such file or directory

    Is this header file not available for WinCE platform? Do I need to use any other VS version? Any suggested solutions for this?




    Wednesday, August 3, 2011 7:02 AM


  • Not all linux (POSIX) libraries are available in windows and even fewer are available in windows mobile. You will have to implement the functionality you need yourself or switch to a different library. The Boost math toolkit contains many statistical functions that could be useful: http://www.boost.org/doc/libs/1_47_0/libs/math/doc/sf_and_dist/html/index.html



    • Proposed as answer by Jesse Jiang Thursday, August 11, 2011 9:35 AM
    • Marked as answer by Jesse Jiang Tuesday, August 23, 2011 2:00 AM
    Wednesday, August 3, 2011 5:42 PM