Error in generating simulator project with command scons –target=vs2017

The project compiled is example\multimedia\lvgl\lvgl_v8_media, copied outside the SDK without modifications.

Using scons --board=<board_name> compiles normally.

The SDK version is V2.4.

Both msvc_setup.bat files in the SDK root directory and the simulator directory have been modified to point to my own paths:

Error message:

Add the following at the specified location in the file mem_section.h. Thank you for your feedback.

After adding as shown in the image, the compilation succeeded. Thank you very much!