Why do I get fatal errors when I complier PC simulator

Important: posts that do not use this template will be ignored or closed.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Read the

Delete this section if you read and applied the mentioned points.


I followed up PC simulator section and installed Java, Esclipse and MinGW64 in my computer, I tried to test PC simulator, the complier give me some fatal error:
…\lv_drivers\display\fbdev.c:17:10: fatal error: sys/mman.h: No such file or directory
#include <sys/mman.h>
#include <ioctl.h>
it means my system miss “mman.h” and “ioctl.h”
how can I get these files?

What MCU/Processor/Board and compiler are you using?

What do you want to achieve?

What have you tried so far?

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

On Windows it’s usually better to use Visual Studio or CodeBlocks. The Eclipse project requires some more work to use on Windows.